Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-09-24 | Initial support for raw send/recv operations | Loïc Hoguin | |
Gun can now be used to send or receive arbitrary data in the following scenarios: * Directly after connecting to a server (this is not terribly useful but it works nevertheless due to the Gun architecture) * After connecting through one or more Socks and/or HTTP proxies. This allows using Gun's proxy capabilities to access servers located beyond firewalls. * After performing an HTTP/1.1 Upgrade. This allows using Gun to implement custom protocols that require upgrading from an HTTP/1.1 connection. As there is still no support for HTTP/2 CONNECT for the time being, there are no relevant streams attached to those use cases and therefore the raw protocol currently expects users to use 'undefined' as the StreamRef value. This is not a final decision and will most likely produce a Dialyzer warning at this time. | |||
2019-09-23 | Use the proper options type for socks/ws states | Loïc Hoguin | |
2019-09-22 | Rework state transitions resulting from from protocol changes | Loïc Hoguin | |
2019-09-22 | Supports going through multiple Socks proxies | Loïc Hoguin | |
This commit also reworks the switch_protocol command. The `P | {P, Opts}` type is used here as well. This allows us to remove the code specific to Websocket. In addition a few new protocol functions allow us to declare what's the name of the options key for the protocol and what the capabilities are with regard to keepalive. | |||
2019-09-22 | Support connecting to HTTPS server via TCP Socks5 | Loïc Hoguin | |
2019-09-22 | Add test for username_password auth | Loïc Hoguin | |
2019-09-22 | Initial support for Socks5 | Loïc Hoguin | |