Re: TSHttpConnect and chunked flow control

2012-08-01 Thread James Peach
On 01/08/2012, at 9:14 AM, "Walsh, Peter" wrote: > Hello all, > We have a plugin that uses TSHttpConnect and have noticed that when the > response is not from cache and is over about 40k, traffic server begins to > introduce latencies between its callbacks to the event > TS_EVENT_VCONN_READ_RE

Re: Write failure from TSNetConnect

2012-08-01 Thread James Peach
On 30/07/2012, at 10:13 AM, Shaun McGinnity wrote: > Hi, > > I am using Traffic Server 3.2.0 on Redhat 6.3. > > I am using TSNetConnect to create a 2-way communication channel to a separate > process. I have noticed that eventually the write side of the channel will > stop working although t

TSHttpConnect and chunked flow control

2012-08-01 Thread Walsh, Peter
Hello all, We have a plugin that uses TSHttpConnect and have noticed that when the response is not from cache and is over about 40k, traffic server begins to introduce latencies between its callbacks to the event TS_EVENT_VCONN_READ_READY. I have only been able to reproduce this in a clustered

Re: How to pass data between two different plugins?

2012-08-01 Thread Igor Galić
- Original Message - > In plugin A init: > > TSHttpArgIndexReserve("shared_state_foo", "shared state data", > &txn_slot); > > In plugin B init: > > TSHttpArgIndexNameLookup("shared_state_foo", &txn_slot, > &description); > > Now both plugins have the same value in their txn_slot. A must b

Re: How to pass data between two different plugins?

2012-08-01 Thread Phil Sorber
In plugin A init: TSHttpArgIndexReserve("shared_state_foo", "shared state data", &txn_slot); In plugin B init: TSHttpArgIndexNameLookup("shared_state_foo", &txn_slot, &description); Now both plugins have the same value in their txn_slot. A must be init before B or perhaps do the lookup in a han

Re: How to pass data between two different plugins?

2012-08-01 Thread oksana fishman
Thank you for quick response. Could you give a specific example? I use TSContDataGet / TSContDataSet , and it doesn't work when using two plugins. On Wed, Aug 1, 2012 at 4:29 PM, Leif Hedstrom wrote: > On Aug 1, 2012, at 4:21 AM, oksana fishman > wrote: > > > In the same plugin this is done by

Re: How to pass data between two different plugins?

2012-08-01 Thread Leif Hedstrom
On Aug 1, 2012, at 4:21 AM, oksana fishman wrote: > In the same plugin this is done by TSContDataGet / TSContDataSet > How to set data in some plugin, so that anythe plugin can get the data (in > a later stage) ? Look for the APIs to set/get Txn and Ssn data. -- Leif