lotus/lib/jsonrpc
Jim Pick b6d5ea629b Make websocket connection upgrade header check case-insensitive
I was having troubles configuring an nginx reverse-proxy when
using Websockets.

It turns out my configuration was sending a "Connection: upgrade"
header, but Lotus expected "Connection: Upgrade".

This commit converts the check to be case-insensitive.

Some of the examples on the MDN page show lower-case "upgrade",
so I think it's not unusual for the usage to vary.
2020-03-13 13:07:39 -07:00
..
client.go Update go-log to v2 2020-01-08 20:22:31 +01:00
handler.go Fixed ctx issue, changed to track failures instead of success 2020-02-27 23:43:52 -05:00
rpc_test.go jsonrpc: Fix channel registration deadlock 2020-01-21 14:48:17 +01:00
server.go Make websocket connection upgrade header check case-insensitive 2020-03-13 13:07:39 -07:00
util.go implement a few of the TODOs 2019-07-20 16:37:37 -07:00
websocket.go jsonrpc: Fix channel registration deadlock 2020-01-21 14:48:17 +01:00