mirror of
https://github.com/yhirose/cpp-httplib
synced 2024-11-21 14:29:10 -07:00
Revert "Fix #697". (It broke unit test...)
This reverts commit 6d66721ba1
.
This commit is contained in:
parent
6d66721ba1
commit
536e7eb7f2
1 changed files with 2 additions and 2 deletions
|
@ -6104,12 +6104,12 @@ inline bool SSLClient::initialize_ssl(Socket &socket) {
|
|||
}
|
||||
|
||||
inline void SSLClient::close_socket(Socket &socket, bool process_socket_ret) {
|
||||
detail::close_socket(socket.sock);
|
||||
socket_.sock = INVALID_SOCKET;
|
||||
if (socket.ssl) {
|
||||
detail::ssl_delete(ctx_mutex_, socket.ssl, process_socket_ret);
|
||||
socket_.ssl = nullptr;
|
||||
}
|
||||
detail::close_socket(socket.sock);
|
||||
socket_.sock = INVALID_SOCKET;
|
||||
}
|
||||
|
||||
inline bool
|
||||
|
|
Loading…
Reference in a new issue