Re: response handling inside ap_hook_create_request cb function

2013-09-27 Thread Pon Umapathy Kailash S
Thanks Sorin. I'll check this up as well. On Fri, Sep 27, 2013 at 3:10 PM, Sorin Manolache wrote: > On 2013-09-27 11:11, Pon Umapathy Kailash S wrote: >> >> Thanks for your response, Sorin. >> >> My concern in this approach is that - it would require one worker >> thread to be held up for as long

Re: response handling inside ap_hook_create_request cb function

2013-09-27 Thread Sorin Manolache
On 2013-09-27 11:11, Pon Umapathy Kailash S wrote: Thanks for your response, Sorin. My concern in this approach is that - it would require one worker thread to be held up for as long as this connection is open(and this might be long + the number of clients can be higher than the worker threads f

Re: response handling inside ap_hook_create_request cb function

2013-09-27 Thread Pon Umapathy Kailash S
Thanks a lot, Robert. This gives me something to work on/experiment for now. I'll probably get back later with more questions, if needed. :) Regards, Umapathy On Fri, Sep 27, 2013 at 2:57 PM, Robert Mitschke wrote: > I am using input filters to convert the binary input messages to http. This >

Re: response handling inside ap_hook_create_request cb function

2013-09-27 Thread Robert Mitschke
I am using input filters to convert the binary input messages to http. This is done using connection level filters. By that approach I can use all of the remaining apache infrastructure after the input filters. For example I can use mod_proxy to forward requests from my clients once they are conver

Re: response handling inside ap_hook_create_request cb function

2013-09-27 Thread Pon Umapathy Kailash S
Thanks for your response, Robert. This sounds workable(with some modifications for my use-case). Can you please clarify regarding a few of these points? "These are converted to HTTP and then passed on, the HTTP response is converted to the binary format and sent back." - To convert from the bin

Re: response handling inside ap_hook_create_request cb function

2013-09-27 Thread Pon Umapathy Kailash S
Thanks for your response, Sorin. My concern in this approach is that - it would require one worker thread to be held up for as long as this connection is open(and this might be long + the number of clients can be higher than the worker threads for my use-case/platform). Given that the 1st handsha

Re: response handling inside ap_hook_create_request cb function

2013-09-27 Thread Sorin Manolache
On 2013-09-27 03:06, Pon Umapathy Kailash S wrote: Hi, Here is a quick background on what I am trying to do(basically adding support for websockets - in a slightly customised manner as needed for my app): - Handle the initial handshake inside a cb function registered as a handler hook(from here,

response handling inside ap_hook_create_request cb function

2013-09-26 Thread Pon Umapathy Kailash S
Hi, Here is a quick background on what I am trying to do(basically adding support for websockets - in a slightly customised manner as needed for my app): - Handle the initial handshake inside a cb function registered as a handler hook(from here, I compute checksums required and return the response