Skip to content

Commit

Permalink
S3Simulator: add some TRACE logging to help debug 100-continue responses
Browse files Browse the repository at this point in the history
(cherry picked from commit ca39b88)
  • Loading branch information
qris committed Jan 8, 2018
1 parent e00ba6e commit 4155544
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/httpserver/S3Simulator.cpp
Expand Up @@ -1235,10 +1235,12 @@ void S3Simulator::HandlePut(HTTPRequest &rRequest, HTTPResponse &rResponse)

if (rRequest.IsExpectingContinue())
{
BOX_TRACE("S3Simulator::HandlePut: sending Continue response");
rResponse.SendContinue();
}

rRequest.ReadContent(*apFile, GetTimeout());
BOX_TRACE("S3Simulator::HandlePut: read request data");
apFile->Seek(0, IOStream::SeekType_Absolute);

std::string digest;
Expand Down

0 comments on commit 4155544

Please sign in to comment.