Sascha Schumann
3837327f43
MFH
2003-05-15 16:43:29 +00:00
Sascha Schumann
c53c056477
MFH
2003-05-12 01:29:41 +00:00
Sascha Schumann
6db735215a
MFH
2003-05-12 01:03:47 +00:00
Sascha Schumann
2b2187ea33
MFH
2003-05-06 19:18:07 +00:00
Sascha Schumann
4e340d5e6c
fix typo
2003-05-06 10:15:59 +00:00
Sascha Schumann
5696b0327f
improve portability
2003-05-06 10:14:39 +00:00
Sascha Schumann
19e8346959
cleanup
2003-05-01 20:50:26 +00:00
Sascha Schumann
d6302ef69d
Fix Content-Encoding header lacking CRLF
2003-04-28 22:06:54 +00:00
Sascha Schumann
1719d0062c
MFH
2003-04-21 01:09:33 +00:00
Sascha Schumann
e533fe138b
fix two uninitialized reads
2003-04-16 13:44:05 +00:00
Sascha Schumann
aa6e7433bc
MFH
2003-04-16 13:37:54 +00:00
Sascha Schumann
72a2ec5d85
MFH
2003-04-16 09:21:45 +00:00
Sascha Schumann
614a83e555
some improvements
2003-02-19 11:01:38 +00:00
Sascha Schumann
69a24f699d
MFH
2003-02-13 02:30:54 +00:00
Sascha Schumann
ac9dd33e9a
MFH
2003-02-13 02:25:35 +00:00
Sascha Schumann
55d7aa9142
MFH, fully selfcontained, my risk
2003-02-11 01:00:59 +00:00
Sascha Schumann
6cfa5ae855
MFH 0/-1 changes
2003-02-09 21:28:49 +00:00
Sascha Schumann
6b398307a3
MFH POST fixes
2003-01-17 19:11:38 +00:00
Sascha Schumann
18d55a08b3
MFH
2003-01-15 11:32:31 +00:00
Sebastian Bergmann
03d440e1c0
MFH: Bump year.
2002-12-31 16:27:40 +00:00
Sascha Schumann
a8136b4dba
Defend against pipelined requests on persistent connections as used by
...
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.
2002-11-10 15:21:13 +00:00
Sascha Schumann
f2f443f066
s/PHP_API/PHP_API_VERSION/
2002-11-08 13:29:32 +00:00
Sascha Schumann
8d25447f30
let this source file compile with php 4.2.x
2002-11-07 11:56:02 +00:00
Sascha Schumann
eb0141913c
Add two missing entries
2002-11-07 11:38:03 +00:00
Sascha Schumann
10a861f93c
- use TCP_DEFER_ACCEPT
...
- 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
2002-11-06 17:31:03 +00:00
Sascha Schumann
082d9c4936
Simplify handler dispatching mechanism
2002-11-01 11:51:35 +00:00
Sascha Schumann
1a7a5b3982
Add missing return statement.
2002-11-01 11:44:50 +00:00
Sascha Schumann
1d2eb7c485
update
2002-11-01 11:41:08 +00:00
Sascha Schumann
7d504b230c
improve host header checking, only affects systems which have virtual
...
hosting enabled
2002-11-01 11:40:26 +00:00
Sascha Schumann
55879b3543
first step towards asynchronous content body processing
2002-10-30 19:09:49 +00:00
Sascha Schumann
ed15104099
s/-//
2002-10-26 22:27:45 +00:00
Sascha Schumann
40b93fa16d
add phppat/phpspat configuration file support and
...
fix some indention
2002-10-26 22:22:34 +00:00
Sascha Schumann
e077e0debe
update and extend
2002-10-26 22:22:07 +00:00
Sascha Schumann
7a0850a344
Fix build and .phps support
2002-10-26 21:06:10 +00:00
Sascha Schumann
01bdc2e369
experimental .phps support
2002-10-26 20:55:41 +00:00
Sascha Schumann
c46ed2114e
not sure what this async_send is doing in here, so relieve it from its duty.
2002-10-26 20:45:35 +00:00
Sascha Schumann
7b3bea0b41
Donate "Fast Accept Loop" from Premium thttpd which speeds up processing
...
new connections when the connection table contains lots of entries.
2002-10-26 19:41:27 +00:00
Sascha Schumann
467fea036a
Donate "Periodic Connection Expiring" from Premium thttpd, because
...
it is simple and gives a +40% improvement in terms of requests/s
when serving static files.
2002-10-26 18:14:45 +00:00
Sascha Schumann
b9135d74e9
some system headers (irix) define sa_len
...
prefix sa_len with x
2002-10-26 15:47:22 +00:00
Sascha Schumann
0a80a78670
thttpd initializes contentlength to -1, so we need to transfer that to 0
...
for SAPI/PHP. Otherwise, SAPI will try to read (unsigned long) -1 bytes
from the connection.
2002-10-25 01:10:50 +00:00
Sascha Schumann
47a1421d89
Redo the patch on Linux, the cygwin diff seems to be a bit broken.
2002-10-13 11:54:08 +00:00
Sascha Schumann
356f7503fa
PHP + thttpd (+IRCG) build using CYGWIN now
2002-10-13 11:50:16 +00:00
Sascha Schumann
4f61b16768
Remove set .x
2002-10-13 11:28:34 +00:00
Sascha Schumann
240cdb743e
Use if block rather than an or expression
2002-10-13 11:28:06 +00:00
Sascha Schumann
1f18eaadee
Force /nocache/ entities to be delivered completely, even if a
...
broken proxy ignores our anti-cache headers and sends an IMS request.
2002-09-23 15:41:44 +00:00
Sascha Schumann
625e7b202b
Use generic getnameinfo for address-to-name translation, if available.
...
This adds support for IPv6 addresses.
2002-09-23 00:49:12 +00:00
Sascha Schumann
c74f96333f
Immediately unmap /nocache/ entries, so that the mmc cache does not get
...
polluted too much.
2002-09-21 17:23:15 +00:00
Zeev Suraski
76312b4508
another startup initialization fix - only ISAPI and CGI SAPI's tested,
...
minor compile buglets might occur in other SAPIs, but should be trivial
to fix...
2002-09-18 21:57:42 +00:00
Sascha Schumann
8fd3f14ab1
Fix segfault due to unchecked null pointer
2002-07-26 16:16:12 +00:00
Sascha Schumann
1326c95b29
refine
2002-07-16 16:24:15 +00:00