Revision 1bb7e31d63e72e1017ac68a61a498b22a137a028 authored by Ethan Buchman on 05 December 2018, 00:16:06 UTC, committed by GitHub on 05 December 2018, 00:16:06 UTC
* p2p: panic on transport error

Addresses #2823. Currently, the acceptRoutine exits if the transport returns
an error trying to accept a new connection. Once this happens, the node
can't accept any new connections. So here, we panic instead. While we
could potentially be more intelligent by rerunning the acceptRoutine, the
error may indicate something more fundamental (eg. file desriptor limit)
that requires a restart anyways. We can leave it to process managers to
handle that restart, and notify operators about the panic.

* changelog
1 parent 222b897
History
File Mode Size
.circleci
.github
DOCKER
abci
benchmarks
blockchain
cmd
config
consensus
crypto
docs
evidence
libs
lite
mempool
networks
node
p2p
privval
proxy
rpc
scripts
state
test
tools
types
version
.editorconfig -rw-r--r-- 280 bytes
.gitignore -rw-r--r-- 481 bytes
CHANGELOG.md -rw-r--r-- 71.8 KB
CHANGELOG_PENDING.md -rw-r--r-- 432 bytes
CODE_OF_CONDUCT.md -rw-r--r-- 4.9 KB
CONTRIBUTING.md -rw-r--r-- 6.9 KB
Gopkg.lock -rw-r--r-- 15.2 KB
Gopkg.toml -rw-r--r-- 2.4 KB
LICENSE -rw-r--r-- 11.1 KB
Makefile -rw-r--r-- 10.5 KB
README.md -rw-r--r-- 6.4 KB
ROADMAP.md -rw-r--r-- 861 bytes
SECURITY.md -rw-r--r-- 1.7 KB
UPGRADING.md -rw-r--r-- 6.4 KB
Vagrantfile -rw-r--r-- 2.0 KB
appveyor.yml -rw-r--r-- 279 bytes
codecov.yml -rw-r--r-- 330 bytes
docker-compose.yml -rw-r--r-- 1.3 KB

README.md

back to top