diff options
author | arcadia-devtools <arcadia-devtools@yandex-team.ru> | 2022-06-10 19:44:57 +0300 |
---|---|---|
committer | arcadia-devtools <arcadia-devtools@yandex-team.ru> | 2022-06-10 19:44:57 +0300 |
commit | 6288d1afd16dd209945b2dc6047c1bff822dd838 (patch) | |
tree | 4ed51b00fbc594588178cb58c928976b0ffe27dd /library | |
parent | 2c43eefa708ca732b77975f88db06d9110b8d9e6 (diff) | |
download | ydb-6288d1afd16dd209945b2dc6047c1bff822dd838.tar.gz |
intermediate changes
ref:cf978a76bc6d73679fd0ad941e177bc593e90f52
Diffstat (limited to 'library')
-rw-r--r-- | library/cpp/actors/http/http_proxy_sock_impl.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/library/cpp/actors/http/http_proxy_sock_impl.h b/library/cpp/actors/http/http_proxy_sock_impl.h index b5fd429462..83e5642d9d 100644 --- a/library/cpp/actors/http/http_proxy_sock_impl.h +++ b/library/cpp/actors/http/http_proxy_sock_impl.h @@ -40,7 +40,9 @@ struct TPlainSocketImpl : virtual public THttpConfig { void Shutdown() { //Socket->Socket.ShutDown(SHUT_RDWR); // KIKIMR-3895 - ::shutdown(Socket->Socket, SHUT_RDWR); + if (Socket) { + ::shutdown(Socket->Socket, SHUT_RDWR); + } } int Connect(SocketAddressType address) { |