cpan Test-TCP 1.17

latest releases: 2.232012, 0.1.11, 0.5...
11 years ago

[Changes from MITHALDU (Christian Walde)]

  • fix port checking on Win32 by performing it in another process

  • On Win32 fork is emulating by creating another thread in the same process.
    This leads to a possible bug/race condition when a server tries to open a
    port and listen on it, while in the same process a client tries to connect
    to the same port. This manifests by the accept call of the server failing
    with an error of "Bad file descriptor".

This is easily fixed by having another process perform the port checking,
since that will not interfere with the internals.

Don't miss a new Test-TCP release

NewReleases is sending notifications on new releases.