rpc: work-around an upstream libevent bug
commit6b58360f9b64eb0b680a662fdfd590e47f115f44
authorCory Fields <cory-nospam-@coryfields.com>
Wed, 1 Nov 2017 16:02:57 +0000 (1 12:02 -0400)
committerCory Fields <cory-nospam-@coryfields.com>
Wed, 1 Nov 2017 21:49:07 +0000 (1 17:49 -0400)
tree2e80850dcc9c56af25f4771648b67179994dee35
parentcffa5ee132f3ef6a8d138eb98d15da2b61999ca4
rpc: work-around an upstream libevent bug

A rare race condition may trigger while awaiting the body of a message, see
upsteam commit 5ff8eb26371c4dc56f384b2de35bea2d87814779 for details.

This may fix some reported rpc hangs/crashes.
src/httpserver.cpp