tmc / grpc-websocket-proxy

A proxy to transparently upgrade grpc-gateway streaming endpoints to use websockets
MIT License
553 stars 72 forks source link

Allow custom websocket.Upgrader to be specified #10

Closed ghost closed 1 year ago

ghost commented 6 years ago

The default upgrader behavior uses an insecure origin checking policy at the moment.

It makes sense to allow the creator of the wsproxy to specify a websocket upgrader that enforces a more secure CheckOrigin policy.

tmc commented 6 years ago

@rmdashrf thanks for your contribution -- can you rebase please?