File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -43,8 +43,8 @@ static const int TIMEOUT_INTERVAL = 20 * 60;
4343static const unsigned int MAX_INV_SZ = 50000 ;
4444/* * The maximum number of new addresses to accumulate before announcing. */
4545static const unsigned int MAX_ADDR_TO_SEND = 1000 ;
46- /* * Maximum length of incoming protocol messages (no message over 2 MiB is currently acceptable). */
47- static const unsigned int MAX_PROTOCOL_MESSAGE_LENGTH = 2 * 1024 * 1024 ;
46+ /* * Maximum length of incoming protocol messages (no message over 4 MB is currently acceptable). */
47+ static const unsigned int MAX_PROTOCOL_MESSAGE_LENGTH = 4 * 1000 * 1000 ;
4848/* * Maximum length of strSubVer in `version` message */
4949static const unsigned int MAX_SUBVERSION_LENGTH = 256 ;
5050/* * -listen default */
You can’t perform that action at this time.
0 commit comments