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
2015-10-29 09:23:03 +01:00
Péter Szilágyi
3e6964b841
rpc/comms: fix #1795 , ensure IPC path exists before binding
2015-09-11 17:03:31 +03:00
Hector Chu
4ea81f170a
rpc/comms: fix bug attaching the console over http
2015-09-07 15:09:59 +01:00
Bas van Kervel
d910148a96
Set ipc channel as user agent client
2015-08-24 12:41:34 +02:00
Jeffrey Wilcke
e2d44814a5
Merge pull request #1694 from obscuren/hide-fdtrack
...
fdtrack: hide message
2015-08-19 13:50:54 -07:00
Bas van Kervel
9bf17eb05a
rpc/comms reconnect ipc client after write error
2015-08-19 21:48:56 +02:00
Jeffrey Wilcke
269c5c7107
Revert "fdtrack: temporary hack for tracking file descriptor usage"
...
This reverts commit 5c949d3b3b
.
2015-08-19 21:46:01 +02:00
Bas van Kervel
f9cbd16f27
support for user agents
2015-08-12 12:22:16 +02:00
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 .
2015-08-04 03:10:27 +02:00
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
2015-08-03 16:27:36 +02:00
Felix Lange
bfbcfbe4a9
all: fix license headers one more time
...
I forgot to update one instance of "go-ethereum" in commit 3f047be5a
.
2015-07-23 18:35:11 +02:00
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".
2015-07-22 18:51:45 +02:00
Felix Lange
ea54283b30
all: update license information
2015-07-07 14:12:44 +02:00
Bas van Kervel
662285074e
improved logging for IPC connection lifetime management
2015-06-25 15:54:16 +02:00
unknown
04910c902a
support for large request/response on windows
2015-06-25 04:53:41 -07:00
Bas van Kervel
ffbe5656ff
support for large requests/responses
2015-06-25 13:18:10 +02:00
Bas van Kervel
6d92fdc0df
added support for batch requests
2015-06-25 12:01:28 +02:00
Bas van Kervel
2e0b56a72b
added RPC start/stop support
2015-06-22 12:47:32 +02:00
Bas van Kervel
ce5c94e471
added attach over http/rpc support
2015-06-22 09:17:09 +02:00
Bas van Kervel
f202563777
added attach over ipc command
2015-06-22 09:17:09 +02:00
Bas van Kervel
603192cfa7
cleanup comments/code
2015-06-22 09:17:09 +02:00
Bas van Kervel
a4a4e9fcf8
removed old rpc structure and added new inproc api client
2015-06-22 09:17:09 +02:00
Bas van Kervel
fd764d4ff7
added comms http
2015-06-22 08:54:21 +02:00
Bas van Kervel
60c2ccd99c
made ipc handler generic and reusable
2015-06-22 08:54:21 +02:00
Bas van Kervel
b3c07f167f
fixed incomplete merge action
2015-06-11 15:06:12 +02:00
Bas van Kervel
3c93034a32
fixed windows build problem
2015-06-11 14:18:08 +02:00
Bas van Kervel
09d0d55fc5
added debug API
2015-06-11 14:01:41 +02:00
Bas van Kervel
8aea85e374
fixed windows build problem
2015-06-11 14:01:39 +02:00
Bas van Kervel
8ebf2d8fad
added RPC/IPC support
2015-06-11 14:01:39 +02:00