On Sun, May 08, 2005 at 02:28:55PM +0200, yuppie wrote:
| | On Windows, this 15 months old change in ZConfig sets the default | hostname for inet_address to 'localhost':
| | http://svn.zope.org/ZConfig/?rev=376&view=rev
| | I have no idea why this was changed, the checkin message is not very | helpful: "fix the default hostname for address datatypes for Windows"
| Any comments?
Search the list archives for a discussion of why that was changed. IIRC it is due to quirks in Windows' network libraries -- a test was failing because the system API to query the identity of the socket did something funny with 'localhost' vs. '127.0.0.1' and that caused the comparison in the test to fail even though there was no actual defect.
OTOH, after a quick look at the referenced defects and archived emails I may be remembering something else.
Anyways, hopefully my memory will help you. If not, well that's all I can offer.
I couldn't find anything in the archives, but Tim's Entry #5 in
might explain the change in ZConfig. It seems to work around an issue with connect() on Windows.
But I still believe it was wrong to change the 'inet_address' datatype in ZConfig.
_______________________________________________ Zope3-dev mailing list Zope3firstname.lastname@example.org Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com