commit | 5058c78c3627b31e484a81463acd51c7cecc06f3 | [log] [tgz] |
---|---|---|
author | Norberto Lopes <nlopes.ml@gmail.com> | Tue Dec 30 18:02:23 2014 +0000 |
committer | Mikio Hara <mikioh.mikioh@gmail.com> | Thu Jan 22 14:46:38 2015 +0000 |
tree | 580b8e4f9b66903dbb663c45a90b8500a36d1d7d | |
parent | 6f62f426de90c0ed6a55207b51476115fcb17237 [diff] |
websocket: add support for websocket urls without a port specified Some servers return a websocket url without a port. This patch automatically adds :80 for ws and :443 for wss. Change-Id: Ifdcdbda8f87c994a5f351234c83bf4a07be34ea2 Reviewed-on: https://go-review.googlesource.com/2210 Reviewed-by: Mikio Hara <mikioh.mikioh@gmail.com>