plugeth/rpc
Koichi Shiraishi f0b5af74a3
rpc: avoid use of cgo by hard-coding maxPathSize (#27447)
Package rpc uses cgo to find the maximum UNIX domain socket path 
length. If exceeded, a warning is printed. This is the only use of cgo in this
package. It seems excessive to depend on cgo just for this warning, so
we now hard-code the usual limit for Linux instead.

---------

Co-authored-by: Felix Lange <fjl@twurst.com>
2023-06-19 08:06:58 +02:00
..
testdata rpc: add limit for batch request items and response size (#26681) 2023-06-13 13:38:58 +02:00
client_example_test.go
client_opt_test.go
client_opt.go rpc: add limit for batch request items and response size (#26681) 2023-06-13 13:38:58 +02:00
client_test.go rpc: add limit for batch request items and response size (#26681) 2023-06-13 13:38:58 +02:00
client.go rpc: add method to test for subscription support (#25942) 2023-06-14 14:04:41 +02:00
context_headers.go
doc.go
endpoints.go
errors.go rpc: add method to test for subscription support (#25942) 2023-06-14 14:04:41 +02:00
handler.go rpc: add method to test for subscription support (#25942) 2023-06-14 14:04:41 +02:00
http_test.go
http.go rpc: add limit for batch request items and response size (#26681) 2023-06-13 13:38:58 +02:00
inproc.go rpc: add limit for batch request items and response size (#26681) 2023-06-13 13:38:58 +02:00
ipc_js.go
ipc_unix.go rpc: avoid use of cgo by hard-coding maxPathSize (#27447) 2023-06-19 08:06:58 +02:00
ipc_windows.go
ipc.go rpc: add limit for batch request items and response size (#26681) 2023-06-13 13:38:58 +02:00
json.go
metrics.go
server_test.go rpc: add limit for batch request items and response size (#26681) 2023-06-13 13:38:58 +02:00
server.go rpc: add limit for batch request items and response size (#26681) 2023-06-13 13:38:58 +02:00
service.go rpc: more accurate checking of handler method signatures (#27287) 2023-05-17 12:27:51 +02:00
stdio.go rpc: add limit for batch request items and response size (#26681) 2023-06-13 13:38:58 +02:00
subscription_test.go
subscription.go rpc: add method to test for subscription support (#25942) 2023-06-14 14:04:41 +02:00
testservice_test.go
types_test.go
types.go rpc: change BlockNumber constant values to match ethclient (#27219) 2023-05-23 13:18:38 +02:00
websocket_test.go
websocket.go rpc: add limit for batch request items and response size (#26681) 2023-06-13 13:38:58 +02:00