mirror of
https://github.com/gnustep/libs-gsweb.git
synced 2025-04-23 23:48:46 +00:00
announce close connections for now. bug #24006
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@26822 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
14fdcc1b2c
commit
51c55c7647
2 changed files with 8 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
2008-08-28 David Wetzel <dave@turbocat.de>
|
||||
* bug #24006 keep-alive is not implemented.
|
||||
announce close connections for now
|
||||
|
||||
2008-08-20 David Wetzel <dave@turbocat.de>
|
||||
GSWeb.framework:
|
||||
* fixed many warnings
|
||||
|
|
|
@ -212,7 +212,10 @@ void _sendMessage(GSWMessage * message, NSFileHandle* fh, NSString * httpVersion
|
|||
_appendMessageHeaders(message,headers);
|
||||
|
||||
if ([httpVersion isEqualToString:HTTP11]) {
|
||||
if (keepAlive == NO) {
|
||||
// bug #24006 keep-alive is not implemented.
|
||||
// I am uable to reproduce the need for double clicking on links/forms,
|
||||
// but for now, we send close. -- dw
|
||||
if (YES /*keepAlive == NO*/) {
|
||||
[headers appendString:@"connection: close\r\n"];
|
||||
} else {
|
||||
[headers appendString:@"connection: keep-alive\r\n"];
|
||||
|
|
Loading…
Reference in a new issue