Re: debugging a timeout issue

2008-05-08 Thread Subra A Narayanan
Hey Sam, I am not an apache expert but you can start off with a tool like wireshark to see if the request is even leaving the client machine. Its a great tool to debug such problems. Subra On Thu, May 8, 2008 at 10:24 PM, Sam Carleton [EMAIL PROTECTED] wrote: I am a one man ISV that is using

module clean up using apr_pool_cleanup_register

2008-05-07 Thread Subra A Narayanan
Hello folks, I am new to apache modules and I am trying to get a better understanding of how cleanup works. I have Nick Kew's book and it has been a tremendous help. I hope someone can hep clarify some of the questions that I have. I have written a module which links in to some other libraries

Reading data from Request Body - Twice!!

2008-05-02 Thread Subra A Narayanan
Hello folks, I really hope someone can point me in the correct direction here. I have an apache module that receives data from clients in the request body and saves the recvd data in a db. The client also sends the Content-MD5 header with the request which I want to verify by computing the MD5

Re: Sending large file as attachment to clients

2008-03-25 Thread Subra A Narayanan
Thanks for the replies guys. I will try ur suggestions once I get to work today. Just a few more questions: Check out the various filter/bucket brigade examples. This may do just what you want. I've used it to 'gate' the final sending for things ike throttling and keeping buggy telco bearer

Re: Sending large file as attachment to clients

2008-03-24 Thread Subra A Narayanan
Thanks for ur reply Samuel! Maybe you can read part of the blob with a function like MySQL's SUBSTR. I can easily read small chunks of data from my datastore. I guess the problem that I am trying to solve here - how to send chunks of data as a HTTP response without having to read in and store a

Re: Specifying a different target directory for APXS

2007-12-14 Thread Subra A Narayanan
Hello folks, Has anyone come across a similar situation before? Can a target folder be specified or is that not possible? Any help is greatly appreciated. Subra On Dec 13, 2007 12:05 PM, Subra A Narayanan [EMAIL PROTECTED] wrote: Hello folks, I use the following command to compile my

Re: Specifying a different target directory for APXS

2007-12-14 Thread Subra A Narayanan
, 2007 12:12 PM, Joe Lewis [EMAIL PROTECTED] wrote: Subra A Narayanan wrote: I didnt receive any helpful responses to that posting thats why I am trying to use apxs. You DID get helpful responses - I was one of those responders who said to use apxs. (We pointed you to the tool because

Re: Specifying a different target directory for APXS

2007-12-14 Thread Subra A Narayanan
, Subra A Narayanan wrote: Joe, Thanks for ur response. The reason I wanted to change the target directory was because my apache module is being compiled as one of the components of a much larger makefile. All the other shared libraries generated by this make file, are copied

Specifying a different target directory for APXS

2007-12-13 Thread Subra A Narayanan
Hello folks, I use the following command to compile my apache module: */usr/sbin/apxs -c mod_my.c* this creates a *.libs/* folder and my mod_my.so file is generated in that folder. My question is, is it possible to specify a different target folder for my .so file? I have gone through the

Re: compiling using gcc directly rather than using apxs

2007-11-28 Thread Subra A Narayanan
Here you go Karim. On Nov 28, 2007 1:23 PM, karim Bendadda [EMAIL PROTECTED] wrote: You have forgotten to attach your module can you do it please? 2007/11/28, Subra A Narayanan [EMAIL PROTECTED]: I am still not able to figure out the problem. For longtime module developers

compiling using gcc directly rather than using apxs

2007-11-27 Thread Subra A Narayanan
Hello folks, I have run in to a problem and hope someone can help me out. I am using Apache HTTP server version 2.0.61 I have written a simple test module called mod_my.c in which all I do is printout the contents of request-parsed_uri structure which if of type apr_uri_t. The module works just