summaryrefslogtreecommitdiff
path: root/main/SAPI.h
Commit message (Collapse)AuthorAgeFilesLines
* I am sorry I tried fixing PHP without extensive discussion on the mailing list.Andrei Zmievski2010-03-181-4/+0
| | | | | | | | | 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-0/+4
| | | | | --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
|
* fix for #47930Stanislav Malyshev2009-04-281-1/+2
|
* - Add needed include as reported by PierreMarcus Boerger2008-12-311-0/+1
|
* MFHMarcus Boerger2008-12-311-0/+1
| | | | | | | - Changed dl() to be disabled by default. Enabled only when explicitly registered by the SAPI layer. Enabled only with CLI, CGI and EMBED. (Dmitry) [DOC]
* MFH: Bump copyright year, 3 of 3.Sebastian Bergmann2008-12-311-1/+1
|
* Added header_remove() (chsc at peytz dotdk, Arnaud)Arnaud Le Blanc2008-11-131-4/+3
| | | | | | | | | | | | | | | | | | | | | | | | | [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 patchRasmus Lerdorf2008-03-181-0/+2
| | | | | | | | | | | | | | | | | | | | | 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.
* Improved PHP binary size and startup speed with GCC4 visibility control (Nuno)Dmitry Stogov2008-01-301-3/+5
|
* MFH: Bump copyright year, 2 of 2.Sebastian Bergmann2007-12-311-1/+1
|
* MFH: wsJani Taskinen2007-08-311-3/+3
|
* MFH: Bump year.Sebastian Bergmann2007-01-011-1/+1
|
* MFH: Fixed mess with CGI/CLI -d command line option (now it works with cgi; ↵Dmitry Stogov2006-09-191-0/+2
| | | | constants are working exactly like in php.ini; with FastCGI -d affects all requests).
* bump year and license versionfoobar2006-01-011-3/+3
|
* - Bumber up yearfoobar2005-08-031-1/+1
|
* added a server variable PHP_AUTH_DIGEST to support HTTP Digest Authentication.Rui Hirokawa2005-04-041-0/+1
|
* Fix for bug #32263Rasmus Lerdorf2005-03-141-0/+1
| | | | | | | | | 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.
* - Fix bug #28568 (known_post_content_types is not thread safe).Moriyoshi Koizumi2005-02-211-3/+4
| | | | | # What is eventually necessiated is entire SAPI redesign, I think.
* Fix win32 compilation. Missing uid_t and gid_t definitions.Frank M. Kromann2004-08-211-0/+3
|
* Add SAPI hook to get the request time if provided by the web server,Rasmus Lerdorf2004-08-101-0/+3
| | | | | | 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.
* - Happy new year and PHP 5 for rest of the files too..foobar2004-01-081-2/+2
| | | | | # Should the LICENSE and Zend/LICENSE dates be updated too?
* - Fixed standard wrapper for input filter.Derick Rethans2003-11-301-1/+1
|
* - Fix sapi_input_filter patch. Returning 1 from the filter handler shouldDerick Rethans2003-11-291-2/+2
| | | | | | | 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.
* Fix use of EXTERN_C macrosArd Biesheuvel2003-09-021-8/+8
|
* linkage for C++Wez Furlong2003-08-181-2/+8
|
* updating license information in the headers.James Cox2003-06-101-3/+3
|
* make phpinfo() depend on executed sapiMarcus Boerger2003-03-181-0/+1
|
* give sapi modules the possibility to overwrite default ini settingsMarcus Boerger2003-03-181-0/+2
|
* An input filter might not simply strip stuff, it might also turn thingsRasmus Lerdorf2003-02-201-3/+3
| | | | | | | 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)
* ws fixes + missing $Id$ tags, headers addedfoobar2003-02-191-0/+1
|
* add sapi_get_target_uid/_gid for obtaining information about theSascha Schumann2003-01-211-0/+6
| | | | | | | 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.
* scrap STANDARD_SAPI_MODULE_PROPERTIES; it is causing more harm than goodSascha Schumann2003-01-151-1/+1
|
* whitespaceSascha Schumann2003-01-151-6/+5
|
* - Fixed bug #21169: Compile Failure, and lots of warnings on UnixWareDerick Rethans2003-01-021-0/+1
|
* Bump year.Sebastian Bergmann2002-12-311-1/+1
|
* add a "force HTTP/1.0 response" facility to the SAPI layerSascha Schumann2002-12-011-1/+3
| | | | | | | 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).
* - Made the STANDARD_SAPI_MODULE_PROPERTIES be what it says it is.foobar2002-11-261-2/+2
|
* Add sapi_get_fd() and implement it for the Apache/thttpd SAPIs.Sascha Schumann2002-11-261-0/+6
|
* Fix ZTS build.Sebastian Bergmann2002-11-181-0/+1
|
* added support functions for the apache_hooks SAPIGeorge Schlossnagle2002-11-181-0/+2
|
* Implemented -n switch to skip parsing ini at startup as suggested by Wez.Marcus Boerger2002-11-121-1/+3
| | | | | | #The switch 'n' was planned to be used for beautifying....delete n to make #clear these functions do not have a switch yet.
* HTTP_RAW_POST_DATA BC fixesHartmut Holzgraefe2002-11-121-2/+2
| | | | | | # hopefully all done, commiting anyway to continue work on my home box php://input stream fixes (POST data handerl mangles data, CLI crashbug)
* made sapi_register_treat_data() to support multibyte input encoding ↵Rui Hirokawa2002-08-021-0/+5
| | | | translation without MBSTR_ENC_TRANS and changed php_treat_data to php_default_treat_data.
* fixed: output encoding translation by mb_output_handler() in ext/mbstring ↵Rui Hirokawa2002-07-271-0/+1
| | | | was not usable when Content-Type is set by header().
* Add sapi_header_op interface which supersedes the sapi_add_header and _exSascha Schumann2002-07-031-3/+31
| | | | | | | | | | | | | | | | | | | | | 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-2/+2
| | | | | | | response code. @- Added a new parameter to the header() function which overrides the HTTP @ response code. (Derick)
* Revert to the old php_ini.c, and reimplement the binary-path searching.Zeev Suraski2002-05-111-1/+2
| | | | | Should now also work under UNIX (CLI/CGI)
* Maintain headers.Sebastian Bergmann2002-02-281-1/+1
|