summaryrefslogtreecommitdiff
path: root/sapi/thttpd/thttpd.c
Commit message (Collapse)AuthorAgeFilesLines
* Happy New YearXinchen Hui2013-01-011-1/+1
|
* - Year++Felipe Pena2012-01-011-1/+1
|
* - Year++Felipe Pena2011-01-011-1/+1
|
* sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.phpSebastian Bergmann2010-01-031-1/+1
|
* MFH: Bump copyright year, 3 of 3.Sebastian Bergmann2008-12-311-1/+1
|
* Add new empty child terminate sapi hook to the rest of the sapisRasmus Lerdorf2008-03-181-0/+1
|
* MFH: Bump copyright year, 2 of 2.Sebastian Bergmann2007-12-311-1/+1
|
* MFH: Bump year.Sebastian Bergmann2007-01-011-1/+1
|
* bump year and license versionfoobar2006-01-011-3/+3
|
* - Bumber up yearfoobar2005-08-031-1/+1
|
* Fix for bug #32263Rasmus Lerdorf2005-03-141-0/+2
| | | | | | | | | 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.
* Add the new request_time sapi struct entry to all the sapis. Some of theseRasmus Lerdorf2004-12-201-0/+1
| | | | | | | may have ways of getting the request time without the extra syscall, but for now let's just make sure we don't crash and people will eventually fill these in where applicable.
* - 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
|