66390Re: The mod_perl protocol handler sample code have some problem!
- Aug 15, 2005On 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
> Here is a rewrite that doesn't spin. Notice that I'veWorks great on Win32, without modification - thanks!
> 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.
- << Previous post in topic