diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2016-07-20 22:42:29 +0900 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2016-07-20 22:42:29 +0900 |
| commit | 9a63e59104b5e32c3542ce36eeef0dd47dfa2da5 (patch) | |
| tree | a56dd29b75273c7f08cacb216e4d74f3877c7693 /src/BtConstants.h | |
| parent | 537b8659d27c9da63c818f4e24f84a7ff2a5760a (diff) | |
Extend maximum BitTorrent incoming payload size to 64KiB
Diffstat (limited to 'src/BtConstants.h')
| -rw-r--r-- | src/BtConstants.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/BtConstants.h b/src/BtConstants.h index 16736847..c6b3e51b 100644 --- a/src/BtConstants.h +++ b/src/BtConstants.h @@ -46,7 +46,7 @@ constexpr size_t PIECE_HASH_LENGTH = 20; constexpr size_t PEER_ID_LENGTH = 20; -constexpr size_t MAX_BLOCK_LENGTH = 32_k; +constexpr size_t MAX_BLOCK_LENGTH = 64_k; constexpr size_t DEFAULT_MAX_OUTSTANDING_REQUEST = 6; |
