On Sunday 30 March 2003 05:37 pm, Ian Bicking wrote:
> On Sun, 2003-03-30 at 18:48, Chuck Esterbrook wrote:
> > On a hunch, I changed the port from its original value of 80000 to
> > 9999 and now it works. I then reversed the situation: I installed
> > fresh copies of Apache and WebwareCVS, got them working, then
> > pumped up the port # to 70001 and got this:
> >
> > KeyError: ('127.0.0.1', 4465)
> >
> > Looks like a classic case of 16bit vs 32bit. I thought those days
> > were over! :)
>
> That's just the way it is, there's 65k ports, no more. It should
> never work, though confusingly it seems to be just cutting off the
> high bits. I suppose there should be an assert somewhere to make sure
> you don't try anything too large.
>
> Ian
Port 80000 worked for almost 3 years and stopped working under the new
ThreadedAppServer.py just ten days ago. That belies "there's 65k ports,
no more".
I'm guessing that a library used by the new code is arbitrarily chopping
things off. It's not the end of the world, but it's unfortunate that
some libraries still "exist in a 16-bit world".
--
Chuck
http://ChuckEsterbrook.com
-------------------------------------------------------
This SF.net email is sponsored by:
The Definitive IT and Networking Event. Be There!
NetWorld+Interop Las Vegas 2003 -- Register today!
http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en
_______________________________________________
Webware-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-devel