summaryrefslogtreecommitdiff
path: root/main/SAPI.c
Commit message (Collapse)AuthorAgeFilesLines
...
* - A belated happy holidays and PHP 5Andi Gutmans2004-01-081-2/+2
|
* - Fix sapi_input_filter patch. Returning 1 from the filter handler shouldDerick Rethans2003-11-291-1/+1
| | | | | | | make PHP register the variable, returning 0 shouldn't. The new length of the variables being filtered is now returned in the new_val_len argument of the function.
* On error do not leave content_type_dup unitialised.Stefan Esser2003-11-221-0/+1
|
* Fixed for 64bit archsArd Biesheuvel2003-09-131-1/+1
|
* Fix for bug #23488 zlib.output_compression overrides vary header.Stefan Roehrich2003-09-101-1/+1
| | | | | It was already fixed for ob_gzhandler (#24827).
* kill warningsSascha Schumann2003-08-281-2/+2
|
* Bugfix #25044Marcus Boerger2003-08-111-2/+3
|
* updating license information in the headers.James Cox2003-06-101-3/+3
|
* Fix for #23902 by Shane.Edin Kadribasic2003-06-031-0/+6
| | | | | | | | Removed bogus recommendation from php.ini files. # Basic authentication is actually possible # usign IIS + PHP cgi countrary to our current docs
* An input filter might not simply strip stuff, it might also turn thingsRasmus Lerdorf2003-02-201-1/+1
| | | | | | | into entities or use some other mechanism which causes the filtered data to be longer than the original data. Ergo, pass in the address of the buffer instead so the filter is free to reallocate it.
* Input Filter support. See README.input_filter for details.Rasmus Lerdorf2003-02-191-0/+5
| | | | | @- Input Filter support added. See README.input_filter. (Rasmus)
* size matters not.Stefan Esser2003-02-111-1/+1
|
* 8 + 20 + 1 + 1 = 30Stefan Esser2003-02-111-7/+3
| | | | | | | There was no Bufferoverflow on 64bit systems. And the "fix" broke the header code on systems with old style snprintf.
* Fixed possible snprintf problemMoriyoshi Koizumi2003-02-101-2/+2
| | | | | # besides snprintf returns int value, not uint / size_t...
* Fixed possible buffer overflow in 64bit systemsMoriyoshi Koizumi2003-02-101-2/+6
|
* Jani happificationMoriyoshi Koizumi2003-02-101-4/+4
|
* Fixed zlib.output_compression so it can work even if zlib extension is built ↵Moriyoshi Koizumi2003-02-101-23/+28
| | | | as shared
* use SUCCESS/FAILURE instead of 0/-1Sascha Schumann2003-02-091-4/+4
|
* Fixed compile failures when ZLIB / PCRE are compiled as sharedfoobar2003-02-091-3/+3
| | | | | extensions in same build.
* add sapi_get_target_uid/_gid for obtaining information about theSascha Schumann2003-01-211-0/+20
| | | | | | | non-privileged user the web server is running as. this is useful for creating shared memory segments which need to be accessed by the child processes/threads.
* whitespaceSascha Schumann2003-01-151-31/+31
|
* Bump year.Sebastian Bergmann2002-12-311-1/+1
|
* -php_error -> php_error_docrefMarcus Boerger2002-12-051-2/+2
|
* add a "force HTTP/1.0 response" facility to the SAPI layerSascha Schumann2002-12-011-0/+9
| | | | | | | this is necessary, when you want to take over control of a connection and the web server is doing stupid things by default (like enabling chunked transfer encoding for no reason).
* Add sapi_get_fd() and implement it for the Apache/thttpd SAPIs.Sascha Schumann2002-11-261-0/+9
|
* the apache 1.x sapi read_posts tests for SG(read_post_bytes) beingHartmut Holzgraefe2002-11-211-2/+4
| | | | | | counted up, so lets make it happy although this value is not really needed in these cases ...
* added support functions for the apache_hooks SAPIGeorge Schlossnagle2002-11-181-0/+35
|
* HTTP_RAW_POST_DATA BC fixesHartmut Holzgraefe2002-11-121-2/+6
| | | | | | # hopefully all done, commiting anyway to continue work on my home box php://input stream fixes (POST data handerl mangles data, CLI crashbug)
* fix for #20198:Hartmut Holzgraefe2002-11-081-1/+5
| | | | | "always_populate_raw_post_data = On" breaks HTTP file uploads
* removed left-over unused variableHartmut Holzgraefe2002-10-211-2/+0
|
* removed bogus paranoid header checkingHartmut Holzgraefe2002-10-211-6/+2
|
* some changes to how request input data (Content-Lenght >0) is handledHartmut Holzgraefe2002-10-211-28/+31
| | | | | | | | | | | | | | - webdav-specific stuff removed (should be handled using httpd.conf LIMIT or equivalents) - always_populate_raw_post_data now working on any method, not just POST (and webdav methods with allow_webdav_methods), when Content-Length is greater zero - raw input data is also available using php://input stream, this way one doesn't have to care about memory_limit - input data is now always consumed (although maybe ignored, this fixes we had withproblems with keep-alive connections @ raw POST data is now available as php://input stream (hartmut)
* Added missing charset.Yasuo Ohgaki2002-09-081-0/+1
|
* WebDAV MKCOL can have post data body, see rfc2518 8.3.1Hartmut Holzgraefe2002-09-071-0/+1
|
* This 2 lines should have been removed when the header() code was rewritten.Stefan Esser2002-09-041-2/+0
|
* do not check for POST twiceChristian Stocker2002-08-221-1/+0
|
* @ - Added php.ini option "allow_webdav_methods" to allow handling ofChristian Stocker2002-08-221-2/+10
| | | | | | @ WebDAV http requests within PHP scripts. (chregu) # More methods (for DeltaV) will follow.
* -keep mimetype until sapi deactivationMarcus Boerger2002-08-051-12/+12
| | | | | -move NULL check for sapi_apply_default_charset to proper position.
* Yup, sizeof() includes the space for the \0Rasmus Lerdorf2002-08-031-1/+1
|
* made sapi_register_treat_data() to support multibyte input encoding ↵Rui Hirokawa2002-08-021-0/+7
| | | | translation without MBSTR_ENC_TRANS and changed php_treat_data to php_default_treat_data.
* Fixed wrong usage of strncmp.Stefan Roehrich2002-08-011-4/+4
|
* - free mimetype and statusline early if no longer needed or in deactivationMarcus Boerger2002-08-011-11/+13
| | | | | #not setting them to NULL caused the segfault
* Need room for the \0 here to avoid an overflowRasmus Lerdorf2002-08-011-1/+1
|
* -problem with CLI/mbstring/output bufferingMarcus Boerger2002-07-311-8/+14
|
* Commit patch as discussed on LinuxTag and posted to php-dev in June.Stefan Roehrich2002-07-281-0/+34
| | | | | | | | | | Disables zlib.output_compression for scripts with image/ content-type header (fixes bug #16109) and makes it possible to switch zlib.output_compression during script execution before the headers are sent. @- zlib.output_compression is disabled for "image/" content-type @ headers and can be changed during script execution. (Stefan)
* fixed: output encoding translation by mb_output_handler() in ext/mbstring ↵Rui Hirokawa2002-07-271-0/+7
| | | | was not usable when Content-Type is set by header().
* - Fixed bug: #18268. If pcre is build as shared extension, we can't usefoobar2002-07-131-9/+10
| | | | | | php_pcre_replace() here. - Cleaned up a bit.
* fix typoSascha Schumann2002-07-031-1/+1
|
* Add sapi_header_op interface which supersedes the sapi_add_header and _exSascha Schumann2002-07-031-21/+67
| | | | | | | | | | | | | | | | | | | | | calls. Revert the change to the sapi_add_header_ex interface. Fix various bugs: 1. header("HTTP/1.0 306 foo"); header("Location: absolute-uri"); did not work in combination with several SAPI modules, because http_status_line was never properly reset. And thus, all SAPI modules which looked at http_status_line ignored the changed http_response_code. 2. The CGI SAPI did not send out the HTTP status line at all, if http_status_line had not been set explicitly by calling header("HTTP/1.0 200 foo");
* - Added a new parameter to the header() function which overrides the HTTPDerick Rethans2002-06-211-5/+8
| | | | | | | response code. @- Added a new parameter to the header() function which overrides the HTTP @ response code. (Derick)