Re: cvs: php4 /sapi/pi3web pi3web_sapi.c
| From: | Jani Taskinen | Date: | Mon, 02 Jun 2003 11:51:53 +0000 |
| Subject: | Re: cvs: php4 /sapi/pi3web pi3web_sapi.c | ||
| References: | 1 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-21458@lists.php.net to get a copy of this message | ||
Do NOT use C++ comments (//) in C code.
And shouldn't you MFH (merge from head) this to PHP_4_3 branch too?
--Jani
On Sun, 1 Jun 2003, Holger Zimmermann wrote:
>holger Sun Jun 1 16:28:49 2003 EDT
>
> Modified files:
> /php4/sapi/pi3web pi3web_sapi.c
> Log:
> Removed increment of read_post_bytes because this is done within SAPI (SAPI.c).
>
>
>Index: php4/sapi/pi3web/pi3web_sapi.c
>diff -u php4/sapi/pi3web/pi3web_sapi.c:1.51 php4/sapi/pi3web/pi3web_sapi.c:1.52
>--- php4/sapi/pi3web/pi3web_sapi.c:1.51 Sat Apr 19 12:11:36 2003
>+++ php4/sapi/pi3web/pi3web_sapi.c Sun Jun 1 16:28:49 2003
>@@ -21,7 +21,7 @@
> +----------------------------------------------------------------------+
> */
>
>-/* $Id: pi3web_sapi.c,v 1.51 2003/04/19 16:11:36 holger Exp $ */
>+/* $Id: pi3web_sapi.c,v 1.52 2003/06/01 20:28:49 holger Exp $ */
>
> #define ZEND_INCLUDE_FULL_WINDOWS_HEADERS
>
>@@ -78,7 +78,7 @@
> PUTS("<table border=0 cellpadding=3 cellspacing=1 width=600 align=center>\n");
> PUTS("<tr><th colspan=2 bgcolor=\"" PHP_HEADER_COLOR
> "\">Pi3Web Server Information</th></tr>\n");
> php_info_print_table_header(2, "Information Field", "Value");
>- php_info_print_table_row(2, "Pi3Web SAPI module version", "$Id: pi3web_sapi.c,v
>1.51 2003/04/19 16:11:36 holger Exp $");
>+ php_info_print_table_row(2, "Pi3Web SAPI module version", "$Id: pi3web_sapi.c,v
>1.52 2003/06/01 20:28:49 holger Exp $");
> php_info_print_table_row(2, "Server Name Stamp", HTTPCore_getServerStamp());
> snprintf(variable_buf, 511, "%d", HTTPCore_debugEnabled());
> php_info_print_table_row(2, "Debug Enabled", variable_buf);
>@@ -250,7 +250,8 @@
> }
> total_read += cbRead;
> }
>- SG(read_post_bytes) += total_read;
>+// removed after re-testing POST with Pi3Web 2.0.2
>+// SG(read_post_bytes) += total_read;
> return total_read;
> }
>
>
>
>
>
--
https://www.paypal.com/xclick/business=sniper@php.net&no_note=1&tax=0¤cy_code=EUR