diff --git a/ydb/library/yql/providers/common/http_gateway/yql_http_gateway.cpp b/ydb/library/yql/providers/common/http_gateway/yql_http_gateway.cpp index 45b446879f2c..36d366839627 100644 --- a/ydb/library/yql/providers/common/http_gateway/yql_http_gateway.cpp +++ b/ydb/library/yql/providers/common/http_gateway/yql_http_gateway.cpp @@ -758,7 +758,7 @@ friend class IHTTPGateway; curl_easy_pause(streamHandle, CURLPAUSE_RECV_CONT); break; case TEasyCurlStream::EAction::Stop: - curl_easy_pause(streamHandle, CURL_WRITEFUNC_PAUSE); + curl_easy_pause(streamHandle, CURLPAUSE_RECV); break; case TEasyCurlStream::EAction::Drop: curl_multi_remove_handle(Handle, streamHandle);