Official Go implementation of the Ethereum protocol
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Valentin Trinqué
abd49a6c48
rpc: set Request.GetBody for client requests ( #24292 )
...
When talking to an HTTP2 server, there are situations where it needs to
"rewind" the Request.Body. To allow this, we have to set up the Request.GetBody
function to return a brand new instance of the body.
If not set, we can end up with the following error:
http2: Transport: cannot retry err [http2: Transport received Server's graceful shutdown GOAWAY] after Request.Body was written; define Request.GetBody to avoid this error
See this commit for more information: cffdcf672a
?visible=2
3 years ago
..
testdata
rpc: fix issue with null JSON-RPC messages ( #21497 )
4 years ago
client.go
rpc: add PeerInfo ( #24255 )
3 years ago
client_example_test.go
rpc: make ExampleClientSubscription work with the geth API ( #19483 )
5 years ago
client_test.go
core, miner, rpc, eth: fix goroutine leaks in tests ( #24211 )
3 years ago
constants_unix.go
all: add go:build lines ( #23468 )
3 years ago
constants_unix_nocgo.go
all: add go:build lines ( #23468 )
3 years ago
doc.go
rpc: remove 'exported or builtin' restriction for parameters ( #20332 )
5 years ago
endpoints.go
trie, rpc, cmd/geth: fix tests on 32-bit and windows + minor rpc fixes ( #21871 )
4 years ago
errors.go
eth/catalyst: implement kintsugi-spec v3 ( #24067 )
3 years ago
handler.go
rpc: fix time key collision for logger with json output ( #24112 )
3 years ago
http.go
rpc: set Request.GetBody for client requests ( #24292 )
3 years ago
http_test.go
rpc: add PeerInfo ( #24255 )
3 years ago
inproc.go
rpc, p2p/simulations: use github.com/gorilla/websocket ( #20289 )
5 years ago
ipc.go
rpc, p2p/simulations: use github.com/gorilla/websocket ( #20289 )
5 years ago
ipc_js.go
all: add go:build lines ( #23468 )
3 years ago
ipc_unix.go
all: add go:build lines ( #23468 )
3 years ago
ipc_windows.go
all: add go:build lines ( #23468 )
3 years ago
json.go
rpc: add PeerInfo ( #24255 )
3 years ago
metrics.go
rpc: metrics for JSON-RPC method calls ( #20847 )
5 years ago
server.go
rpc: add PeerInfo ( #24255 )
3 years ago
server_test.go
rpc: add PeerInfo ( #24255 )
3 years ago
service.go
rpc: remove 'exported or builtin' restriction for parameters ( #20332 )
5 years ago
stdio.go
rpc, p2p/simulations: use github.com/gorilla/websocket ( #20289 )
5 years ago
subscription.go
rpc: tighter shutdown synchronization in client subscription ( #22597 )
4 years ago
subscription_test.go
all: fix a bunch of inconsequential goroutine leaks ( #20667 )
5 years ago
testservice_test.go
rpc: add PeerInfo ( #24255 )
3 years ago
types.go
rpc: add PeerInfo ( #24255 )
3 years ago
types_test.go
rpc: add BlockNumber.MarshalText ( #23324 )
3 years ago
websocket.go
rpc: add PeerInfo ( #24255 )
3 years ago
websocket_test.go
rpc: add PeerInfo ( #24255 )
3 years ago