修改cache-client依赖hiredis(修改版)的CMakeList.txt,编译通过。

This commit is contained in:
zhengchao
2018-10-25 20:40:10 +08:00
parent 27d4581d9b
commit 96feddefb8
10 changed files with 51 additions and 763 deletions

View File

@@ -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;