go-ethereum/vendor/github.com
Felix Lange 04e175b8ec rpc: implement websockets with github.com/gorilla/websocket (#19866)
* rpc: implement websockets with github.com/gorilla/websocket

This change makes package rpc use the github.com/gorilla/websocket
package for WebSockets instead of golang.org/x/net/websocket. The new
library is more robust and supports all WebSocket features including
continuation frames.

There are new tests for two issues with the previously-used library:

  - TestWebsocketClientPing checks handling of Ping frames.
  - TestWebsocketLargeCall checks whether the request size limit is
    applied correctly.

* rpc: raise HTTP/WebSocket request size limit to 5MB

* rpc: remove default origin for client connections

The client used to put the local hostname into the Origin header because
the server wanted an origin to accept the connection, but that's silly:
Origin is for browsers/websites. The nobody would whitelist a particular
hostname.

Now that the server doesn't need Origin anymore, don't bother setting
one for clients. Users who need an origin can use DialWebsocket to
create a client with arbitrary origin if needed.

* vendor: put golang.org/x/net/websocket back

* rpc: don't set Origin header for empty (default) origin

* rpc: add HTTP status code to handshake error

This makes it easier to debug failing connections.

* ethstats: use github.com/gorilla/websocket

* rpc: fix lint
2019-07-22 13:22:39 +03:00
..
Azure internal, vendor: update Azure blobstore API 2018-07-25 18:04:43 +03:00
StackExchange/wmi dashboard: CPU, memory, diskIO and traffic on the footer (#15950) 2018-01-23 22:51:04 +02:00
allegro/bigcache vendor: update bigcache 2019-02-18 09:33:05 +01:00
apilayer/freegeoip dashboard, p2p, vendor: visualize peers (#19247) 2019-03-13 14:53:52 +02:00
aristanetworks/goarista vendor: update dependencies with github.com/kardianos/govendor 2017-02-16 13:44:09 +01:00
btcsuite/btcd crypto: add DecompressPubkey, VerifySignature (#15615) 2017-12-06 16:07:08 +01:00
cespare/cp Godeps, vendor: convert dependency management to trash (#3198) 2016-10-28 19:05:01 +02:00
davecgh/go-spew vendor: pull in azure sdk and openpgp signer 2016-11-03 10:32:57 +02:00
deckarep/golang-set all: switch out defunct set library to different one (#16873) 2018-07-16 10:54:19 +03:00
docker/docker vendor: update docker/docker/pkg/reexec so that it compiles on OpenBSD (#17084) 2018-07-02 14:25:02 +03:00
edsrzf/mmap-go crypto, pow, vendor: hash optimizations, mmap ethash 2017-03-09 15:50:14 +01:00
elastic/gosigar vendor: update elastic/gosigar so that it compiles on OpenBSD (#16542) 2018-04-21 19:19:12 +02:00
ethereum/ethash/src/libethash all: finish integrating Go ethash, delete C++ vendor 2017-03-09 15:50:14 +01:00
fatih/color vendor: update dependencies with github.com/kardianos/govendor 2017-02-16 13:44:09 +01:00
fjl/memsize cmd/geth, mobile: add memsize to pprof server (#16532) 2018-04-23 16:20:39 +03:00
gballet/go-libpcsclite accounts/scwallet: Disable macos support (#19679) 2019-06-07 12:41:54 +03:00
go-ole/go-ole dashboard: CPU, memory, diskIO and traffic on the footer (#15950) 2018-01-23 22:51:04 +02:00
go-stack/stack vendor: update go-stack to fix a sigpanic panic (#14790) 2017-07-11 13:43:33 +02:00
golang accounts/usbwallet: recreate Trezor protocol, support old and new 2019-06-03 16:08:04 +03:00
gorilla/websocket rpc: implement websockets with github.com/gorilla/websocket (#19866) 2019-07-22 13:22:39 +03:00
graph-gophers/graphql-go GraphQL master FF for review (#18445) 2019-01-21 15:38:13 +01:00
hashicorp/golang-lru vendor: update dependencies with github.com/kardianos/govendor 2017-02-16 13:44:09 +01:00
howeyc/fsnotify dashboard, p2p, vendor: visualize peers (#19247) 2019-03-13 14:53:52 +02:00
huin/goupnp vendor: update dependencies with github.com/kardianos/govendor 2017-02-16 13:44:09 +01:00
influxdata/influxdb cmd/geth, internal, node, vendor: nuke geth monitor 2019-04-05 12:13:56 +03:00
jackpal/go-nat-pmp vendor: update dependencies with github.com/kardianos/govendor 2017-02-16 13:44:09 +01:00
julienschmidt/httprouter p2p: add network simulation framework (#14982) 2017-09-25 10:08:07 +02:00
karalabe/usb vendor: update karalabe/usb to fix CGO=0 builds (#19790) 2019-07-03 18:22:27 +03:00
mattn vendor: vendor/github.com/mattn/go-isatty - add missing files (reported by mksully22) (#18376) 2019-01-03 13:31:20 +01:00
mohae/deepcopy cmd, dashboard, log: log collection and exploration (#17097) 2018-07-11 10:59:04 +03:00
naoina vendor: added vendor packages necessary for the swarm-network-rewrite merge (#16792) 2018-06-05 12:40:21 +02:00
olekukonko/tablewriter core, cmd, vendor: fixes and database inspection tool (#15) 2019-05-16 10:39:34 +03:00
opentracing/opentracing-go swarm/network: measure time of messages in priority queue (#19250) 2019-03-20 21:30:34 +01:00
oschwald/maxminddb-golang dashboard, p2p, vendor: visualize peers (#19247) 2019-03-13 14:53:52 +02:00
pborman/uuid vendor: update dependencies with github.com/kardianos/govendor 2017-02-16 13:44:09 +01:00
peterh/liner vendor: update github.com/peterh/liner (#18990) 2019-02-05 13:00:42 +02:00
pkg/errors dashboard: CPU, memory, diskIO and traffic on the footer (#15950) 2018-01-23 22:51:04 +02:00
pmezard/go-difflib vendor: add github.com/stretchr/testify test dependency 2017-11-11 00:29:41 +01:00
prometheus/tsdb node: switching prometheus flock location to tsdb (#19376) 2019-04-04 16:59:18 +03:00
rjeczalik/notify vendor: github.com/rjeczalik/notify update to master (#17527) 2018-08-28 10:03:33 +03:00
robertkrimen/otto vendor: update dependencies with github.com/kardianos/govendor 2017-02-16 13:44:09 +01:00
rs vendor: update dependencies with github.com/kardianos/govendor 2017-02-16 13:44:09 +01:00
status-im/keycard-go Vendor keycard-go/derivationpath 2019-04-08 13:21:22 +02:00
steakknife core, eth, trie: bloom filter for trie node dedup during fast sync (#19489) 2019-05-13 15:28:01 +03:00
stretchr/testify vendor: add github.com/stretchr/testify test dependency 2017-11-11 00:29:41 +01:00
syndtr/goleveldb vendor: udpate leveldb upstream (#19284) 2019-03-18 10:28:47 +02:00
tyler-smith/go-bip39 Add missing dependency 2019-04-09 08:52:25 +02:00
wsddn/go-ecdh vendor: pull in missing go-echd library 2019-04-08 13:19:37 +02:00