summaryrefslogtreecommitdiff
path: root/regex/regexec.c
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>2002-11-10 15:21:13 +0000
committerSascha Schumann <sas@php.net>2002-11-10 15:21:13 +0000
commita8136b4dbad88cbf07276dd3a0f9aaf42810f63d (patch)
tree5bd67833f0f51907799357107d6264c112d46f6b /regex/regexec.c
parentd3da22fb95b8a6d4b53df52f9edc5e822f4b3715 (diff)
downloadphp-git-a8136b4dbad88cbf07276dd3a0f9aaf42810f63d.tar.gz
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.
Diffstat (limited to 'regex/regexec.c')
0 files changed, 0 insertions, 0 deletions