http server return bugfix

This commit is contained in:
btsimonh
2022-02-06 20:25:19 +00:00
parent b98c074be9
commit 97142ea969
3 changed files with 44 additions and 9 deletions

View File

@@ -7,7 +7,9 @@ extern const char htmlHeader[];
extern const char htmlEnd[];
extern const char htmlReturnToMenu[];
int HTTP_ProcessPacket(const char *recvbuf, char *outbuf, int outBufSize);
typedef int (*http_send_fn)(int fd, const char *payload, int len);
int HTTP_ProcessPacket(const char *recvbuf, char *outbuf, int outBufSize, http_send_fn send, int socket);
void http_setup(char *o, const char *type);