diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2008-09-14 12:51:30 +0000 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2008-09-14 12:51:30 +0000 |
| commit | 479a16edd6e416dbb846f1ce677a193f6f6bb087 (patch) | |
| tree | 1b75c056f41789a2647576366f3cd0319b81d9cd /src/FtpConnection.h | |
| parent | 495f02ebbceaf72c125d809f6ce38004b6dd580a (diff) | |
2008-09-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
Added upper limit of FTP response buffer. The current
implementation
uses 4096bytes as a limit.
* src/FtpConnection.cc
* src/FtpConnection.h
* test/FtpConnectionTest.cc
Diffstat (limited to 'src/FtpConnection.h')
| -rw-r--r-- | src/FtpConnection.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/FtpConnection.h b/src/FtpConnection.h index 78a586d1..b88bdc0e 100644 --- a/src/FtpConnection.h +++ b/src/FtpConnection.h @@ -71,6 +71,7 @@ private: static const std::string I; + static const size_t MAX_RECV_BUFFER = 4096; public: FtpConnection(int32_t cuid, const SharedHandle<SocketCore>& socket, const SharedHandle<Request>& req, const Option* op); |
