erigon-pulse/rpc
Ryan Schneider 5d7e18539e rpc: make HTTP RPC timeouts configurable, raise defaults (#17240)
* rpc: Make HTTP server timeout values configurable

* rpc: Remove flags for setting HTTP Timeouts, configuring via .toml is sufficient.

* rpc: Replace separate constants with a single default struct.

* rpc: Update HTTP Server Read and Write Timeouts to 30s.

* rpc: Remove redundant NewDefaultHTTPTimeouts function.

* rpc: document HTTPTimeouts.

* rpc: sanitize timeout values for library use
2018-07-31 12:16:14 +03:00
..
client_example_test.go all: import "context" instead of "golang.org/x/net/context" 2017-03-22 20:49:15 +01:00
client_test.go p2p: add network simulation framework (#14982) 2017-09-25 10:08:07 +02:00
client.go rpc: fixed comment grammar issue (#17146) 2018-07-09 11:31:59 +03:00
doc.go rpc: fix missing parentheses in doc (#17224) 2018-07-22 22:09:45 +03:00
endpoints.go rpc: make HTTP RPC timeouts configurable, raise defaults (#17240) 2018-07-31 12:16:14 +03:00
errors.go rpc: add new client, use it everywhere 2016-07-22 23:21:27 +02:00
http_test.go rpc: enforce the 128KB request limits on websockets too 2018-03-13 13:55:26 +02:00
http.go rpc: make HTTP RPC timeouts configurable, raise defaults (#17240) 2018-07-31 12:16:14 +03:00
inproc.go rpc: golint error with context as last parameter (#16657) 2018-05-03 11:41:22 +03:00
ipc_unix.go all: import "context" instead of "golang.org/x/net/context" 2017-03-22 20:49:15 +01:00
ipc_windows.go all: import "context" instead of "golang.org/x/net/context" 2017-03-22 20:49:15 +01:00
ipc.go rpc: clean up IPC handler (#16524) 2018-04-18 12:27:20 +02:00
json_test.go all: fix go vet warnings 2016-04-15 11:17:27 +02:00
json.go rpc: support returning nil pointer big.Ints (null) 2018-06-11 13:56:22 +03:00
server_test.go all: import "context" instead of "golang.org/x/net/context" 2017-03-22 20:49:15 +01:00
server.go rpc: clean up check for missing methods/subscriptions on handler (#17145) 2018-07-24 02:00:55 +02:00
subscription_test.go all: gofmt -w -s (#15419) 2017-11-08 11:45:52 +01:00
subscription.go rpc: fix megacheck warnings 2017-08-08 11:08:37 +02:00
types_test.go all: update license information (#16089) 2018-02-14 13:49:11 +01:00
types.go all: switch out defunct set library to different one (#16873) 2018-07-16 10:54:19 +03:00
utils_test.go rpc: format filter ID according to spec for quantities 2016-09-01 11:50:13 +02:00
utils.go rpc: support returning nil pointer big.Ints (null) 2018-06-11 13:56:22 +03:00
websocket.go all: switch out defunct set library to different one (#16873) 2018-07-16 10:54:19 +03:00