summaryrefslogtreecommitdiff
path: root/sapi/thttpd/thttpd.c
Commit message (Collapse)AuthorAgeFilesLines
* - A belated happy holidays and PHP 5Andi Gutmans2004-01-081-2/+2
|
* properly restart syscallsSascha Schumann2003-07-011-3/+6
|
* Serialize headers for systems with low IOV_MAX (e.g. Solaris)Sascha Schumann2003-06-271-14/+31
|
* updating license information in the headers.James Cox2003-06-101-3/+3
|
* Don't return CRLF from broken clientsSascha Schumann2003-06-041-5/+6
|
* If there is a content body, enable lingering and disable keep alive.Sascha Schumann2003-05-161-1/+3
|
* improve keep alive handlingSascha Schumann2003-05-121-0/+2
|
* add premium thttpd supportSascha Schumann2003-05-121-2/+7
|
* cleanupSascha Schumann2003-05-011-5/+1
|
* Nuke all sn?printf's and rely on the optimized httpd_ntoa toSascha Schumann2003-04-161-28/+23
| | | | | convert the IP to a string representation.
* use SUCCESS/FAILURE instead of 0/-1Sascha Schumann2003-02-091-1/+1
|
* Fix POST handling once and for all. The daemon now never blocks and handlesSascha Schumann2003-01-171-46/+6
| | | | | | | | | | uploads of up to 2GB on 32 bit platforms. Uploads >16KB are put into a file-backed mmap area. SG(request_info).content_type got corrupted somewhere. As a workaround, we provide SAPI with a duplicate of the original string.
* Bump year.Sebastian Bergmann2002-12-311-1/+1
|
* add missing lineSascha Schumann2002-11-291-0/+1
|
* Add sapi_get_fd() and implement it for the Apache/thttpd SAPIs.Sascha Schumann2002-11-261-1/+11
|
* s/PHP_API/PHP_API_VERSION/Sascha Schumann2002-11-081-1/+1
|
* let this source file compile with php 4.2.xSascha Schumann2002-11-071-0/+5
|
* first step towards asynchronous content body processingSascha Schumann2002-10-301-3/+21
|
* Fix build and .phps supportSascha Schumann2002-10-261-16/+16
|
* experimental .phps supportSascha Schumann2002-10-261-6/+14
|
* not sure what this async_send is doing in here, so relieve it from its duty.Sascha Schumann2002-10-261-5/+0
|
* some system headers (irix) define sa_lenSascha Schumann2002-10-261-5/+5
| | | | | prefix sa_len with x
* thttpd initializes contentlength to -1, so we need to transfer that to 0Sascha Schumann2002-10-251-1/+2
| | | | | | for SAPI/PHP. Otherwise, SAPI will try to read (unsigned long) -1 bytes from the connection.
* Use generic getnameinfo for address-to-name translation, if available.Sascha Schumann2002-09-231-1/+18
| | | | | This adds support for IPv6 addresses.
* another startup initialization fix - only ISAPI and CGI SAPI's tested,Zeev Suraski2002-09-181-2/+1
| | | | | | minor compile buglets might occur in other SAPIs, but should be trivial to fix...
* integrate the public keep-alive patchSascha Schumann2002-07-141-9/+40
| | | | | | | | | the patch did not handle pipeling at all, so that some code had to be added from Premium thttpd persistent connections are supported, if a script sets the Content-Length header
* thttpd blocks in rare circumstances where it cannot write out a small HTTPSascha Schumann2002-07-141-2/+4
| | | | | | | | | response (happened at customer sites). The response is now written out using the standard state machine. the buffer which is handed to thttpd by php is now simply dealt with as if it were a thttpd generated response (avoids code duplication).
* make the sapi module hand off a buffer to thttpd for final data delivery,Sascha Schumann2002-07-141-16/+65
| | | | | instead of blocking the whole process
* Improve readability of the header send functionSascha Schumann2002-05-171-34/+33
|
* Provide access to ini settings.Sascha Schumann2001-12-131-2/+63
| | | | | Properly block the thread, if IO is not ready on a fd.
* Update headers.Sebastian Bergmann2001-12-111-2/+2
|
* Get rid of post_off-hack which was only suitable for POST dataSascha Schumann2001-10-271-12/+13
| | | | | | | which fit into the small thttpd read buffer. Do a small recv after content-length bytes have been read to accomodate non-conforming user-agents.
* Improved handling of postsSascha Schumann2001-10-271-2/+7
|
* Make the information available whether we are using HTTP/1.1Sascha Schumann2001-10-091-0/+7
|
* Add QUERY_STRING, HTTP_HOST, HTTP_ACCEPT_LANGUAGE to the scriptSascha Schumann2001-09-301-0/+12
| | | | | | | environment. Also support setting the INI path from the outside.
* Undo Z_ subst for sapi and ext/yazJeroen van Wolffelaar2001-09-271-1/+1
|
* Back-substitute for Z_* macro's. If it breaks some extension (the script ↵Jeroen van Wolffelaar2001-09-251-1/+1
| | | | isn't optimal, it parses for example var->zval.value incorrect) please let me know.
* A CRLF at the end of a line is not so wrong.Sascha Schumann2001-08-071-1/+1
|
* 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
|