diff options
author | Thomas E. Dickey <dickey@invisible-island.net> | 2015-12-17 02:00:47 -0500 |
---|---|---|
committer | Thomas E. Dickey <dickey@invisible-island.net> | 2015-12-17 02:00:47 -0500 |
commit | 8ab37dfd02e89e899872656c31264789f82deb34 (patch) | |
tree | 3cb19e274054edb07d9e45820d18a9e05a6e99fa /WWW/Library/Implementation | |
parent | 23f95f50e6b05b7c313f3ccf879aca3b03799c0c (diff) | |
download | lynx-snapshots-8ab37dfd02e89e899872656c31264789f82deb34.tar.gz |
snapshot of project "lynx", label v2-8-9dev_6q
Diffstat (limited to 'WWW/Library/Implementation')
-rw-r--r-- | WWW/Library/Implementation/HTTP.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/WWW/Library/Implementation/HTTP.c b/WWW/Library/Implementation/HTTP.c index 30edc891..6a6eb2fc 100644 --- a/WWW/Library/Implementation/HTTP.c +++ b/WWW/Library/Implementation/HTTP.c @@ -1,5 +1,5 @@ /* - * $LynxId: HTTP.c,v 1.148 2015/12/16 01:54:03 tom Exp $ + * $LynxId: HTTP.c,v 1.149 2015/12/17 02:00:47 tom Exp $ * * HyperText Tranfer Protocol - Client implementation HTTP.c * ========================== @@ -17,7 +17,7 @@ #include <HTNews.h> #endif -#define HTTP_VERSION "HTTP/1.0" +#define HTTP_VERSION "HTTP/1.1" #define HTTP_PORT 80 #define HTTPS_PORT 443 @@ -1186,6 +1186,7 @@ static int HTLoadHTTP(const char *arg, HTBprintf(&command, "Host: %s%c%c", host, CR, LF); FREE(host); } + HTBprintf(&command, "Connection: close%c%c", CR, LF); if (!HTPresentations) HTFormatInit(); |