fielding 97/03/10 19:41:44
Modified: src CHANGES http_core.c
Log:
Clear memory allocated for listeners.
Submitted by: Randy Terbush
Reviewed by: Roy Fielding, Dean Gaudet, Chuck Murcko
Revision Changes Path
1.195 +2 -0 apache/src/CHANGES
Index: CHANGES
===================================================================
RCS file: /export/home/cvs/apache/src/CHANGES,v
retrieving revision 1.194
retrieving revision 1.195
diff -C3 -r1.194 -r1.195
*** CHANGES 1997/03/11 03:24:24 1.194
--- CHANGES 1997/03/11 03:41:41 1.195
***************
*** 50,55 ****
--- 50,57 ----
*) Use proper MAXHOSTNAMELEN symbol for limiting length of server name.
[Dean Gaudet]
+ *) Clear memory allocated for listeners. [Randy Terbush]
+
Changes with Apache 1.2b7
*) Port to UXP/DS(V20) [Toshiaki Nomura <[EMAIL PROTECTED]>]
1.74 +1 -1 apache/src/http_core.c
Index: http_core.c
===================================================================
RCS file: /export/home/cvs/apache/src/http_core.c,v
retrieving revision 1.73
retrieving revision 1.74
diff -C3 -r1.73 -r1.74
*** http_core.c 1997/03/07 16:42:07 1.73
--- http_core.c 1997/03/11 03:41:42 1.74
***************
*** 1121,1127 ****
} else
ports = ips;
! new=palloc(cmd->pool, sizeof(listen_rec));
new->local_addr.sin_family = AF_INET;
if (ports == ips) /* no address */
new->local_addr.sin_addr.s_addr = htonl(INADDR_ANY);
--- 1121,1127 ----
} else
ports = ips;
! new=pcalloc(cmd->pool, sizeof(listen_rec));
new->local_addr.sin_family = AF_INET;
if (ports == ips) /* no address */
new->local_addr.sin_addr.s_addr = htonl(INADDR_ANY);