Re: [API Review] Add TSSslAdvertiseProtocolSet()

2014-11-18 Thread Sudheer Vinukonda
On 11/18/14, 9:11 AM, "James Peach" wrote: > >> On Nov 18, 2014, at 8:57 AM, Sudheer Vinukonda >> wrote: >> >> >> >> On 11/18/14, 8:48 AM, "James Peach" wrote: >> >>> On Nov 18, 2014, at 8:38 AM, Sudheer Vinukonda wrote: Hi James, How can my_awesome_callba

Re: [API Review] Add TSSslAdvertiseProtocolSet()

2014-11-18 Thread James Peach
> On Nov 17, 2014, at 4:09 PM, Sudheer Vinukonda > wrote: > > Hi All, > > I would like add a new API TSSslAdvertiseProtocolSet(), to address the > requirement of modifying the NPN advertising list for each SSL connection > based on SNI (please refer TS-3153). > > https://issues.apache.org/jir

Re: [API Review] Add TSSslAdvertiseProtocolSet()

2014-11-18 Thread James Peach
> On Nov 18, 2014, at 8:57 AM, Sudheer Vinukonda > wrote: > > > > On 11/18/14, 8:48 AM, "James Peach" wrote: > >> >>> On Nov 18, 2014, at 8:38 AM, Sudheer Vinukonda >>> wrote: >>> >>> Hi James, >>> >>> How can my_awesome_callback() know the specific custom NPN advertisement >>> list for

Re: [API Review] Add TSSslAdvertiseProtocolSet()

2014-11-18 Thread Sudheer Vinukonda
On 11/18/14, 8:48 AM, "James Peach" wrote: > >> On Nov 18, 2014, at 8:38 AM, Sudheer Vinukonda >> wrote: >> >> Hi James, >> >> How can my_awesome_callback() know the specific custom NPN advertisement >> list for a given netVC? > >It would know this in the same way the plugin knows what to pas

Re: [API Review] Add TSSslAdvertiseProtocolSet()

2014-11-18 Thread James Peach
> On Nov 18, 2014, at 8:38 AM, Sudheer Vinukonda > wrote: > > Hi James, > > How can my_awesome_callback() know the specific custom NPN advertisement > list for a given netVC? It would know this in the same way the plugin knows what to pass into your proposed API. > The purpose of the API is

Re: [API Review] Add TSSslAdvertiseProtocolSet()

2014-11-18 Thread Sudheer Vinukonda
Hi James, How can my_awesome_callback() know the specific custom NPN advertisement list for a given netVC? The purpose of the API is not to trigger the callback, but, to update/modify the npnAdvertised list for a given netVC. The callback part is trivial and I basically would do something simil

Re: [API Review] Add TSSslAdvertiseProtocolSet()

2014-11-18 Thread James Peach
> On Nov 17, 2014, at 4:09 PM, Sudheer Vinukonda > wrote: > > Hi All, > > I would like add a new API TSSslAdvertiseProtocolSet(), to address the > requirement of modifying the NPN advertising list for each SSL connection > based on SNI (please refer TS-3153). > > https://issues.apache.org/jir