www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dean Gaudet <dgau...@arctic.org>
Subject Re: apache-api/2283: Few changes to http_main.c and http_main.h
Date Thu, 28 May 1998 23:50:01 GMT
The following reply was made to PR apache-api/2283; it has been noted by GNATS.

From: Dean Gaudet <dgaudet@arctic.org>
To: marc@hyperreal.org
Cc: bob@yipp.com, apbugs@apache.org
Subject: Re: apache-api/2283: Few changes to http_main.c and http_main.h
Date: Thu, 28 May 1998 16:42:09 -0700 (PDT)

 For example, if you're exposing timeout() because you want to install a
 sigpipe/alrm handler and then restore timeout() later then you should use
 the result from signal() itself... as in:
 
     void (*old_handler)(int) = signal(SIGALRM, SIG_IGN);
 
     ...
 
     signal(SIGALRM, old_handler);
 
 And pconf is already available to modules.  It is the pool passed to the
 init() method in the module_rec.
 
 Dean
 

Mime
View raw message