Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-10-10 | Add ranch_tcp:recv_proxy_header/2 | Loïc Hoguin | |
This uses the undocumented function gen_tcp:unrecv/2. Tests have been added for both gen_tcp and ssl connections, including sending data in the same first packet, at least for gen_tcp (ssl tests may or may not end up buffering some of the TLS handshake before the recv call, but there's no guarantees). |