改用自行实现的http读取与解析,同时修复部分bug
This commit is contained in:
@ -1,7 +1,13 @@
|
||||
#ifndef HTTP_REL
|
||||
#define HTTP_REL
|
||||
|
||||
const char *http_get_body(const char *buf);
|
||||
#include "config.h"
|
||||
|
||||
typedef struct httpbuf{
|
||||
char *buf;
|
||||
int size;
|
||||
}httpbuf;//http分块结构体
|
||||
|
||||
char *recv_http_request(int cfd);
|
||||
int init_http_network(int port, log_manager *logger);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user