修改cache-client依赖hiredis(修改版)的CMakeList.txt,编译通过。
This commit is contained in:
@@ -587,8 +587,8 @@ static void __stream_bev_writecb(struct bufferevent * bev, void * arg)
|
||||
*ref_this_conn = NULL;
|
||||
*ref_this_ssl_stream = NULL;
|
||||
|
||||
fprintf(stderr, "---- writecb ----, close this connection, "
|
||||
"stream = %p, dir = %s\n", _stream, __str_dir);
|
||||
// fprintf(stderr, "---- writecb ----, close this connection, "
|
||||
// "stream = %p, dir = %s\n", _stream, __str_dir);
|
||||
}
|
||||
|
||||
if (*ref_peer_conn == NULL && *ref_this_conn == NULL)
|
||||
@@ -640,7 +640,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;
|
||||
}
|
||||
|
||||
@@ -662,8 +662,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);
|
||||
|
||||
__conn_private_destory_with_ssl(ev_base, *ref_this_conn, *ref_this_ssl_stream);
|
||||
*ref_this_conn = NULL;
|
||||
|
||||
Reference in New Issue
Block a user