lua-http
lua-http copied to clipboard
:peername() shouldn't just be TCP socket peer
e.g. for a connection over a SOCKS proxy, it should be the end peer, not the SOCKS proxy. e.g. for a (client) stream using a http proxy, it should be the target host
This change will require that :peername have a way to return an unresolved host.