--- parser3/src/include/pa_http.h 2020/10/11 23:25:09 1.23 +++ parser3/src/include/pa_http.h 2020/10/14 00:07:42 1.25 @@ -8,7 +8,7 @@ #ifndef PA_HTTP_H #define PA_HTTP_H -#define IDENT_PA_HTTP_H "$Id: pa_http.h,v 1.23 2020/10/11 23:25:09 moko Exp $" +#define IDENT_PA_HTTP_H "$Id: pa_http.h,v 1.25 2020/10/14 00:07:42 moko Exp $" #include "pa_vstring.h" #include "pa_vint.h" @@ -99,7 +99,8 @@ public: void read_header(); size_t read_post(char *, size_t); - size_t send_body(const void *buf, size_t size); + size_t send_body(const void *, size_t); + void close(); }; class HTTPD_Server : public PA_Allocated {