Make the server include "Connection: close" in the headers of the replies
it actually will close. This is after all what HTTP 1.1 says a server should do.
This commit is contained in:
@@ -10,6 +10,7 @@ WWW-Authenticate: Blackmagic realm="gimme all yer s3cr3ts"
|
|||||||
WWW-Authenticate: Basic realm="gimme all yer s3cr3ts"
|
WWW-Authenticate: Basic realm="gimme all yer s3cr3ts"
|
||||||
WWW-Authenticate: Digest realm="gimme all yer s3cr3ts", nonce="11223344"
|
WWW-Authenticate: Digest realm="gimme all yer s3cr3ts", nonce="11223344"
|
||||||
Content-Type: text/html; charset=iso-8859-1
|
Content-Type: text/html; charset=iso-8859-1
|
||||||
|
Connection: close
|
||||||
|
|
||||||
This is not the real page
|
This is not the real page
|
||||||
</data>
|
</data>
|
||||||
@@ -21,6 +22,7 @@ HTTP/1.1 200 OK swsclose
|
|||||||
Server: Apache/1.3.27 (Darwin) PHP/4.1.2
|
Server: Apache/1.3.27 (Darwin) PHP/4.1.2
|
||||||
Content-Type: text/html; charset=iso-8859-1
|
Content-Type: text/html; charset=iso-8859-1
|
||||||
Content-Length: 23
|
Content-Length: 23
|
||||||
|
Connection: close
|
||||||
|
|
||||||
This IS the real page!
|
This IS the real page!
|
||||||
</data1000>
|
</data1000>
|
||||||
@@ -32,11 +34,13 @@ WWW-Authenticate: Blackmagic realm="gimme all yer s3cr3ts"
|
|||||||
WWW-Authenticate: Basic realm="gimme all yer s3cr3ts"
|
WWW-Authenticate: Basic realm="gimme all yer s3cr3ts"
|
||||||
WWW-Authenticate: Digest realm="gimme all yer s3cr3ts", nonce="11223344"
|
WWW-Authenticate: Digest realm="gimme all yer s3cr3ts", nonce="11223344"
|
||||||
Content-Type: text/html; charset=iso-8859-1
|
Content-Type: text/html; charset=iso-8859-1
|
||||||
|
Connection: close
|
||||||
|
|
||||||
HTTP/1.1 200 OK swsclose
|
HTTP/1.1 200 OK swsclose
|
||||||
Server: Apache/1.3.27 (Darwin) PHP/4.1.2
|
Server: Apache/1.3.27 (Darwin) PHP/4.1.2
|
||||||
Content-Type: text/html; charset=iso-8859-1
|
Content-Type: text/html; charset=iso-8859-1
|
||||||
Content-Length: 23
|
Content-Length: 23
|
||||||
|
Connection: close
|
||||||
|
|
||||||
This IS the real page!
|
This IS the real page!
|
||||||
</datacheck>
|
</datacheck>
|
||||||
|
|||||||
@@ -8,6 +8,7 @@ HTTP/1.1 401 Authorization Required swsclose
|
|||||||
Server: Apache/1.3.27 (Darwin) PHP/4.1.2
|
Server: Apache/1.3.27 (Darwin) PHP/4.1.2
|
||||||
WWW-Authenticate: Digest realm="testrealm", nonce="1053604145"
|
WWW-Authenticate: Digest realm="testrealm", nonce="1053604145"
|
||||||
Content-Type: text/html; charset=iso-8859-1
|
Content-Type: text/html; charset=iso-8859-1
|
||||||
|
Connection: close
|
||||||
|
|
||||||
This is not the real page
|
This is not the real page
|
||||||
</data>
|
</data>
|
||||||
@@ -18,6 +19,7 @@ This is not the real page
|
|||||||
HTTP/1.1 200 OK swsclose
|
HTTP/1.1 200 OK swsclose
|
||||||
Server: Apache/1.3.27 (Darwin) PHP/4.1.2
|
Server: Apache/1.3.27 (Darwin) PHP/4.1.2
|
||||||
Content-Type: text/html; charset=iso-8859-1
|
Content-Type: text/html; charset=iso-8859-1
|
||||||
|
Connection: close
|
||||||
|
|
||||||
This IS the real page!
|
This IS the real page!
|
||||||
</data1000>
|
</data1000>
|
||||||
@@ -27,10 +29,12 @@ HTTP/1.1 401 Authorization Required swsclose
|
|||||||
Server: Apache/1.3.27 (Darwin) PHP/4.1.2
|
Server: Apache/1.3.27 (Darwin) PHP/4.1.2
|
||||||
WWW-Authenticate: Digest realm="testrealm", nonce="1053604145"
|
WWW-Authenticate: Digest realm="testrealm", nonce="1053604145"
|
||||||
Content-Type: text/html; charset=iso-8859-1
|
Content-Type: text/html; charset=iso-8859-1
|
||||||
|
Connection: close
|
||||||
|
|
||||||
HTTP/1.1 200 OK swsclose
|
HTTP/1.1 200 OK swsclose
|
||||||
Server: Apache/1.3.27 (Darwin) PHP/4.1.2
|
Server: Apache/1.3.27 (Darwin) PHP/4.1.2
|
||||||
Content-Type: text/html; charset=iso-8859-1
|
Content-Type: text/html; charset=iso-8859-1
|
||||||
|
Connection: close
|
||||||
|
|
||||||
This IS the real page!
|
This IS the real page!
|
||||||
</datacheck>
|
</datacheck>
|
||||||
|
|||||||
Reference in New Issue
Block a user