HomePhabricator

Do not kill connections on recv buffer overflow
a9d9f0f5f72aUnpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

Do not kill connections on recv buffer overflow

Instead of killing a connection when the receive buffer overflows,
just temporarily halt receiving before that happens. Also, no
matter what, always allow at least one full message in the receive
buffer (otherwise blocks larger than the configured buffer size
would pause indefinitely).

Details

Provenance
Pieter Wuille <pieter.wuille@gmail.com>Authored on Apr 30 2013, 16:42
schancelPushed on Jan 5 2018, 21:58
schancelPushed on Jan 5 2018, 21:39
schancelPushed on Jan 5 2018, 21:17
Parents
rSTAGING1c621e70bee7: Merge pull request #2583 from laanwj/2013_04_netbase_bitfield
Branches
Unknown
Tags
Unknown

Event Timeline

Pieter Wuille <pieter.wuille@gmail.com> committed rSTAGINGa9d9f0f5f72a: Do not kill connections on recv buffer overflow (authored by Pieter Wuille <pieter.wuille@gmail.com>).May 1 2013, 18:56