I am launching my zedrem server on a computer at work which is behind a firewall+proxy. The proxy at my work allows https (port 443) pass-through. I am trying to connect using zed on my chromebook from home.
I am thinking about modifying
|
ws, err = websocket.DialConfig(config) |
To include the automatic detection and utilization of a proxy server using pieces of the technique I found here (I would be querying environment variables http_proxy and https_proxy):
https://gist.github.com/madmo/8548738
I'm assuming that as long as I return a valid websocket.Conn object, things will work as expected. Is this a reasonable assumption?
Are there other connections set up elsewhere in the code that also need to be modified to use a proxy?
General thoughts?
I am launching my zedrem server on a computer at work which is behind a firewall+proxy. The proxy at my work allows https (port 443) pass-through. I am trying to connect using zed on my chromebook from home.
I am thinking about modifying
zedrem/client.go
Line 461 in cf2d96f
To include the automatic detection and utilization of a proxy server using pieces of the technique I found here (I would be querying environment variables http_proxy and https_proxy):
https://gist.github.com/madmo/8548738
I'm assuming that as long as I return a valid websocket.Conn object, things will work as expected. Is this a reasonable assumption?
Are there other connections set up elsewhere in the code that also need to be modified to use a proxy?
General thoughts?