Skip to content
This repository was archived by the owner on Oct 6, 2023. It is now read-only.
This repository was archived by the owner on Oct 6, 2023. It is now read-only.

Proxy Support #15

@fizxmike

Description

@fizxmike

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions