mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 15:42:02 +00:00
first attempt
This commit is contained in:
parent
e6cf8b675f
commit
7c6312fcb2
@ -610,6 +610,7 @@ void HTTPHandler::trySendExceptionToClient(const std::string & s, int exception_
|
||||
{
|
||||
try
|
||||
{
|
||||
response.set("X-ClickHouse-Exception-Code", toString<int>(exception_code));
|
||||
/// If HTTP method is POST and Keep-Alive is turned on, we should read the whole request body
|
||||
/// to avoid reading part of the current request body in the next request.
|
||||
if (request.getMethod() == Poco::Net::HTTPRequest::HTTP_POST
|
||||
|
Loading…
Reference in New Issue
Block a user