TSG-16126 修复Proxy Events日志中存在c2s和s2c有字节数为0的问题
This commit is contained in:
@@ -139,7 +139,6 @@ search_up_stream_data(const unsigned char * data, size_t len)
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
||||
static enum tfe_stream_action
|
||||
http2_stream_data(const struct tfe_stream * stream, unsigned int thread_id,
|
||||
enum tfe_conn_dir dir, const unsigned char * data, size_t len, void ** pme)
|
||||
|
||||
@@ -1928,7 +1928,9 @@ static int http2_on_stream_close(nghttp2_session *session, const nghttp2_frame *
|
||||
|
||||
h2_session = TAILQ_LIST_FIND(h2_stream_info, stream_id);
|
||||
if (!h2_session)
|
||||
return 0;
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
if (error_code != 0){
|
||||
const char *str = (dir == CONN_DIR_UPSTREAM) ? "Simulation s" : "Simulation c";
|
||||
TFE_LOG_DEBUG(logger()->handle, "%s close, id = %d, error_code = %d", str,
|
||||
|
||||
Reference in New Issue
Block a user