summaryrefslogtreecommitdiff
path: root/sapi/thttpd/thttpd_patch
Commit message (Collapse)AuthorAgeFilesLines
* - Renamed all *php4* files to *php5*, changed all php4/PHP4 to php5/PHP5foobar2004-01-171-1/+1
|
* Embed date of last modificationSascha Schumann2003-10-141-1/+1
|
* Fix potential buffer overrunSascha Schumann2003-09-201-13/+22
|
* Simplify/fix loggingSascha Schumann2003-06-161-20/+20
|
* Don't corrupt data during request body handlingSascha Schumann2003-06-041-42/+63
|
* Properly timeout post requestsSascha Schumann2003-05-151-9/+12
|
* Don't emit Content-Length in a 304 replySascha Schumann2003-05-151-19/+31
| | | | | | Don't falsely claim HEAD method Add PHP to HTTP server string
* Improved protection against hostname attacksSascha Schumann2003-05-061-45/+44
|
* Fix Content-Encoding header lacking CRLFSascha Schumann2003-04-281-49/+50
|
* Properly update the global httpd_time_now and remove php_makefile from diffSascha Schumann2003-04-211-35/+35
|
* fix two uninitialized readsSascha Schumann2003-04-161-16/+41
|
* Merging some Premium thttpd improvements, notablySascha Schumann2003-04-161-111/+537
| | | | | | | | | | | | - periodic update of date strings - caching of Last-Modified values - use of smart_str'ings for crafting HTTP header (static files) and inside make_log_entry - buffered log writing - httpd_ntoa is about 8 times faster Overall improvement: Around 50% faster now
* include limits.h for portabilitySascha Schumann2003-02-131-54/+56
|
* Add "log to stdout" featureSascha Schumann2003-02-111-49/+69
|
* Fix POST handling once and for all. The daemon now never blocks and handlesSascha Schumann2003-01-171-71/+160
| | | | | | | | | | 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.
* Defend against pipelined requests on persistent connections as used bySascha Schumann2002-11-101-28/+38
| | | | | | | | | | | | | | | | | IRCG. These could cause thttpd to start a second request in the same connection context, and thereby causing real damage. Mozilla 1.0.1 is buggy in that context: When HTTP/1.1 pipelining is enabled (defaults to off), it will send any number of requests over a persistent connection (which is fine), even after it has received a "Connection: close" header field in a subsequent response header. This blatantly violates RFC 2616, section 8.1.2. Because it cannot receive any response on the dead connection, the download manager pops up and tries to download a file (which never arrives). Also, we don't try to send a 400 message anymore, if the connection dies.
* - use TCP_DEFER_ACCEPTSascha Schumann2002-11-061-50/+99
| | | | | | | - don't timeout connections which are managed by IRCG - don't generate invalid HTTP replies, if the client did not send a request line yet
* Simplify handler dispatching mechanismSascha Schumann2002-11-011-45/+46
|
* Add missing return statement.Sascha Schumann2002-11-011-23/+23
|
* improve host header checking, only affects systems which have virtualSascha Schumann2002-11-011-21/+33
| | | | | hosting enabled
* first step towards asynchronous content body processingSascha Schumann2002-10-301-66/+138
|
* add phppat/phpspat configuration file support andSascha Schumann2002-10-261-74/+156
| | | | | fix some indention
* experimental .phps supportSascha Schumann2002-10-261-36/+45
|
* Donate "Fast Accept Loop" from Premium thttpd which speeds up processingSascha Schumann2002-10-261-30/+99
| | | | | new connections when the connection table contains lots of entries.
* Donate "Periodic Connection Expiring" from Premium thttpd, becauseSascha Schumann2002-10-261-100/+190
| | | | | | it is simple and gives a +40% improvement in terms of requests/s when serving static files.
* Redo the patch on Linux, the cygwin diff seems to be a bit broken.Sascha Schumann2002-10-131-24/+24
|
* PHP + thttpd (+IRCG) build using CYGWIN nowSascha Schumann2002-10-131-67/+86
|
* Force /nocache/ entities to be delivered completely, even if aSascha Schumann2002-09-231-34/+58
| | | | | broken proxy ignores our anti-cache headers and sends an IMS request.
* Immediately unmap /nocache/ entries, so that the mmc cache does not getSascha Schumann2002-09-211-12/+108
| | | | | polluted too much.
* Fix segfault due to unchecked null pointerSascha Schumann2002-07-261-35/+37
|
* integrate the public keep-alive patchSascha Schumann2002-07-141-36/+598
| | | | | | | | | 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-68/+103
| | | | | | | | | 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-61/+459
| | | | | instead of blocking the whole process
* Sent proper encodings for gzip/compress files, otherwise IE won'tSascha Schumann2001-12-101-0/+12
| | | | | | | | | display them. Refer to section 3.5, RFC 2616 -- these are IANA registered. Patch submitted to author.
* Add a nocache feature: If documents are stored under /nocache/,Sascha Schumann2001-12-101-1/+23
| | | | | appropiate HTTP headers will be sent which prevent client/proxy caching.
* whoops, forgot to apply cgi/poll patch before diff'ingSascha Schumann2001-08-131-4/+39
|
* improved thttpd-2.21b patch.. I got tired of applying my patches forSascha Schumann2001-08-131-19/+53
| | | | | | | | | | | these bugs. fixes poll(2) issue fixes hanging cgi issue fixes off-by-one in scanning input buffers in case of EAGAIN/EWOULDBLOCK fixes potential bug in managing write buffers add "index.php" to default files to look for
* remove Only.* lines from patchSascha Schumann2001-04-221-3/+0
|
* Update patch to thttpd-2.21Sascha Schumann2001-04-221-30/+34
|
* Clear idle_read_timerSascha Schumann2000-11-151-4/+6
|
* Update patch and add persistent connection handlingSascha Schumann2000-11-131-14/+39
|
* Move thttpd_php_init() call to httpd_initialize().Sascha Schumann2000-08-211-15/+15
| | | | | | | Otherwise, some init stuff was done twice (like resetting the known_post_content_types hash table which caused post requests to fail).
* Execute PHP scripts everywhere (not only in the top-level directory)Sascha Schumann2000-08-201-1/+1
|
* Remove some crud from diff output (Only in..).Sascha Schumann2000-08-071-3/+0
|
* Fix building thttpd SAPI module.Sascha Schumann2000-08-071-25/+52
| | | | | | | | This works now with thttpd 2.19. Thanks to Andrzej Borsuk <andrzej.borsuk@alfaelektro.com.pl> for pointing me into the right direction.
* Add SAPI module for thttpd server. Quote from the README:Sascha Schumann1999-12-201-0/+85
This is a SAPI module for PHP 4.0 supporting thttpd, the tiny, turbo, throttling HTTP server by Jef Poskanzer. The module contains a patch against version 2.10 of thttpd. The patch adds hooks to thttpd to call PHP, if a filename matches *.php. This patch will be applied when you install PHP. While functional, this module exists primarily to demonstrate the ability of PHP to work in almost every web server environment.