cvs: php-src /main SAPI.c

From: Date: Wed, 11 Aug 2004 06:18:25 +0000
Subject: cvs: php-src /main SAPI.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-28279@lists.php.net to get a copy of this message
rasmus Wed Aug 11 02:18:25 2004 EDT Modified files: /php-src/main SAPI.c Log: Reset global request_time in sapi_activate. Reset it in sapi_deactivate too, although I can't see why that would be necessary, but most of the other sapi globals are reset there as well. http://cvs.php.net/diff.php/php-src/main/SAPI.c?r1=1.188&r2=1.189&ty=u Index: php-src/main/SAPI.c diff -u php-src/main/SAPI.c:1.188 php-src/main/SAPI.c:1.189 --- php-src/main/SAPI.c:1.188 Tue Aug 10 13:39:59 2004 +++ php-src/main/SAPI.c Wed Aug 11 02:18:25 2004 @@ -18,7 +18,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: SAPI.c,v 1.188 2004/08/10 17:39:59 rasmus Exp $ */ +/* $Id: SAPI.c,v 1.189 2004/08/11 06:18:25 rasmus Exp $ */ #include <ctype.h> #include <sys/stat.h> @@ -334,6 +334,7 @@ SG(request_info).current_user = NULL; SG(request_info).current_user_length = 0; SG(request_info).no_headers = 0; + SG(global_request_time) = 0; /* It's possible to override this general case in the activate() callback, if * necessary. @@ -430,6 +431,7 @@ SG(sapi_started) = 0; SG(headers_sent) = 0; SG(request_info).headers_read = 0; + SG(global_request_time) = 0; }

« previous php.cvs (#28279) next »