使用缓存上传的future参数。
This commit is contained in:
@@ -599,7 +599,7 @@ static void __stream_bev_eventcb(struct bufferevent * bev, short events, void *
|
||||
__stream_bev_readcb(bev, arg);
|
||||
}
|
||||
|
||||
fprintf(stderr, "---- eventcb ----, stream = %p, event = %x, dir = %s\n", _stream, events, __str_dir);
|
||||
//fprintf(stderr, "---- eventcb ----, stream = %p, event = %x, dir = %s\n", _stream, events, __str_dir);
|
||||
goto __close_connection;
|
||||
}
|
||||
|
||||
@@ -621,8 +621,8 @@ __close_connection:
|
||||
|
||||
if (*ref_this_conn != NULL)
|
||||
{
|
||||
fprintf(stderr, "---- eventcb ----, close this connection, "
|
||||
"stream = %p, event = %x, dir = %s\n", _stream, events, __str_dir);
|
||||
//fprintf(stderr, "---- eventcb ----, close this connection, "
|
||||
// "stream = %p, event = %x, dir = %s\n", _stream, events, __str_dir);
|
||||
|
||||
assert((*ref_this_conn)->on_writing == 0);
|
||||
__conn_private_destory_with_ssl(ev_base, *ref_this_conn, *ref_this_ssl_stream);
|
||||
|
||||
Reference in New Issue
Block a user