httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dean Gaudet <dgau...@arctic.org>
Subject Re: r->connection->aborted no longer set?
Date Fri, 24 Jul 1998 17:10:49 GMT
Is this -X or running normally?

If running normally, try disabling OPTIMIZE_TIMEOUTS in httpd.h.

Otherwise, set a break point on alarm() and signal() ... is your php stuff
maybe fooling with the alarms and signals?

Dean

On Fri, 24 Jul 1998, Rasmus Lerdorf wrote:

> > is timeout() actually getting called?
> 
> No, timeout isn't getting called.  The relevant part of my mod_php3.c stub
> is:
> 
>     /* Assume output will be HTML.  Individual scripts may change this
>        further down the line */
>     r->content_type = "text/html";
> 
>     /* Init timeout */
>     hard_timeout("send", r);
> 
>     php3_save_umask();
>     chdir_file(r->filename);
>     add_common_vars(r);
>     add_cgi_vars(r);
>     apache_php3_module_main(r, fd, display_source_mode, preprocessed);
> 
>     /* Done, restore umask, turn off timeout, close file and return */
>     php3_restore_umask();
>     kill_timeout(r);
> #if WIN32|WINNT
>     close(fd);
> #else
>     pclosef(r->pool, fd);
> #endif
>     return OK;
> 
> 
> The apache_php3_module_main() function is the entry point to PHP.
> 
> -Rasmus
> 
> 


Mime
View raw message