summaryrefslogtreecommitdiff
path: root/main/SAPI.c
Commit message (Collapse)AuthorAgeFilesLines
...
* Avoid an endless loop situation in case of an error situation while sending ↵Zeev Suraski2000-08-191-2/+6
| | | | headers
* Leave this initialization inRasmus Lerdorf2000-08-021-1/+1
|
* Heads up! I have moved the headers_only and response_code checks out ofRasmus Lerdorf2000-08-021-0/+8
| | | | | | | | | | | | | | | SAPI and down into the individual SAPI modules. I have made the appropriate changes in all the SAPI modules, but please verify these. The reason for this change is that Apache sometimes will feed PHP a request_method of GET but have r->header_only set to true. This happens in an ErrorDocument redirect. In this same scenario we want to preserve the status code as well instead of just overwriting it with a 200 and losing this information. For now the other sapi modules act exactly as before since they probably do not make this distinction, and they may not even have a valid response code this early in the request. @ Fix HEAD request bug on an Apache ErrorDocument redirect and preserve @ the status code across the redirect as well. (Rasmus)
* Disable the hash_apply() protection on hashes that persist across requests - ↵Zeev Suraski2000-07-111-1/+1
| | | | | | | | it's unsafe because we may be aborted at any point @- Fixed a possible data corruption in case of a huge amount of aborted requests (Zeev)
* - fixed handling of fdf data (application/vnd.fdf)Uwe Steinmann2000-07-051-1/+6
|
* This is documented to not be case sensitive and it is not case sensitiveRasmus Lerdorf2000-07-011-1/+1
| | | | | | in PHP 3, so let's not make it case sensitive. @Make the special Header("http/...") response be case insensitive like 3.0 (Rasmus)
* - COMPILE_ERROR should only be used in ZendAndi Gutmans2000-06-231-2/+2
|
* Update the license with the new clause 6Zeev Suraski2000-05-181-2/+2
|
* no more broken scripts by erroneously terminating header()'s argumentHartmut Holzgraefe2000-04-281-0/+6
| | | | | with a CR-LF
* - Fix an invalid trick (it was valid when header() was usingZeev Suraski2000-04-281-2/+7
| | | | | | | zend_get_parameters(), but it became invalid when someone switched it to zend_get_parameters_ex(), and I decided to remove it anyway). - Remove a redundant function call
* - Add missing V_STAT()Andi Gutmans2000-04-201-1/+1
|
* - Create dtor functionAndi Gutmans2000-04-021-0/+3
|
* - Virtual cwd compiles now (need to uncomment #define in php.h for it toAndi Gutmans2000-04-021-0/+4
| | | | | | be enbaled right now). It seems to work very basic stuff
* @- Fix a problem when dealing with large POST blocks in CGI modeZeev Suraski2000-04-011-7/+7
|
* kill warningSascha Schumann2000-03-301-1/+1
|
* - Note quite sure why this wasn't done.Andi Gutmans2000-03-161-3/+3
|
* Fix traps due to sapi_global not being initialized when ZTS is setSam Ruby2000-03-051-1/+8
| | | | | Don't trap if php.ini can't be read
* @- The string None is now recognized as a keyword by the php.ini processor, andZeev Suraski2000-02-261-4/+3
| | | | | | | @ can be used to denote an empty string (Zeev) - Added None keyword support to the INI parser - Removed specialized "none" code
* (sapi_send_headers) fix leakThies C. Arntzen2000-02-261-2/+2
|
* - From CODING_STANDARDS:Zeev Suraski2000-02-261-22/+22
| | | | | | | | | | | [6] NEVER USE strncat(). If you're absolutely sure you know what you're doing, check its man page again, and only then, consider using it, and even then, try avoiding it. strncat() is your enemy! - Fix several SAPI services, get rid of the default_content_type (it's always composed of the mime type and charset now). - Win32 works again
* Build failure on Win32:Sam Ruby2000-02-251-1/+1
| | | | | error C2198: 'sapi_apply_default_charset' : too few actual parameters
* @- Implemented default_charset and default_mimetype config directives (Stig)Stig Bakken2000-02-251-24/+82
| | | | | | Implemented default_charset and default_mimetype configuration directives. Started implementing ticks in PHP.
* fix obvious crash.Thies C. Arntzen2000-02-251-0/+1
| | | | | | | | | | stig, in sgi-mode i still "only" get: (haven't touched my .ini file in ages - and don't plan to) X-Powered-By: PHP/4.0b5-dev Content-type: iso-8859-1 <<< where is text/html?
* started implementing directives for default mimetype/charsetStig Bakken2000-02-241-4/+45
|
* Get the license right... (this won't make it to RC1 of B4)Zeev Suraski2000-02-191-2/+2
|
* - Update .dsp'sZeev Suraski2000-02-181-0/+2
| | | | | | - Fix a possible crash bug in failed file open error message - Fix SAPI initialization issue that could lead to a crash
* Fix duplicate freeingZeev Suraski2000-02-171-0/+1
|
* Make POST handling the way it should be. RFC1867, and any future POST ↵Zeev Suraski2000-02-171-19/+41
| | | | | | | | | | handlers we might have in the future now obey to the variables_order directive, and there's a real way modular way to handle POST content. This is all untested, BEFORE_SAPI_POST_PATCH_17_FEB_2000 tagged before submission @- Made multipart/form-data content obey to the variables_order directive (Zeev)
* - Update .dsp'sZeev Suraski2000-02-161-1/+0
| | | | | - Fix auth_user issue
* @- Improved ISAPI module - it should no longer be necessary to set PHP asZeev Suraski2000-02-151-0/+7
| | | | | | | | | @ an ISAPI filter, only as an ISAPI extension, unless you wish to perform @ authentication using PHP. This didn't yet get enough testing, but it @ should work (Zeev) - Fixed auth_user/auth_password memory leak (I didn't have time to test it under Apache, feedback welcome!)
* Fine tune Andi's patchZeev Suraski2000-02-111-1/+1
|
* request_info.c is dead! long live SAPIZeev Suraski2000-02-101-1/+6
| | | | | | | @- Finished the server abstraction layer; All of the PHP code is now shared @ across different servers (Apache, CGI, IIS, etc.), except for thin @ interface modules (Zeev)
* The last patch wasn't that good, fixZeev Suraski2000-02-101-6/+4
|
* More protection...Zeev Suraski2000-02-101-4/+6
|
* Only activate if we're inside an actual requestZeev Suraski2000-02-101-3/+3
|
* More cleanup!Zeev Suraski2000-02-101-10/+6
|
* More cleanup - move getenv() to SAPIZeev Suraski2000-02-101-0/+12
|
* More cleanup...Zeev Suraski2000-02-101-0/+19
|
* - Introduce PHP_WIN32Andi Gutmans2000-02-101-1/+1
|
* More abstractionZeev Suraski2000-02-101-0/+6
|
* Use the new state functionsZeev Suraski2000-02-041-1/+9
| | | | | | | @- If header information is sent after output has already been sent, the warning @ message will now state the filename and line number at which the first output @ was made (Zeev)
* - Added flush() support to SAPIZeev Suraski2000-01-131-0/+12
| | | | | | | | - Got rid of the old flush() implemenetation in favour of the new one - Added implicit_flush() support to the output buffering layer. @- Added implicit_flush() to control whether flush() should be called @ implicitly after any output (Zeev)
* Move reentrancy initialisation/destruction into SAPI.Sascha Schumann2000-01-051-0/+2
| | | | | These calls only do something, if reentrancy emulation is required.
* Happy Y2K patch! Happy new year (or the new millennium, depending on whetherSascha Schumann2000-01-011-1/+1
| | | | | you start counting at 0 or 1).
* Fix for #2994Evan Klinger1999-12-191-3/+3
|
* Export sapi_free_header()Sascha Schumann1999-12-101-1/+1
|
* Provide basis for shared libraries/dlls to contain internal extensionsSam Ruby1999-12-071-2/+2
|
* Fix some warningsSascha Schumann1999-12-051-1/+1
|
* - support for mimetype application/vnd.fdf needed by fdf moduleUwe Steinmann1999-10-061-1/+4
| | | | | (only active if fdf support is compiled in)
* Fix logic.Sascha Schumann1999-10-051-1/+1
|