diff options
Diffstat (limited to 'src/HttpHeaderProcessor.cc')
| -rw-r--r-- | src/HttpHeaderProcessor.cc | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/HttpHeaderProcessor.cc b/src/HttpHeaderProcessor.cc index 51b83fad..8268f45b 100644 --- a/src/HttpHeaderProcessor.cc +++ b/src/HttpHeaderProcessor.cc @@ -35,23 +35,22 @@ #include "HttpHeaderProcessor.h" #include "message.h" #include "Util.h" +#include "DlRetryEx.h" +#include "DlAbortEx.h" void HttpHeaderProcessor::update(const char* data, int32_t length) - throw(DlAbortEx*) { checkHeaderLimit(length); strm.write(data, length); } void HttpHeaderProcessor::update(const string& data) - throw(DlAbortEx*) { checkHeaderLimit(data.size()); strm << data; } void HttpHeaderProcessor::checkHeaderLimit(int32_t incomingLength) - throw(DlAbortEx*) { strm.seekg(0, ios::end); if((int32_t)strm.tellg()+incomingLength > _limit) { @@ -88,7 +87,6 @@ void HttpHeaderProcessor::clear() } pair<string, HttpHeaderHandle> HttpHeaderProcessor::getHttpStatusHeader() - throw(DlRetryEx*) { strm.seekg(0, ios::beg); string line; |
