--- parser3/src/include/pa_http.h 2023/09/26 20:49:07 1.34 +++ parser3/src/include/pa_http.h 2026/10/14 00:32:44 1.38 @@ -1,14 +1,14 @@ /** @file Parser: commonly used functions. - Copyright (c) 2001-2023 Art. Lebedev Studio (http://www.artlebedev.com) + Copyright (c) 2001-2026 Art. Lebedev Studio (https://www.artlebedev.com) Authors: Konstantin Morshnev , Alexandr Petrosian */ #ifndef PA_HTTP_H #define PA_HTTP_H -#define IDENT_PA_HTTP_H "$Id: pa_http.h,v 1.34 2023/09/26 20:49:07 moko Exp $" +#define IDENT_PA_HTTP_H "$Id: pa_http.h,v 1.38 2026/10/14 00:32:44 moko Exp $" #include "pa_vstring.h" #include "pa_vint.h" @@ -22,11 +22,6 @@ #ifdef _MSC_VER #include -#define socklen_t int -#else -#define closesocket close -#define INVALID_SOCKET -1 -typedef int SOCKET; #endif #ifndef DOXYGEN @@ -63,7 +58,7 @@ public: void clear(){ headers.clear(); - content_type=""; + content_type.clear(); content_length=0; }