--------------------- PatchSet 7092 Date: 2005/10/10 21:04:36 Author: tolsty Branch: nt-2_5 Tag: (none) Log: No sys/param.h on Windows, so MAXHOSTNAMELEN and hence SQUIDHOSTNAMELEN are 128, which is too small. Try http://www.public-organization-capital-of-the-world.which-establishes-world-records-welcomes-all-inhabitants.of-the-planet-and-invites-them-to-visit-our-ancient-city.yours-faithfully-chairman-of-government-anatolij-kosjanchuk.epak.infocom.lviv.ua/ to check :) Value of 256 is taken from FreeBSD's 5.4 sys/param.h Members: port/win32/include/squid-mswin.h:1.1.2.32->1.1.2.33 Index: squid/port/win32/include/squid-mswin.h =================================================================== RCS file: /cvsroot/squid-sf//squid/port/win32/include/Attic/squid-mswin.h,v retrieving revision 1.1.2.32 retrieving revision 1.1.2.33 diff -u -r1.1.2.32 -r1.1.2.33 --- squid/port/win32/include/squid-mswin.h 2 Oct 2005 14:15:28 -0000 1.1.2.32 +++ squid/port/win32/include/squid-mswin.h 10 Oct 2005 21:04:36 -0000 1.1.2.33 @@ -1,5 +1,5 @@ /* - * $Id: squid-mswin.h,v 1.1.2.32 2005/10/02 14:15:28 serassio Exp $ + * $Id: squid-mswin.h,v 1.1.2.33 2005/10/10 21:04:36 tolsty Exp $ * * AUTHOR: Guido Serassio & Andrey Shorin * @@ -41,6 +41,9 @@ #if defined(_MSC_VER) /* Microsoft C Compiler ONLY */ +/* No param.h on Windows */ +#define MAXHOSTNAMELEN 256 + typedef char int8_t; typedef unsigned char u_char; typedef unsigned char uint8_t;