From: robertc <> Date: Thu, 18 Dec 2003 08:16:01 +0000 (+0000) Subject: Summary: Bugfix #842 DNS resolver can't handle long hostnames. X-Git-Tag: SQUID_3_0_PRE4~1149 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=40aa40557c405c9833086f18ade7f3c184f8e8be;p=thirdparty%2Fsquid.git Summary: Bugfix #842 DNS resolver can't handle long hostnames. Keywords: Extend the RFC1035_MAXHOSTNAMESZ define to 250. --- diff --git a/include/rfc1035.h b/include/rfc1035.h index 9c5f5c065e..4a7010088c 100644 --- a/include/rfc1035.h +++ b/include/rfc1035.h @@ -1,5 +1,5 @@ /* - * $Id: rfc1035.h,v 1.9 2003/01/23 00:36:47 robertc Exp $ + * $Id: rfc1035.h,v 1.10 2003/12/18 01:16:01 robertc Exp $ * * AUTHOR: Duane Wessels * @@ -46,7 +46,7 @@ #endif /* rfc1035 - DNS */ -#define RFC1035_MAXHOSTNAMESZ 128 +#define RFC1035_MAXHOSTNAMESZ 250 typedef struct _rfc1035_rr rfc1035_rr; struct _rfc1035_rr { char name[RFC1035_MAXHOSTNAMESZ];