From 1f30bc83db54bfafc06958503c0d4b36dca30902 Mon Sep 17 00:00:00 2001 From: nishi Date: Tue, 6 Feb 2024 01:06:57 +0000 Subject: [PATCH] connection closed git-svn-id: file:///raid/svn-main/nishi-libw3/trunk@167 d27a3e52-49c5-7645-884c-6793ebffc270 --- Library/DNS.c | 1 + Library/HTTP.c | 2 +- W3Version.h.p | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Library/DNS.c b/Library/DNS.c index 0b2685c..2371344 100644 --- a/Library/DNS.c +++ b/Library/DNS.c @@ -15,6 +15,7 @@ #include #include #include +#include #endif #include diff --git a/Library/HTTP.c b/Library/HTTP.c index 0efb4e9..f201676 100644 --- a/Library/HTTP.c +++ b/Library/HTTP.c @@ -37,7 +37,7 @@ void __W3_HTTP_Request(struct W3* w3) { __W3_Auto_Write(w3, "\r\n", 2); } __W3_Auto_Write(w3, "Connection: ", 12); - __W3_Auto_Write(w3, "closed", 6); + __W3_Auto_Write(w3, "close", 5); __W3_Auto_Write(w3, "\r\n", 2); if(w3->headers != NULL) { int i; diff --git a/W3Version.h.p b/W3Version.h.p index fd5d7c4..dee9ce6 100644 --- a/W3Version.h.p +++ b/W3Version.h.p @@ -6,7 +6,7 @@ extern "C" { #endif -#define LIBW3_VERSION "2.2L" \ +#define LIBW3_VERSION "2.2M" \ SUFFIX #ifdef __cplusplus -- 2.43.0