comparison Core/HttpServer/HttpOutput.cpp @ 1200:1e1390665639 db-changes

fix sample
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 23 Oct 2014 14:42:11 +0200
parents da56a7916e8a
children 6e7e5ed91c2d
comparison
equal deleted inserted replaced
1199:a843ee8bb903 1200:1e1390665639
57 HttpOutput::StateMachine::~StateMachine() 57 HttpOutput::StateMachine::~StateMachine()
58 { 58 {
59 if (state_ != State_Done) 59 if (state_ != State_Done)
60 { 60 {
61 //asm volatile ("int3;"); 61 //asm volatile ("int3;");
62 LOG(ERROR) << "This HTTP answer does not contain any body"; 62 //LOG(ERROR) << "This HTTP answer does not contain any body";
63 } 63 }
64 64
65 if (hasContentLength_ && contentPosition_ != contentLength_) 65 if (hasContentLength_ && contentPosition_ != contentLength_)
66 { 66 {
67 LOG(ERROR) << "This HTTP answer has not sent the proper number of bytes in its body"; 67 LOG(ERROR) << "This HTTP answer has not sent the proper number of bytes in its body";