增加Per Stream摘要日志功能,修正TCP上、下游连接不能联动关闭的问题。
* 增加Per Stream摘要日志功能,记录连接四元组、HTTP URL等关键信息,便于调试; * 原实现在上游连接关闭时,不能关闭下游连接(反之亦然),现修正。
This commit is contained in:
@@ -95,4 +95,7 @@ void tfe_stream_resume(struct promise * promise);
|
||||
int tfe_stream_shutdown(const struct tfe_stream * stream);
|
||||
int tfe_stream_shutdown_dir(const struct tfe_stream * stream, enum tfe_conn_dir dir);
|
||||
|
||||
|
||||
/**
|
||||
* @brief Write linear text for given stream
|
||||
*/
|
||||
void tfe_stream_write_log(const struct tfe_stream * stream, int level, const char * fmt, ...);
|
||||
|
||||
Reference in New Issue
Block a user