Browse Source

Add the new request_time sapi struct entry to all the sapis. Some of these

may have ways of getting the request time without the extra syscall, but
for now let's just make sure we don't crash and people will eventually
fill these in where applicable.
PHP-5.1
Rasmus Lerdorf 22 years ago
parent
commit
fdaa130f3a
  1. 1
      sapi/aolserver/aolserver.c
  2. 1
      sapi/apache_hooks/mod_php5.c
  3. 1
      sapi/caudium/caudium.c
  4. 1
      sapi/cgi/cgi_main.c
  5. 1
      sapi/cli/php_cli.c
  6. 1
      sapi/continuity/capi.c
  7. 1
      sapi/embed/php_embed.c
  8. 3
      sapi/isapi/php5isapi.c
  9. 1
      sapi/milter/php_milter.c
  10. 1
      sapi/nsapi/nsapi.c
  11. 1
      sapi/phttpd/phttpd.c
  12. 1
      sapi/pi3web/pi3web_sapi.c
  13. 1
      sapi/roxen/roxen.c
  14. 1
      sapi/thttpd/thttpd.c
  15. 1
      sapi/tux/php_tux.c
  16. 1
      sapi/webjames/webjames.c

1
sapi/aolserver/aolserver.c

@ -385,6 +385,7 @@ static sapi_module_struct aolserver_sapi_module = {
php_ns_sapi_register_variables,
NULL, /* Log message */
NULL, /* Get request time */
STANDARD_SAPI_MODULE_PROPERTIES
};

1
sapi/apache_hooks/mod_php5.c

@ -529,6 +529,7 @@ static sapi_module_struct apache_sapi_module = {
sapi_apache_register_server_variables, /* register server variables */
php_apache_log_message, /* Log message */
NULL, /* Get request time */
NULL, /* php.ini path override */

1
sapi/caudium/caudium.c

@ -550,6 +550,7 @@ static sapi_module_struct caudium_sapi_module = {
php_caudium_sapi_read_cookies, /* read cookies */
sapi_caudium_register_variables, /* register server variables */
NULL, /* Log message */
NULL, /* Get request time */
STANDARD_SAPI_MODULE_PROPERTIES
};

1
sapi/cgi/cgi_main.c

@ -539,6 +539,7 @@ static sapi_module_struct cgi_sapi_module = {
sapi_cgi_register_variables, /* register server variables */
sapi_cgi_log_message, /* Log message */
NULL, /* Get request time */
STANDARD_SAPI_MODULE_PROPERTIES
};

1
sapi/cli/php_cli.c

@ -342,6 +342,7 @@ static sapi_module_struct cli_sapi_module = {
sapi_cli_register_variables, /* register server variables */
sapi_cli_log_message, /* Log message */
NULL, /* Get request time */
STANDARD_SAPI_MODULE_PROPERTIES
};

1
sapi/continuity/capi.c

@ -378,6 +378,7 @@ sapi_module_struct capi_sapi_module = {
sapi_capi_register_server_variables, /* register server variables */
capi_log_message, /* Log message */
NULL, /* Get request time */
NULL, /* Block interruptions */
NULL, /* Unblock interruptions */

1
sapi/embed/php_embed.c

@ -125,6 +125,7 @@ sapi_module_struct php_embed_module = {
php_embed_register_variables, /* register server variables */
php_embed_log_message, /* Log message */
NULL, /* Get request time */
STANDARD_SAPI_MODULE_PROPERTIES
};

3
sapi/isapi/php5isapi.c

@ -669,7 +669,8 @@ static sapi_module_struct isapi_sapi_module = {
sapi_isapi_read_cookies, /* read Cookies */
sapi_isapi_register_server_variables, /* register server variables */
NULL, /* Log message */
NULL, /* Log message */
NULL, /* Get request time */
STANDARD_SAPI_MODULE_PROPERTIES
};

1
sapi/milter/php_milter.c

@ -846,6 +846,7 @@ static sapi_module_struct milter_sapi_module = {
sapi_milter_register_variables, /* register server variables */
NULL, /* Log message */
NULL, /* Get request time */
NULL, /* Block interruptions */
NULL, /* Unblock interruptions */

1
sapi/nsapi/nsapi.c

@ -743,6 +743,7 @@ static sapi_module_struct nsapi_sapi_module = {
sapi_nsapi_register_server_variables, /* register server variables */
nsapi_log_message, /* Log message */
NULL, /* Get request time */
NULL, /* Block interruptions */
NULL, /* Unblock interruptions */

1
sapi/phttpd/phttpd.c

@ -179,6 +179,7 @@ static sapi_module_struct phttpd_sapi_module = {
NULL, /* register server variables */
NULL, /* Log message */
NULL, /* Get request time */
STANDARD_SAPI_MODULE_PROPERTIES
};

1
sapi/pi3web/pi3web_sapi.c

@ -336,6 +336,7 @@ static sapi_module_struct pi3web_sapi_module = {
sapi_pi3web_read_cookies, /* read Cookies */
sapi_pi3web_register_variables, /* register server variables */
NULL, /* Log message */
NULL, /* Get request time */
STANDARD_SAPI_MODULE_PROPERTIES
};

1
sapi/roxen/roxen.c

@ -501,6 +501,7 @@ static sapi_module_struct roxen_sapi_module = {
php_roxen_sapi_read_cookies, /* read Cookies */
NULL, /* register server variables */
NULL, /* Log message */
NULL, /* Get request time */
STANDARD_SAPI_MODULE_PROPERTIES
};

1
sapi/thttpd/thttpd.c

@ -393,6 +393,7 @@ static sapi_module_struct thttpd_sapi_module = {
sapi_thttpd_register_variables,
NULL, /* Log message */
NULL, /* Get request time */
NULL, /* php.ini path override */
NULL, /* Block interruptions */

1
sapi/tux/php_tux.c

@ -287,6 +287,7 @@ static sapi_module_struct tux_sapi_module = {
sapi_tux_register_variables,
NULL, /* Log message */
NULL, /* Get request time */
STANDARD_SAPI_MODULE_PROPERTIES
};

1
sapi/webjames/webjames.c

@ -277,6 +277,7 @@ static sapi_module_struct sapi_module = {
sapi_webjames_register_variables, /* register server variables */
NULL, /* Log message */
NULL, /* Get request time */
STANDARD_SAPI_MODULE_PROPERTIES
};

Loading…
Cancel
Save