summaryrefslogtreecommitdiff
path: root/sapi/thttpd/thttpd.c
Commit message (Collapse)AuthorAgeFilesLines
...
* The module usually did not send out Content-Type: text/html.Sascha Schumann2001-08-071-0/+7
| | | | | No major browser seems to care, Opera does though.
* more tsrm cleanupSascha Schumann2001-08-051-2/+1
|
* further tsrm cleanupSascha Schumann2001-08-051-2/+2
|
* Even more TSRM cleanup.Sebastian Bergmann2001-08-051-2/+2
|
* tsrm-related cleanupSascha Schumann2001-08-051-22/+6
|
* Remove more duplicate TSRMLS_FETCH() calls.Sebastian Bergmann2001-08-051-3/+0
|
* Redesigned thread safety mechanism - nua nuaZeev Suraski2001-07-281-53/+52
|
* - Get rid of ELS_*(), and use TSRMLS_*() instead.Zeev Suraski2001-07-271-14/+14
| | | | | | | - Move to the new ts_allocate_id() API This patch is *bound* to break some files, as I must have had typos somewhere. If you use any uncommon extension, please try to build it...
* Remove unneeded variablesSascha Schumann2001-07-261-3/+0
|
* Remove accidentially committed lineSascha Schumann2001-07-231-1/+0
|
* Support for handling multiple concurrent requests.Sascha Schumann2001-06-231-5/+223
|
* Replace slow strlcpy with a quick memcpy.Sascha Schumann2001-05-031-3/+8
|
* - Another strncpy() -> strlcpy() changeAndi Gutmans2001-05-021-3/+1
|
* Fix optimization -- we did not send out custom Response Status Lines.Sascha Schumann2001-04-251-5/+12
|
* bytes in the conn structure was renamed to bytes_sent.Sascha Schumann2001-04-221-3/+3
|
* Replace memcpy and sprintf with smart_strs.Sascha Schumann2001-03-131-16/+12
|
* Combine all HTTP headers into a single writevSascha Schumann2001-03-021-19/+30
|
* - Fix copyright notices with 2001Andi Gutmans2001-02-261-1/+1
|
* If we cannot send the header, we don't need to continue with the page.Sascha Schumann2001-02-211-1/+2
|
* Include <sys/uio.h>. Apparently, the header cleanup in glibc 2.2.2Sascha Schumann2001-02-191-0/+2
| | | | | caused that file to be included by accident.
* Save 50% of the syscalls when writing the HTTP header.Sascha Schumann2001-02-181-2/+8
|
* Especially on FreeBSD it seems to be common that send(2) does notSascha Schumann2001-01-101-7/+16
| | | | | do a decent job. We handle that better now.
* Propagate the response code/HTTP status code back to thttpd for logging.Sascha Schumann2001-01-091-0/+1
|
* Account the number of sent bytes properlySascha Schumann2001-01-091-3/+13
|
* Many patches. I hope I remember them all:Zeev Suraski2001-01-021-4/+4
| | | | | | | | | - Make sapi_module available to external modules (PHPAPI) - Make the php.ini path reported in phpinfo() always point to real full path of the php.ini file - Optimized the ISAPI module not to read unnecessary server variables and read necessary variables at most once.
* Add thttpd-dependent interface for maintaining persistent connections onSascha Schumann2000-11-131-0/+21
| | | | | an iterative web-server. This will be used by the IRCG extension.
* Fix aborted connection handling and stop modifying thttpd dataSascha Schumann2000-11-121-2/+5
|
* Add/unify aborted connection handlingSascha Schumann2000-10-291-1/+8
|
* Leave initializing of auth_(user|password) to php_handle_auth_data().Sascha Schumann2000-10-271-3/+0
|
* Use php_handle_auth_dataSascha Schumann2000-10-271-16/+1
|
* Provide basic auth info to scripts.Sascha Schumann2000-10-111-2/+21
| | | | | Protect shutdown handler from being called multiple times.
* Restore the headers_only test to the centralized SAPI startup. If ↵Zeev Suraski2000-09-081-5/+0
| | | | | | | necessary, it can be overriden in the activate() callback.
* Set SG(request_info).path_translated to the path of the main script.Sascha Schumann2000-08-291-17/+15
|
* Compute absolute path to scriptSascha Schumann2000-08-271-1/+7
|
* Use request_uri as PHP_SELF. decodedurl also includes the query string.Sascha Schumann2000-08-251-1/+1
|
* php_register_variables(.. ELS_CC ..)Sascha Schumann2000-08-251-8/+8
|
* Make proper use of SAPI's register_environment functionality.Sascha Schumann2000-08-251-66/+50
|
* Fix zend_fiel_handle handling. Should fix URL includeStanislav Malyshev2000-08-131-0/+1
| | | | | and various opened_path inconsistencies.
* Heads up! I have moved the headers_only and response_code checks out ofRasmus Lerdorf2000-08-021-1/+6
| | | | | | | | | | | | | | | 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)
* Separate plain name returned by php_sapi_module() and pretty nameAndrei Zmievski2000-06-261-0/+1
| | | | | used for output.
* Move main.h to php_main.h.Sascha Schumann2000-06-051-1/+1
|
* Update the license with the new clause 6Zeev Suraski2000-05-181-2/+2
|
* Fix build against recent thttpd versionsSascha Schumann2000-05-171-1/+1
|
* the pipe is breaking all the timeZeev Suraski2000-02-191-2/+2
|
* Yes, you guessed it... More cleanupZeev Suraski2000-02-101-2/+5
|
* More cleanup - move getenv() to SAPIZeev Suraski2000-02-101-0/+1
|
* More cleanup...Zeev Suraski2000-02-101-0/+1
|
* More abstractionZeev Suraski2000-02-101-0/+3
|
* Move the logging mechanism to SAPIZeev Suraski2000-02-101-0/+1
|
* Tried to centralize global variable registration as much as possible:Zeev Suraski2000-01-281-0/+2
| | | | | | | | | | | | - Added $HTTP_ENV_VARS[] and $HTTP_SERVER_VARS[] support, which similarly to $HTTP_GET_VARS[], contain environment and server variables. Setting register_globals to Off will now also prevent registration of the environment and server variables into the global scope (Zeev) - Renamed gpc_globals to register_globals (Zeev) - Introduced variables_order that deprecates gpc_order, and allows control over the server and environment variables, in addition to GET/POST/Cookies (Zeev)