Felix Lange
fbdb44dcc1
cmd/utils, rpc/comms: stop XEth when IPC connection ends
...
There are a bunch of changes required to make this work:
- in miner: allow unregistering agents, fix RemoteAgent.Stop
- in eth/filters: make FilterSystem.Stop not crash
- in rpc/comms: move listen loop to platform-independent code
Fixes #1930 . I ran the shell loop there for a few minutes and didn't see
any changes in the memory profile.
9 years ago
Bas van Kervel
c3c5f8b654
rpc: fixed params parsing problem which could lead to a panic
...
check argument type before parsing params
recover from panic in ipc channel
9 years ago
Péter Szilágyi
3e6964b841
rpc/comms: fix #1795 , ensure IPC path exists before binding
9 years ago
Hector Chu
4ea81f170a
rpc/comms: fix bug attaching the console over http
9 years ago
Bas van Kervel
d910148a96
Set ipc channel as user agent client
9 years ago
Bas van Kervel
9bf17eb05a
rpc/comms reconnect ipc client after write error
9 years ago
Jeffrey Wilcke
269c5c7107
Revert "fdtrack: temporary hack for tracking file descriptor usage"
...
This reverts commit 5c949d3b3b
.
9 years ago
Bas van Kervel
f9cbd16f27
support for user agents
9 years ago
Felix Lange
5c949d3b3b
fdtrack: temporary hack for tracking file descriptor usage
...
Package fdtrack logs statistics about open file descriptors.
This should help identify the source of #1549 .
9 years ago
Felix Lange
ba14957cf3
rpc/comms: use ConnState to track HTTP connections
...
The JSON-RPC server wraps TCP connections in order to be able to shut
down them down when RPC is stopped. This is rather scary code. Go 1.3
introduced the http.Server.ConnState hook for such purposes. We can use
this facility now that we depend on Go 1.4.
There are multiple reasons for the switch apart from making the code
less scary:
* the TCP listener no longer ticks every second to check a channel
* pending requests are allowed to finish after stopping the server
* we can time out idle keep-alive connections
9 years ago
Felix Lange
bfbcfbe4a9
all: fix license headers one more time
...
I forgot to update one instance of "go-ethereum" in commit 3f047be5a
.
9 years ago
Felix Lange
3f047be5aa
all: update license headers to distiguish GPL/LGPL
...
All code outside of cmd/ is licensed as LGPL. The headers
now reflect this by calling the whole work "the go-ethereum library".
9 years ago
Felix Lange
ea54283b30
all: update license information
10 years ago
Bas van Kervel
662285074e
improved logging for IPC connection lifetime management
10 years ago
unknown
04910c902a
support for large request/response on windows
10 years ago
Bas van Kervel
ffbe5656ff
support for large requests/responses
10 years ago
Bas van Kervel
6d92fdc0df
added support for batch requests
10 years ago
Bas van Kervel
2e0b56a72b
added RPC start/stop support
10 years ago
Bas van Kervel
ce5c94e471
added attach over http/rpc support
10 years ago
Bas van Kervel
f202563777
added attach over ipc command
10 years ago
Bas van Kervel
603192cfa7
cleanup comments/code
10 years ago
Bas van Kervel
a4a4e9fcf8
removed old rpc structure and added new inproc api client
10 years ago
Bas van Kervel
fd764d4ff7
added comms http
10 years ago
Bas van Kervel
60c2ccd99c
made ipc handler generic and reusable
10 years ago
Bas van Kervel
b3c07f167f
fixed incomplete merge action
10 years ago
Bas van Kervel
3c93034a32
fixed windows build problem
10 years ago
Bas van Kervel
09d0d55fc5
added debug API
10 years ago
Bas van Kervel
8aea85e374
fixed windows build problem
10 years ago
Bas van Kervel
8ebf2d8fad
added RPC/IPC support
10 years ago