Gazelle icon indicating copy to clipboard operation
Gazelle copied to clipboard

Pass listen => 1 to Plack::Test::test_psgi

Open ilmari opened this issue 8 years ago • 0 comments

This gets passed on to Test::TCP which asks the kernel for a free listening socket, avoiding the race conditions inherent in trying to find a free one manually.

No need to bump the Plack::Test version dependency, since older versions will just ignore the parameter and keep working in the racy fashion.

ilmari avatar Nov 01 '16 13:11 ilmari