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
  • Loading branch information
qris committed Nov 10, 2017
1 parent cc14b3b commit ca39b88
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/httpserver/S3Simulator.cpp
Original file line number Diff line number Diff line change
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 ca39b88

Please sign in to comment.