koding / tunnel

Tunnel proxy package in Go
BSD 3-Clause "New" or "Revised" License
314 stars 70 forks source link

server: alias vhosts with default HTTP(s) ports #16

Closed rjeczalik closed 8 years ago

rjeczalik commented 8 years ago

/cc @cihangir

cihangir commented 8 years ago

why this is required?

rjeczalik commented 8 years ago

@cihangir So server handles requests with Host: example.com:80 when registered vhost was example.com instead of failing with no virtual host available.

https://github.com/gorilla/websocket/blob/4935ba31a2adbfcd9e08b86d2657659afbf1af9a/client.go#L128-L135

cihangir commented 8 years ago

:+1: