• Matthew Slipper's avatar
    proxyd: Handle oversize requests/backend responses · a3b09d17
    Matthew Slipper authored
    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.
    a3b09d17
Name
Last commit
Last update
..
cmd/proxyd Loading commit data...
integration_tests Loading commit data...
pkg/avg-sliding-window Loading commit data...
tools/mockserver Loading commit data...
.gitignore Loading commit data...
CHANGELOG.md Loading commit data...
Dockerfile Loading commit data...
Makefile Loading commit data...
README.md Loading commit data...
backend.go Loading commit data...
backend_test.go Loading commit data...
cache.go Loading commit data...
cache_test.go Loading commit data...
config.go Loading commit data...
consensus_poller.go Loading commit data...
consensus_tracker.go Loading commit data...
entrypoint.sh Loading commit data...
errors.go Loading commit data...
example.config.toml Loading commit data...
frontend_rate_limiter.go Loading commit data...
frontend_rate_limiter_test.go Loading commit data...
go.mod Loading commit data...
go.sum Loading commit data...
methods.go Loading commit data...
metrics.go Loading commit data...
proxyd.go Loading commit data...
reader.go Loading commit data...
reader_test.go Loading commit data...
redis.go Loading commit data...
rewriter.go Loading commit data...
rewriter_test.go Loading commit data...
rpc.go Loading commit data...
rpc_test.go Loading commit data...
server.go Loading commit data...
string_set.go Loading commit data...
tls.go Loading commit data...