log管理器内存分配池化,修复部分log写入部分与内存池部分存在的恶性bug
This commit is contained in:
@ -2,10 +2,11 @@
|
||||
#define HTTP_REL
|
||||
|
||||
#include "config.h"
|
||||
#include "memctl/memctl.h"
|
||||
|
||||
typedef struct httpbuf{
|
||||
char *buf;
|
||||
int size;
|
||||
char buf[MEM_BLOCK_SIZE-5];
|
||||
}httpbuf;//http分块结构体
|
||||
|
||||
char *recv_http_request(int cfd);
|
||||
|
||||
Reference in New Issue
Block a user