atscppapi coredumps on InterceptPlugin

2015-04-06 Thread Sandeep Davu
Hi, InterceptPlugin coredumps under load. The load scenario is approximately 700 reqs/sec. Analyzing the core dump suggests that Plugin might already be deleted for that transaction. Attaching the gdb output of the coredump. *#0 0x2b60c81c77d0 in ?? ()* *No symbol table info available.*

Re: Adding headers to C++ api AsyncHttpFetch Streaming request.

2015-02-27 Thread Sandeep Davu
On Thu, Feb 26, 2015 at 4:43 PM, Sandeep Davu > wrote: > > > Hi, > > > > How do you add headers to a request you want to send out using > > AsyncHttpFetch. Should the url_str that we pass to AsyncHttpFetch contain > > the headers too? > > > > I h

Adding headers to C++ api AsyncHttpFetch Streaming request.

2015-02-26 Thread Sandeep Davu
Hi, How do you add headers to a request you want to send out using AsyncHttpFetch. Should the url_str that we pass to AsyncHttpFetch contain the headers too? I have a server intercept and wanted to issue a AyncRequest but copy all the headers from the incoming request. Whats the best way to achie

Re: Sending chunked data on intercept plugins

2015-02-11 Thread Sandeep Davu
Geffon wrote: > You'll have to handle chunking yourself; it should be relatively simple to > do. > > On Wed, Feb 11, 2015 at 2:22 PM, Sandeep Davu > wrote: > > > Who will be responsible for chunking? Plugin has access to response and > not > > chunked data.

Re: Sending chunked data on intercept plugins

2015-02-11 Thread Sandeep Davu
Who will be responsible for chunking? Plugin has access to response and not chunked data. If Intercept writes a raw byte stream, how does the data get chunked? Sandeep. On Wed, Feb 11, 2015 at 1:51 PM, James Peach wrote: > > > On Feb 11, 2015, at 11:35 AM, Sandeep Davu > wrote:

Sending chunked data on intercept plugins

2015-02-11 Thread Sandeep Davu
How to send chunked data on Server Intercept Plugin? The content length is not known before hand. Idea is to stream data as it becomes available. I am assuming the intercept send data needs to know that the data is chunked. Any ideas? Sandeep.

TSSkipRemappingSet for cppapi

2015-02-04 Thread Sandeep Davu
Is there a way to issue a TSSkipRemappingSet from cppapi. The first hook that cppapi provides is at PRE_REMAP which is too late to set the skip_remap. Am I missing something? Sandeep.

Re: atscppapi AsyncHttpFetch

2015-01-28 Thread Sandeep Davu
HttpFetch over where applicable. Does that make > sense? > > Brian > > On Tue, Jan 27, 2015 at 6:22 PM, Sandeep Davu > wrote: > > > I want to extend AsyncHttpFetch class to have my own run implementation. > > > > How can we set "state_->dispatch_controller_" for a derived class of > > AsyncHttpFetch. > > > > > > Sandeep. > > >

atscppapi AsyncHttpFetch

2015-01-27 Thread Sandeep Davu
I want to extend AsyncHttpFetch class to have my own run implementation. How can we set "state_->dispatch_controller_" for a derived class of AsyncHttpFetch. Sandeep.