继续修改shutdown相关逻辑
This commit is contained in:
@@ -2109,6 +2109,7 @@ void ssl_stream_free_and_close_fd(struct ssl_stream * s_stream, struct event_bas
|
||||
}
|
||||
//sslshutctx = ssl_shutdown_ctx_new(s_stream, evbase);
|
||||
//pxy_ssl_shutdown_cb(fd, 0, sslshutctx);
|
||||
bufferevent_setcb(bev, NULL, NULL, NULL, NULL);
|
||||
SSL_set_shutdown(s_stream->ssl, SSL_RECEIVED_SHUTDOWN);
|
||||
SSL_shutdown(s_stream->ssl);
|
||||
bufferevent_disable(bev, EV_READ|EV_WRITE);
|
||||
|
||||
Reference in New Issue
Block a user