diff options
| author | Shu Li <[email protected]> | 2021-05-21 19:51:12 +0800 |
|---|---|---|
| committer | Shu Li <[email protected]> | 2021-05-21 19:51:12 +0800 |
| commit | e1f1765d82ca852b704d19d4b575267eb1d3a057 (patch) | |
| tree | 0287876502d0813d7095d10c682f1d98d4644327 /src/HTTP_Message.h | |
| parent | a69f48f137d89d5c49d82adcd85d33f996143519 (diff) | |
支持URI可以不以'/'开始进行解析
Diffstat (limited to 'src/HTTP_Message.h')
| -rw-r--r-- | src/HTTP_Message.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/HTTP_Message.h b/src/HTTP_Message.h index 2bbf8bb..ee53695 100644 --- a/src/HTTP_Message.h +++ b/src/HTTP_Message.h @@ -247,6 +247,7 @@ void HTTP_GETPLUGID(unsigned short plugid); uchar http_judgeHeaderOver(http_parser_t *a_http, char *data, uint32 data_len, int thread_seq); uchar http_positioningACompleteLine(char del_space, http_parser_t *cur_http_node, struct streaminfo *a_tcp, int thread_seq); int http_add_proto_tag(int projetc_id, struct streaminfo *a_stream, const char* value, int len); +int http_host_parser(const char* buf, uint32 buflen, int http_dir, char** host); #ifdef __cplusplus } |
