|
|||||||||||
|
Re: "Graceful Restart" patch
From: Alexei Kosut <akosut(at)organic.com>
Date: Sun Jun 23 1996 - 16:34:49 EDT
> > 1) My patch to fix inetd CGI requests. No one's seen fit yet to
We probably will dump it for the next release, but for now, we still support inetd. Theoretically. Hmm... that bug is probably the same as the CGI one. Maybe we'd best go for a more general fix (which is to not call note_cleanups_for_file() from spawn_child() for inetd requests), rather than the mod_cgi-specific one I posted earlier. Try the following patch (untested): Index: alloc.c RCS file: /export/home/cvs/apache/src/alloc.c,v retrieving revision 1.6 diff -c -r1.6 alloc.c *** alloc.c 1996/06/17 20:43:45 1.6 --- alloc.c 1996/06/23 20:31:49
#include <stdarg.h>
+ extern int standalone;
/***************************************************************** *
! if (*pipe_out) note_cleanups_for_file (p, *pipe_out); }
if (pipe_in) {
*pipe_out = fdopen (out_fds[0], "r"); #endif ! if (*pipe_out && standalone) note_cleanups_for_file (p, *pipe_out); } if (pipe_in) {
! if (*pipe_in) note_cleanups_for_file (p, *pipe_in); }
unblock_alarms();
*pipe_in = fdopen (in_fds[1], "w"); #endif
! if (*pipe_in && standalone) note_cleanups_for_file (p, *pipe_in);
} unblock_alarms();
This archive was generated by hypermail 2.1.8 : Thu Aug 24 2006 - 14:43:43 EDT |
||||||||||
|
|||||||||||