On Fri, 12 Aug 2005, Stas Bekman wrote:
OK, I wrote a test case that reproduces the problem.
If you run:
perl Makefile.PL
make test
things work, but if you do:
t/TEST -start
t/TEST -run
the process starts spinning in the getline() call, as $sock->recv doesn't
fail.
[ ... ]
Here is a rewrite that doesn't spin. Notice that I've
dropped the $c-aborted check, I don't know if it's needed,
since recv() should have caught that anyway. But please
restore it if needed.
Works great on Win32, without modification - thanks!
--
best regards,
randy