httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dean Gaudet <dgau...@arctic.org>
Subject AW: [BUG]: "kill -HUP results in server crash in 1.2b7" on Solaris 2.x (fwd)
Date Thu, 20 Mar 1997 08:09:58 GMT
This showstopper done with.

Dean

---------- Forwarded message ----------
Date: Thu, 20 Mar 1997 08:17:41 +0100
From: "Meier, Erich (Config eG)" <b4727@dresdner-bank.de>
To: Dean Gaudet <dgaudet@arctic.org>
Subject: AW: [BUG]: "kill -HUP results in server crash in 1.2b7" on Solaris 2.x

Dean,

your patch actually seems to work. I have SIGHUP'ed apache a few times 
and it reconfigured well.

Thanks,
Erich


----------
Von:  Dean Gaudet[SMTP:dgaudet@arctic.org]
Gesendet: Sonntag, 16. März 1997 00:26
An:  Erich.Meier@informatik.uni-erlangen.de
Betreff:   Re: [BUG]: "kill -HUP results in server crash in 1.2b7" on 
Solaris 2.x

Could you try the patch below and tell me if it corrects your 
problem?

Thanks
Dean

Index: http_core.c
===================================================================
RCS file: /export/home/cvs/apache/src/http_core.c,v
retrieving revision 1.73
retrieving revision 1.74
diff -c -3 -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);





Mime
View raw message