完成HTTP请求侧解析调试,可以解析请求的URL。
* 增加插件管理功能(简单实现),可以调用解析层插件; * 调整HTTP请求侧解析回调函数实现; * 增加hexdump工具函数;
This commit is contained in:
24
common/src/tfe_http.cpp
Normal file
24
common/src/tfe_http.cpp
Normal file
@@ -0,0 +1,24 @@
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <tfe_http.h>
|
||||
|
||||
const char * tfe_http_field_read(const struct tfe_http_half * half, const struct http_field_name * name)
|
||||
{
|
||||
return NULL;
|
||||
}
|
||||
|
||||
int tfe_http_field_write(struct tfe_http_half * half, const struct http_field_name * name, const char * value)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
struct tfe_http_half * tfe_http_request_create(int major_version, int method, const char * uri, const char * host)
|
||||
{
|
||||
return NULL;
|
||||
}
|
||||
|
||||
struct tfe_http_half * tfe_http_response_create(int major_version, int resp_code)
|
||||
{
|
||||
return NULL;
|
||||
}
|
||||
Reference in New Issue
Block a user