summaryrefslogtreecommitdiff
path: root/src/BencodeVisitor.cc
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2008-01-10 15:12:32 +0000
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2008-01-10 15:12:32 +0000
commit9a7fe58c57999e1fff6887473048a96a8ede1736 (patch)
tree9820a7d1b2c6160ef13daecd49fbd7341d0540d9 /src/BencodeVisitor.cc
parentf412691770ec1c2a81567156f4cf23cb26b4e75d (diff)
2008-01-10 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
Fixed the bug that EX_TOO_LONG_PAYLOAD exception is thrown if just payload length(4bytes) are received. This happens because lenbufLength is not updated in this particular case and successive call of receiveMessage() overwrites payload length with bytes recieved which are payload body. * src/PeerConnection.cc * src/message.h
Diffstat (limited to 'src/BencodeVisitor.cc')
0 files changed, 0 insertions, 0 deletions