httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rasmus Lerdorf <ras...@lerdorf.on.ca>
Subject Re: r->connection->aborted no longer set?
Date Fri, 24 Jul 1998 17:10:38 GMT
> 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