summaryrefslogtreecommitdiff
path: root/main/SAPI.c
Commit message (Collapse)AuthorAgeFilesLines
* I am sorry I tried fixing PHP without extensive discussion on the mailing list.Andrei Zmievski2010-03-181-2/+2
| | | | | | | | | I am sorry I tried fixing PHP without extensive discussion on the mailing list. I am sorry I tried fixing PHP without extensive discussion on the mailing list. Hope all the relevant parties are satisfied.
* Fix a few problems with large (2G-4G) file uploads. AddedAndrei Zmievski2010-03-181-2/+2
| | | | | --enable-large-uploads-fix switch because one change was in SAPI.h structure.
* sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.phpSebastian Bergmann2010-01-031-1/+1
|
* - Fixed bug #49248 by fixing bug #48994 properlyJani Taskinen2009-08-171-33/+0
|
* - Try disabling zlib.output_compression always for images. (zlib extension ↵Jani Taskinen2009-08-171-3/+4
| | | | might be compiled as shared and not same time as the main PHP binary)
* - Fixed bug #48994 (zlib.output_compression does not ouput HTTP headers when ↵Jani Taskinen2009-08-031-1/+1
| | | | | | | set to a string value) # also fixes bug #35936 (ini.zlib.output-compression Documentation :)
* MFH: Bump copyright year, 3 of 3.Sebastian Bergmann2008-12-311-1/+1
|
* MFH: Fixed bug #43954 (Memory leak when sending the same HTTP status code ↵Scott MacVicar2008-01-281-0/+4
| | | | more than once.)
* MFH: Bump copyright year, 2 of 2.Sebastian Bergmann2007-12-311-1/+1
|
* Fixed crash because of uninitialized SG(sapi_headers).mimetypeDmitry Stogov2007-12-031-0/+2
|
* Slightly cleaner codeRasmus Lerdorf2007-05-251-2/+2
|
* Optimize sapi_get_request_time() slightly making it use the cached timeRasmus Lerdorf2007-05-251-3/+5
| | | | | | and also checking if there is a server_context before trying to call the request_time sapi hook.
* ZTS fixDmitry Stogov2007-04-251-5/+5
|
* fix ZTS buildAntony Dovgal2007-04-251-0/+3
|
* Fixed crashes because of SAPI handlers overrding from inside of dl()-ed ↵Dmitry Stogov2007-04-251-0/+15
| | | | extensions
* WIN64 supportDmitry Stogov2007-04-161-1/+1
|
* snprintf() -> slprintf()Ilia Alshanetsky2007-02-271-3/+3
|
* - Avoid sprintf, even when checked copy'n'paste or changes lead to errorsMarcus Boerger2007-02-241-8/+6
|
* MFH: Bump year.Sebastian Bergmann2007-01-011-1/+1
|
* Fixed bug #39984 (redirect response code in header() could be ignored inIlia Alshanetsky2006-12-311-1/+3
| | | | | CGI sapi).
* MFHAntony Dovgal2006-12-211-5/+7
|
* MFH: fix possible invalid read (reproducible only on big-endian machines)Antony Dovgal2006-12-181-1/+1
|
* WhitespaceZeev Suraski2006-12-181-18/+18
|
* MFH: Fixed mess with CGI/CLI -d command line option (now it works with cgi; ↵Dmitry Stogov2006-09-191-0/+1
| | | | constants are working exactly like in php.ini; with FastCGI -d affects all requests).
* Add input_filter hook call in getenv()Rasmus Lerdorf2006-05-101-4/+9
|
* bump year and license versionfoobar2006-01-011-3/+3
|
* MFH: typofixfoobar2005-12-301-1/+1
|
* MFH: Prevent header injection by limiting each header to a single line.Ilia Alshanetsky2005-12-061-0/+13
|
* MFHfoobar2005-11-061-1/+1
|
* - sapi_header_op(SAPI_HEADER_(REPLACE|ADD), {NULL, 0, 0}) caused HTTP ↵Michael Wallner2005-11-021-0/+4
| | | | | | | response splitting - sapi_send_headers() already takes care of default_content_type (left over of fix for bug #29983)
* Fixed minor memory leak triggered by: -dzlib.output_compression=1 -mIlia Alshanetsky2005-11-011-1/+1
|
* MFH: Fixed bug #29983 (PHP does not explicitly set mime type & charset).Ilia Alshanetsky2005-10-191-0/+6
|
* - Bumber up yearfoobar2005-08-031-1/+1
|
* Fixed double-free in the digest authentication handling.Ilia Alshanetsky2005-07-121-1/+1
| | | | | # Found and Reported by Stefan Esser
* added a server variable PHP_AUTH_DIGEST to support HTTP Digest Authentication.Rui Hirokawa2005-04-041-0/+3
|
* Fix for bug #32263Rasmus Lerdorf2005-03-141-1/+9
| | | | | | | | | This adds proto_num to request_info. It is defaulted to HTTP 1.0 (1000) such that it has a valid value even if the underlying sapi doesn't set it correctly. It is then used to determine if a 302 or a 303 should be sent on a Location redirect. Any non GET/HEAD HTTP 1.1 redirect will get a 303 instead of a 302 to be compatible with the HTTP spec.
* FR 32275 - fifth parameter to preg_replace() to count number of replacesAndrey Hristov2005-03-121-2/+2
| | | | | | made. #it would be nice if someone of the doc team documents it. thanks!
* - Fixed bug #32109 ($_POST is not populated in multithreaded environment).Moriyoshi Koizumi2005-03-051-0/+1
|
* - Silly typo.Moriyoshi Koizumi2005-02-221-1/+1
|
* Nuke unused variables when PCRE is not compiled infoobar2005-02-211-4/+2
|
* Remove the useless TSRM_FETCH callsfoobar2005-02-211-6/+3
|
* - Fix bug #28568 (known_post_content_types is not thread safe).Moriyoshi Koizumi2005-02-211-13/+27
| | | | | # What is eventually necessiated is entire SAPI redesign, I think.
* Fixed: Correctly Initialize fieldsStefan Esser2004-11-281-0/+5
|
* - Apply realpath() cache patch. We don't use it if we're in safe_mode andAndi Gutmans2004-10-051-4/+1
| | | | | | - friends (which are quite slow anyway). - If it proves to be stable I'll remove the #ifdef's in a few weeks.
* If you send a post with a content-type header and then the next post without ↵Brian France2004-08-191-0/+1
| | | | the content-type header, raw_post_data will not be set. This is because SG(request_info).post_entry is set to the first requests function pointer which makes it follow the wrong code path.
* Reset global request_time in sapi_activate. Reset it in sapi_deactivateRasmus Lerdorf2004-08-111-0/+2
| | | | | | too, although I can't see why that would be necessary, but most of the other sapi globals are reset there as well.
* Add SAPI hook to get the request time if provided by the web server,Rasmus Lerdorf2004-08-101-1/+12
| | | | | | otherwise call time(0) on the first call and store it so subsequent calls will get the same time. Hook support for Apache1/2 included.
* Fixed bug #28692 (\0 in Authenticate header passed via safe_mode).Ilia Alshanetsky2004-06-081-1/+1
|
* Fixed bug #28670 (WWW-Authentication header mangling with PCRE in safe_modeIlia Alshanetsky2004-06-071-0/+5
| | | | | adds extra spaces).
* break is betterStefan Esser2004-05-251-1/+1
|