hyper icon indicating copy to clipboard operation
hyper copied to clipboard

feat(client): add option to HttpConnector to enable or disable

Open mnpw opened this issue 2 years ago • 2 comments

This adds http_info configuration option in http::Config. It can be used to enable or disable HttpInfo.

HttpInfo is set through methods defined on TcpStream (peer_addr() and local_addr()). Configuration options have to be made available to TcpStream in order to enforce http_info. HttpConnection is added to achieve this.

Fixes #2833

Ps: Rust and oss newbie so apologies if I missed some obvious issue 😅

mnpw avatar May 20 '22 11:05 mnpw

I think you should open a new PR to submit breaking changes.

ho-229 avatar May 22 '22 09:05 ho-229

Are you still working on it🤔

ho-229 avatar Jun 02 '22 12:06 ho-229