Erik Grinaker
29035985c6
rpc: handle panics during panic handling (#4888)
Fixes #4802. The Go HTTP server has a global panic handler for requests, so it was not as severe as first thought. This fix can still panic, since we try to send a `500` response - if that happens, the Go HTTP server will terminate the connection. Otherwise, the client will get a 200 response, which we should avoid. I'm sort of torn on whether it's even necessary to include this fix, instead of just letting the HTTP server deal with it. |
5 years ago | |
---|---|---|
.. | ||
client | lite2/rpc: verify block results and validators (#4703) | 5 years ago |
core | lite2/rpc: verify block results and validators (#4703) | 5 years ago |
grpc | proto: minor linting to proto files (#4386) | 5 years ago |
lib | rpc: handle panics during panic handling (#4888) | 5 years ago |
swagger | lite2/rpc: verify block results and validators (#4703) | 5 years ago |
test | tests: bind test servers to 127.0.0.1 (#4322) | 5 years ago |