From: Zeev Suraski Date: Tue, 11 May 1999 12:52:17 +0000 (+0000) Subject: Support POST in Apache X-Git-Tag: BEFORE_PHP4_APACHE_MODULE_CHANGE~66 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=24dff20afa4e04451a9cab24aa1dcc168ceb3947;p=php Support POST in Apache --- diff --git a/mod_php3.c b/mod_php3.c index 333bbc90fa..10a9262b00 100644 --- a/mod_php3.c +++ b/mod_php3.c @@ -108,7 +108,22 @@ static int zend_apache_ub_write(const char *str, uint str_length) int sapi_apache_read_post(char *buffer, uint count_bytes SLS_DC) { - return 0; + uint total_read_bytes=0, read_bytes; + request_rec *r = (request_rec *) SG(server_context); + void (*handler)(int); + + handler = signal(SIGPIPE, SIG_IGN); + while (total_read_bytes