comparison OrthancFramework/Sources/HttpServer/HttpOutput.cpp @ 5547:dca738d7846b

clarified error message
author Alain Mazy <am@osimis.io>
date Thu, 28 Mar 2024 17:49:04 +0100
parents 48b8dae6dc77
children 1b31ab38ea94
comparison
equal deleted inserted replaced
5546:42a33df3db3c 5547:dca738d7846b
73 //LOG(ERROR) << "This HTTP answer does not contain any body"; 73 //LOG(ERROR) << "This HTTP answer does not contain any body";
74 } 74 }
75 75
76 if (hasContentLength_ && contentPosition_ != contentLength_) 76 if (hasContentLength_ && contentPosition_ != contentLength_)
77 { 77 {
78 LOG(ERROR) << "This HTTP answer has not sent the proper number of bytes in its body"; 78 LOG(ERROR) << "This HTTP answer has not sent the proper number of bytes in its body. The remote client has likely closed the connection.";
79 } 79 }
80 } 80 }
81 81
82 82
83 void HttpOutput::StateMachine::SetHttpStatus(HttpStatus status) 83 void HttpOutput::StateMachine::SetHttpStatus(HttpStatus status)