wit liu
d5226ba29f
rpc: avoid unnecessary RST_STREAM, PING frames sent by client #33122 ( #1788 )
2025-11-24 10:59:19 +05:30
Daniel Liu
f19813e3ee
rpc: run tests in parallel #30384 ( #1021 )
...
Continuation of https://github.com/ethereum/go-ethereum/pull/30381
Co-authored-by: Håvard Anda Estensen <haavard.ae@gmail.com>
2025-05-06 09:41:42 +08:00
Daniel Liu
35a202675d
node, rpc: add configurable HTTP request limit #28948 ( #1010 )
...
Adds a configurable HTTP request limit, and bumps the engine default
Co-authored-by: Felix Lange <fjl@twurst.com>
2025-04-29 17:06:06 +08:00
Daniel Liu
a35bc8de19
rpc: support injecting HTTP headers through context #26023 ( #977 )
...
This adds a way to specify HTTP headers per request.
Co-authored-by: storyicon <storyicon@foxmail.com>
Co-authored-by: Martin Holst Swende <martin@swende.se>
Co-authored-by: Felix Lange <fjl@twurst.com>
2025-04-24 19:08:16 +08:00
Daniel Liu
69323a2dbf
rpc: add HTTPError type for HTTP error responses #22677 ( #956 )
...
The new error type is returned by client operations contains details of
the response error code and response body.
Co-authored-by: ryanc414 <ryan@tokencard.io>
Co-authored-by: Felix Lange <fjl@twurst.com>
2025-04-22 15:16:48 +08:00
Daniel Liu
54570300cc
all: ensure resp.body closed ( #26969 )
2024-12-13 14:00:13 +08:00
Daniel Liu
2844dbc5a9
rpc: fix staticcheck warning SA1029 by add PeerInfo ( #24255 )
2024-10-25 12:32:13 +08:00
Banana-J
39f6e6ee56
upgrade the websocket in xdpos ( #349 )
2023-11-06 15:37:14 +11:00
Péter Szilágyi
555f42cfd8
rpc: enforce the 128KB request limits on websockets too
2018-03-13 13:55:26 +02:00
Vitaly V
f258a21a63
rpc: use method constants instead of literal strings ( #15652 )
2017-12-12 19:12:32 +01:00
Zach
3da1bf8ca1
all: use gometalinter.v2, fix new gosimple issues ( #15650 )
2017-12-12 19:05:47 +01:00
Péter Szilágyi
3c6b9c5d72
rpc: minor cleanups to RPC PR
2017-11-17 14:25:02 +02:00
Armani Ferrante
c5b8569707
rpc: disallow PUT and DELETE on HTTP ( #15501 )
...
Fixes #15493
2017-11-17 13:07:11 +01:00