aboutsummaryrefslogtreecommitdiff
path: root/lib/http/server_test.go
diff options
context:
space:
mode:
authorShulhan <m.shulhan@gmail.com>2020-05-11 16:28:49 +0700
committerShulhan <m.shulhan@gmail.com>2020-05-11 16:28:59 +0700
commit25caa3fb9d7c87f08afae5c7f2d742deebb88efc (patch)
tree94626e875772f973ed6ad1c869df03ed070a471c /lib/http/server_test.go
parent312aebe8d792c8c85accde1148d870362a1974ae (diff)
downloadpakakeh.go-25caa3fb9d7c87f08afae5c7f2d742deebb88efc.tar.xz
websocket: allow "https" scheme on Client's Endpoint
Previously, we only check for "wss" scheme to initialize the TLS configuration. At some point, user may have one single address to connect to HTTP and WebSocket server on the same domain, which require two addresses on their side. This commit relaxing the Endpoint rule when parsing WebSocket URI. Scheme "https" will be considered as "wss" or secure connection with TLS.
Diffstat (limited to 'lib/http/server_test.go')
0 files changed, 0 insertions, 0 deletions