Allocate receive buffers in on the fly #4381
pull sipa wants to merge 1 commits into bitcoin:master from sipa:dyndeser changing 1 files +5 −1-
sipa commented at 3:00 pm on June 21, 2014: member
-
Allocate receive buffers in on the fly 806fd19ecb
-
sipa commented at 3:19 pm on June 21, 2014: memberRight, in non-attack scenarios, we never over-allocate (not before and not after this patch). All it does is limit the overallocation by a non-sending stalling attacker to 256 KiB per connection.
-
jgarzik commented at 3:19 pm on June 21, 2014: contributorACK. comment deleted. Need my morning caffeine.
-
laanwj commented at 3:32 pm on June 21, 2014: member
If there would have been no hint in the protocol as to how much data to expect, the strategy to first allocate a small buffer would make a lot of sense.
tested ACK
-
BitcoinPullTester commented at 4:52 pm on June 21, 2014: noneAutomatic sanity-testing: PASSED, see http://jenkins.bluematt.me/pull-tester/806fd19ecba0d58bf238a7b6f78e080da03eb9c7 for binaries and test log. This test script verifies pulls every time they are updated. It, however, dies sometimes and fails to test properly. If you are waiting on a test, please check timestamps to verify that the test.log is moving at http://jenkins.bluematt.me/pull-tester/current/ Contact BlueMatt on freenode if something looks broken.
-
sipa merged this on Jun 22, 2014
-
sipa closed this on Jun 22, 2014
-
sipa referenced this in commit 6b40eabbcf on Jun 22, 2014
-
MarcoFalke locked this on Sep 8, 2021
github-metadata-mirror
This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2024-06-01 22:13 UTC
This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2024-06-01 22:13 UTC
This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me
More mirrored repositories can be found on mirror.b10c.me