lua-http icon indicating copy to clipboard operation
lua-http copied to clipboard

:peername() shouldn't just be TCP socket peer

Open daurnimator opened this issue 7 years ago • 0 comments

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.

daurnimator avatar Aug 27 '18 14:08 daurnimator