Close #72 修正在HTTP-REQ/RESP-BEGIN事件执行detach动作时段错误。
This commit is contained in:
@@ -490,7 +490,9 @@ struct http_frame_plugin_status
|
||||
unsigned int preempt_by;
|
||||
};
|
||||
|
||||
struct http_frame_session_ctx * http_frame_raise_session_begin(const tfe_stream * stream,
|
||||
struct http_frame_session_ctx * http_frame_alloc();
|
||||
|
||||
int http_frame_raise_session_begin(struct http_frame_session_ctx * ht_frame, const tfe_stream * stream,
|
||||
struct tfe_http_session * ht_session, unsigned int thread_id);
|
||||
|
||||
void http_frame_raise_session_end(struct http_frame_session_ctx * ht_frame, const tfe_stream * stream,
|
||||
|
||||
@@ -30,6 +30,7 @@
|
||||
#define likely(expr) __builtin_expect((expr), 1)
|
||||
#define unlikely(expr) __builtin_expect((expr), 0)
|
||||
|
||||
extern void * g_default_logger;
|
||||
#define TFE_LOG_ERROR(handler, fmt, ...) \
|
||||
do { fprintf(stderr, fmt "\n" , ##__VA_ARGS__); \
|
||||
MESA_handle_runtime_log(handler, RLOG_LV_FATAL, "tfe", fmt, ##__VA_ARGS__); } while(0)
|
||||
|
||||
Reference in New Issue
Block a user