Re: Proposal: NetVC Context

2016-05-16 Thread Chao Xu
Hi All, I have opened a pull request about the NetVC Context proposal to evaluate. Thanks Oknet 2016-04-23 10:28 GMT+08:00 Chao Xu : > As a proxy, there has two side: client side ( Client <-> Proxy ) and > server side ( Proxy <-> Server ). > > Add a new member 'netvc_context' into class NetVCo

Re: Proposal: NetVC Context

2016-05-07 Thread Chao Xu
Hi, dev team I'm implement the netvc context and remove server_addr from netvc. The code to evaluate: https://github.com/apache/trafficserver/compare/master...oknet:patch-8?diff=split&expand=1&name=patch-8 Any suggestion, please. Thanks! Oknet Xu 2016-04-25 4:18 GMT+08:00 James Peach : > > >

Re: Proposal: NetVC Context

2016-04-24 Thread Chao Xu
Hi James, > Each side would be a separate NetVConnection. Yes, Each side is a separate NetVC and Socket FD, thus every side has client and server. for Client Side Context: 1. if no transparent enabled: get_client_addr() = get_remote_addr() is client ip address. get_server_addr() = get_local

Re: Proposal: NetVC Context

2016-04-24 Thread James Peach
> On Apr 22, 2016, at 7:28 PM, Chao Xu wrote: > > As a proxy, there has two side: client side ( Client <-> Proxy ) and server > side ( Proxy <-> Server ). Each side would be a separate NetVConnection. > Add a new member 'netvc_context' into class NetVConnection to indicate > which side the Net