]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Summary: Bugfix #842 DNS resolver can't handle long hostnames.
authorrobertc <>
Thu, 18 Dec 2003 08:16:01 +0000 (08:16 +0000)
committerrobertc <>
Thu, 18 Dec 2003 08:16:01 +0000 (08:16 +0000)
Keywords:

Extend the RFC1035_MAXHOSTNAMESZ define to 250.

include/rfc1035.h

index 9c5f5c065e908cedcbd7ea15a993e828d55055ff..4a7010088c9c43b19d3e281d0debc4616dbe92d9 100644 (file)
@@ -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];