proxyd: Handle oversize requests/backend responses
Under certain conditions, users could provide batch requests that cause the upstream Geth nodes to return very large responses. These responses were being handled improperly, and rather than returning an error were being truncated and leading to backends being marked as offline. This issue extended to large client requests as well. This PR also enables `pprof` on proxyd, which was used to debug this problem.
Showing
This diff is collapsed.
proxyd/reader.go
0 → 100644
proxyd/reader_test.go
0 → 100644
Please register or sign in to comment