[Catalyst] Self restarting test server for Win32!
Kiefer, Sascha
sk at intertivity.com
Tue Nov 1 20:27:13 CET 2005
Hi,
Tested a little bit, and it actually looks good on my machine (WinXP Home,
AS Perl v5.8.7),
but maybe it helps to check the returnvalues of bind and listen. It may that
the new server is
started before the old server process is terminated. That may result in
difficulties (...but should
actually result in zero-returnvalue of accept...)
Regards,
--esskar
> -----Original Message-----
> From: catalyst-bounces at lists.rawmode.org
> [mailto:catalyst-bounces at lists.rawmode.org] On Behalf Of Will Hawes
> Sent: Montag, 31. Oktober 2005 16:37
> To: The elegant MVC web framework
> Subject: Re: [Catalyst] Self restarting test server for Win32!
> On another note, I've been testing this patch a bit more
> today and I'm getting some unexpected results. The server
> restarts and is functional the first time I modify a file. On
> the second modification, the server restarts but seems not to
> bind correctly to port 3000. Port 3000 is totally non
> responsive unless I close the command window and open a new one.
>
> It's as though sockets are not released properly by Perl when
> you kill perl.exe or a parent process. I don't know why the
> restart should work once and then fail and I haven't worked
> out what to do about it yet.
More information about the Catalyst
mailing list