diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2011-01-16 17:52:18 +0900 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2011-01-16 17:52:18 +0900 |
| commit | b2f27e6548ec5f13a0f5776612cb512cb0d30d4e (patch) | |
| tree | 122e2f32f2e899924d746e73bc442172fc1a7d8c /src/HttpServer.h | |
| parent | e60181d1ad73ef2ca873d8d2ba0e13a932f0751a (diff) | |
Check !SocketRecvBuffer::bufferEmpty() in ctor.
Also treat !SocketRecvBuffer::bufferEmpty() as data is available.
Diffstat (limited to 'src/HttpServer.h')
| -rw-r--r-- | src/HttpServer.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/HttpServer.h b/src/HttpServer.h index 2845631a..cdd1e40e 100644 --- a/src/HttpServer.h +++ b/src/HttpServer.h @@ -116,6 +116,11 @@ public: void disableGZip() { gzip_ = false; } uint64_t getContentLength() const { return lastContentLength_; } + + const SharedHandle<SocketRecvBuffer>& getSocketRecvBuffer() const + { + return socketRecvBuffer_; + } }; } // namespace aria2 |
