Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | - Fixed bug #48994 (zlib.output_compression does not ouput HTTP headers when ↵ | Jani Taskinen | 2009-08-03 | 1 | -1/+1 | |
| | | | | | | | set to a string value) # also fixes bug #35936 (ini.zlib.output-compression Documentation :) | |||||
* | fix for #47930 | Stanislav Malyshev | 2009-04-28 | 1 | -1/+8 | |
| | ||||||
* | MFH: Bump copyright year, 3 of 3. | Sebastian Bergmann | 2008-12-31 | 1 | -1/+1 | |
| | ||||||
* | Added header_remove() (chsc at peytz dotdk, Arnaud) | Arnaud Le Blanc | 2008-11-13 | 1 | -13/+32 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | [DOC] proto void header_remove([string header_name]) Removes an HTTP header previously set using header() The header_name parameter is optionnal, all headers are removed if it is not set [SAPIs] The header_handler callback in sapi_module_struct has been changed, it now take a new argument. When it is set to SAPI_HEADER_DELETE, sapi_header->header is the name of an header, header_handler has to delete it. When it is set to SAPI_HEADER_DELETE_ALL, header_handler has to delete all headers. When sapi_header_op_enum is SAPI_HEADER_ADD or _REPLACE, sapi_header->header is in the form "Name: value", header_handler has to add or replace the given header. In all cases, header_handler must not free sapi_header or sapi_header->header. SAPI_HEADER_ADD must be returned if the header has been added or replaced, or 0 in other cases. | |||||
* | exit_on_timeout patch | Rasmus Lerdorf | 2008-03-18 | 1 | -0/+6 | |
| | | | | | | | | | | | | | | | | | | | | | After the sigsetjmp change, this is patch #2 in an effort to get some sanity restored to signal handling in PHP. This patch does two things. First, it makes it possible to reset the timeout without resetting the signal handlers. This is important for cases where an extension may have deferred signals in its MINIT in order to implement critical sections. It also lays the groundwork for cleaning up our signal handling and perhaps eventually implementing our own signal deferring mechanism so we can have true critical sections. The second thing this does is to make it possible to terminate the current child process (only for Apache1 at the moment) on a timeout. There are a number of extensions that are unhappy about being longjmp'ed out of and when this happens on a timeout they are left in an inconsistent state. By turning on exit_on_timeout you can now force the process to terminate on a timeout which will clean up any hanging locks and/or memory left hanging after the longjmp. | |||||
* | MFH: Fixed bug #43954 (Memory leak when sending the same HTTP status code ↵ | Scott MacVicar | 2008-01-28 | 1 | -0/+4 | |
| | | | | more than once.) | |||||
* | MFH: Bump copyright year, 2 of 2. | Sebastian Bergmann | 2007-12-31 | 1 | -1/+1 | |
| | ||||||
* | Fixed crash because of uninitialized SG(sapi_headers).mimetype | Dmitry Stogov | 2007-12-03 | 1 | -0/+2 | |
| | ||||||
* | Slightly cleaner code | Rasmus Lerdorf | 2007-05-25 | 1 | -2/+2 | |
| | ||||||
* | Optimize sapi_get_request_time() slightly making it use the cached time | Rasmus Lerdorf | 2007-05-25 | 1 | -3/+5 | |
| | | | | | | and also checking if there is a server_context before trying to call the request_time sapi hook. | |||||
* | ZTS fix | Dmitry Stogov | 2007-04-25 | 1 | -5/+5 | |
| | ||||||
* | fix ZTS build | Antony Dovgal | 2007-04-25 | 1 | -0/+3 | |
| | ||||||
* | Fixed crashes because of SAPI handlers overrding from inside of dl()-ed ↵ | Dmitry Stogov | 2007-04-25 | 1 | -0/+15 | |
| | | | | extensions | |||||
* | WIN64 support | Dmitry Stogov | 2007-04-16 | 1 | -1/+1 | |
| | ||||||
* | snprintf() -> slprintf() | Ilia Alshanetsky | 2007-02-27 | 1 | -3/+3 | |
| | ||||||
* | - Avoid sprintf, even when checked copy'n'paste or changes lead to errors | Marcus Boerger | 2007-02-24 | 1 | -8/+6 | |
| | ||||||
* | MFH: Bump year. | Sebastian Bergmann | 2007-01-01 | 1 | -1/+1 | |
| | ||||||
* | Fixed bug #39984 (redirect response code in header() could be ignored in | Ilia Alshanetsky | 2006-12-31 | 1 | -1/+3 | |
| | | | | | CGI sapi). | |||||
* | MFH | Antony Dovgal | 2006-12-21 | 1 | -5/+7 | |
| | ||||||
* | MFH: fix possible invalid read (reproducible only on big-endian machines) | Antony Dovgal | 2006-12-18 | 1 | -1/+1 | |
| | ||||||
* | Whitespace | Zeev Suraski | 2006-12-18 | 1 | -18/+18 | |
| | ||||||
* | MFH: Fixed mess with CGI/CLI -d command line option (now it works with cgi; ↵ | Dmitry Stogov | 2006-09-19 | 1 | -0/+1 | |
| | | | | constants are working exactly like in php.ini; with FastCGI -d affects all requests). | |||||
* | Add input_filter hook call in getenv() | Rasmus Lerdorf | 2006-05-10 | 1 | -4/+9 | |
| | ||||||
* | bump year and license version | foobar | 2006-01-01 | 1 | -3/+3 | |
| | ||||||
* | MFH: typofix | foobar | 2005-12-30 | 1 | -1/+1 | |
| | ||||||
* | MFH: Prevent header injection by limiting each header to a single line. | Ilia Alshanetsky | 2005-12-06 | 1 | -0/+13 | |
| | ||||||
* | MFH | foobar | 2005-11-06 | 1 | -1/+1 | |
| | ||||||
* | - sapi_header_op(SAPI_HEADER_(REPLACE|ADD), {NULL, 0, 0}) caused HTTP ↵ | Michael Wallner | 2005-11-02 | 1 | -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 -m | Ilia Alshanetsky | 2005-11-01 | 1 | -1/+1 | |
| | ||||||
* | MFH: Fixed bug #29983 (PHP does not explicitly set mime type & charset). | Ilia Alshanetsky | 2005-10-19 | 1 | -0/+6 | |
| | ||||||
* | - Bumber up year | foobar | 2005-08-03 | 1 | -1/+1 | |
| | ||||||
* | Fixed double-free in the digest authentication handling. | Ilia Alshanetsky | 2005-07-12 | 1 | -1/+1 | |
| | | | | | # Found and Reported by Stefan Esser | |||||
* | added a server variable PHP_AUTH_DIGEST to support HTTP Digest Authentication. | Rui Hirokawa | 2005-04-04 | 1 | -0/+3 | |
| | ||||||
* | Fix for bug #32263 | Rasmus Lerdorf | 2005-03-14 | 1 | -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 replaces | Andrey Hristov | 2005-03-12 | 1 | -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 Koizumi | 2005-03-05 | 1 | -0/+1 | |
| | ||||||
* | - Silly typo. | Moriyoshi Koizumi | 2005-02-22 | 1 | -1/+1 | |
| | ||||||
* | Nuke unused variables when PCRE is not compiled in | foobar | 2005-02-21 | 1 | -4/+2 | |
| | ||||||
* | Remove the useless TSRM_FETCH calls | foobar | 2005-02-21 | 1 | -6/+3 | |
| | ||||||
* | - Fix bug #28568 (known_post_content_types is not thread safe). | Moriyoshi Koizumi | 2005-02-21 | 1 | -13/+27 | |
| | | | | | # What is eventually necessiated is entire SAPI redesign, I think. | |||||
* | Fixed: Correctly Initialize fields | Stefan Esser | 2004-11-28 | 1 | -0/+5 | |
| | ||||||
* | - Apply realpath() cache patch. We don't use it if we're in safe_mode and | Andi Gutmans | 2004-10-05 | 1 | -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 France | 2004-08-19 | 1 | -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_deactivate | Rasmus Lerdorf | 2004-08-11 | 1 | -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 Lerdorf | 2004-08-10 | 1 | -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 Alshanetsky | 2004-06-08 | 1 | -1/+1 | |
| | ||||||
* | Fixed bug #28670 (WWW-Authentication header mangling with PCRE in safe_mode | Ilia Alshanetsky | 2004-06-07 | 1 | -0/+5 | |
| | | | | | adds extra spaces). | |||||
* | break is better | Stefan Esser | 2004-05-25 | 1 | -1/+1 | |
| | ||||||
* | Fixed bug #27687 (Bug Adding Default Charset to 'text/*' Content-Type Header | Marcus Boerger | 2004-03-25 | 1 | -1/+2 | |
| | ||||||
* | Fixed bug #27530 (broken http auth when safe_mode is on and PCRE is | Ilia Alshanetsky | 2004-03-09 | 1 | -7/+2 | |
| | | | | | disabled). |