diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2008-03-09 12:24:01 +0000 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2008-03-09 12:24:01 +0000 |
| commit | 032c7c28083e17bdcfd763b3cf81447b06a07978 (patch) | |
| tree | e5cc5ceb050773165df41eb7f0aed3f2a48205a0 /src/HttpHeaderProcessor.h | |
| parent | ca3f6e57f35c67f67c3b4f64cedded8ca23237e8 (diff) | |
2008-03-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
type cleanup for allmost all remaining files.
Diffstat (limited to 'src/HttpHeaderProcessor.h')
| -rw-r--r-- | src/HttpHeaderProcessor.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/HttpHeaderProcessor.h b/src/HttpHeaderProcessor.h index 84fd14a3..fc6814d3 100644 --- a/src/HttpHeaderProcessor.h +++ b/src/HttpHeaderProcessor.h @@ -47,16 +47,16 @@ class HttpHeader; class HttpHeaderProcessor { private: std::stringstream strm; - int32_t _limit; + size_t _limit; - void checkHeaderLimit(int32_t incomingLength); + void checkHeaderLimit(size_t incomingLength); public: HttpHeaderProcessor(); ~HttpHeaderProcessor(); - void update(const unsigned char* data, int32_t length); + void update(const unsigned char* data, size_t length); void update(const std::string& data); @@ -68,7 +68,7 @@ public: /** * Retruns the number of bytes beyond the end of header. */ - int32_t getPutBackDataLength() const; + size_t getPutBackDataLength() const; std::pair<std::string, SharedHandle<HttpHeader> > getHttpStatusHeader(); @@ -76,7 +76,7 @@ public: void clear(); - void setHeaderLimit(int32_t limit) + void setHeaderLimit(size_t limit) { _limit = limit; } |
