Http keep alive

This commit is contained in:
lorenz.stechauner committed 2020-12-11 23:03:54 +01:00
1 parent e116b940b2
commit f7fc4fa801
6 files changed
+89 -13

No files matched your search

+10
View File
@@ -8,4 +8,14 @@
#ifndef NECRONDA_SERVER_HTTP_H
#define NECRONDA_SERVER_HTTP_H
typedef struct {
char method[8];
char *uri;
char version[3];
char field_num;
char *fields[64][2];
} http_req;
int http_receive_request(sock *client, http_req *req);
#endif //NECRONDA_SERVER_HTTP_H