aboutsummaryrefslogtreecommitdiffstats
path: root/rpc/http.go
Commit message (Collapse)AuthorAgeFilesLines
* rpc: fix closure problem in batch processing (#14688)bloonfield2017-06-261-2/+2
| | | Demo of the issue: https://play.golang.org/p/EeTLFfppqC
* rpc: disable CORS if user has not specified custom configBas van Kervel2017-05-021-0/+5
|
* cmd/utils, node: remove unused solc references and improve RPC config (#14324)bas-vk2017-04-131-8/+3
| | | | | Currently http cors and websocket origins are a comma separated string in the config object. These are replaced with string arrays that are more expressive in case of a config file.
* all: import "context" instead of "golang.org/x/net/context"Felix Lange2017-03-231-3/+3
| | | | | | | | | | There is no need to depend on the old context package now that the minimum Go version is 1.7. The move to "context" eliminates our weird vendoring setup. Some vendored code still uses golang.org/x/net/context and it is now vendored in the normal way. This change triggered new vet checks around context.WithTimeout which didn't fire with golang.org/x/net/context.
* rpc: add support for extended headers in CORS requests (#3783)Micah Zoltu2017-03-161-0/+1
| | | | Fixes #3762. Details about parameter: https://github.com/rs/cors/blob/a62a804a8a009876ca59105f7899938a1349f4b3/cors.go#L50-L54
* internal/debug, internal/ethapi, rpc, swarm/storage: Ran "go fmt"Kenji Siu2016-11-011-1/+1
|
* rpc: set CORS Max-Age to reduce preflight OPTIONS requestsJonathan Brown2016-10-031-0/+1
|
* rpc: add new client, use it everywhereFelix Lange2016-07-231-65/+98
| | | | | | The new client implementation supports concurrent requests, subscriptions and replaces the various ad hoc RPC clients throughout go-ethereum.
* rpc: various fixes/enhancementsBas van Kervel2016-04-121-14/+6
| | | | | | | | rpc: be less restrictive on the request id rpc: improved documentation console: upgrade web3.js to version 0.16.0 rpc: cache http connections rpc: rename wsDomains parameter to wsOrigins
* rpc: add pub/sub supportBas van Kervel2016-04-021-1/+1
|
* rpc/http: improve request handlingBas van Kervel2016-03-231-221/+56
|
* cmd, node, rpc: readd inproc RPC client, expose via nodePéter Szilágyi2016-02-091-1/+1
|
* cmd, common, node, rpc: move HTTP RPC into node, drop singletone aspectPéter Szilágyi2016-02-051-54/+7
|
* rpc: allow RPC requests on GET tooPéter Szilágyi2016-02-031-23/+17
|
* rpc: migrated the RPC insterface to a new reflection based RPC layerBas van Kervel2016-01-261-0/+368
|
* removed old rpc structure and added new inproc api clientBas van Kervel2015-06-221-163/+0
|
* Permit multiple CORS domainsTaylor Gerring2015-05-181-1/+2
| | | | Separated by spaces
* Unreverse orderingTaylor Gerring2015-05-151-2/+1
|
* Omit replies for notification requestsTaylor Gerring2015-05-151-3/+22
| | | | When Id is missing, the client does not want a response
* rpc, xeth: fix #881, gracefully handle offline whisperPéter Szilágyi2015-05-111-1/+1
|
* Remove old logger from RPC pkgTaylor Gerring2015-04-271-3/+2
|
* Don't export types/functionsBas van Kervel2015-04-191-4/+4
|
* Replaced channel pointer field with non pointer channelBas van Kervel2015-04-191-1/+1
|
* Stop accepted and alive connections (http keep-alive) when the rpc service ↵Bas van Kervel2015-04-171-11/+11
| | | | is stopped
* admin.stopRPC support added which stops the RPC HTTP listenerBas van Kervel2015-04-161-2/+19
|
* rpc: changed logging to use glogobscuren2015-04-151-2/+3
|
* Add settable domain to CORS handler #331Taylor Gerring2015-03-301-3/+17
|
* Abstract http into rpc packageTaylor Gerring2015-03-301-0/+12
| | | | New RpcConfig object to pass growing config
* Report InvalidTypeError as -32602 to JSON RPCTaylor Gerring2015-03-291-1/+1
|
* Use ExtraDB for storage. Fixes #577Taylor Gerring2015-03-271-2/+2
|
* Make send internalTaylor Gerring2015-03-201-6/+6
|
* Remove extra loggerTaylor Gerring2015-03-201-2/+2
|
* Remove JsonWrapperTaylor Gerring2015-03-181-6/+19
|
* Support JSON RPC batch requestsTaylor Gerring2015-03-181-33/+52
|\
| * Add JSON RPC batch supportTaylor Gerring2015-03-181-33/+52
| | | | | | | | http://www.jsonrpc.org/specification#batch
* | rpczelig2015-03-151-7/+7
|/ | | | | - camelcase fields dont play nice with otto value magic: JsonRpc -> Jsonrpc, ID -> Id - jeth: ethereum.js rpc transport provider direct bridge between js and ethereumApi via otto jsre
* Consolidate error type switchTaylor Gerring2015-03-131-14/+2
|
* Convert to proper errorsTaylor Gerring2015-03-131-5/+34
| | | | Allow returning different JSON RPC error codes depending on error type
* Merge ethereum/poc-9 into accounts-integrationFelix Lange2015-03-101-1/+11
| | | | | | | | | | Conflicts: cmd/utils/cmd.go cmd/utils/flags.go core/manager.go eth/backend.go rpc/http/server.go xeth/xeth.go
* rpc: add dataDir parameter and JSON-RPC handlerFelix Lange2015-03-101-0/+42