Re: Socket transfer from Apache httpd to a non-httpd process

2012-08-01 Thread Henrik Strand
Hi Suyambu, Take a look at the src for the following module: http://httpd.apache.org/docs/trunk/mod/mod_proxy_fdpass.html Regards, Henrik On Wed, 2012-08-01 at 09:04 +0200, suyambu wrote: Hi Henrik, I am trying some experiments in httpd2.2. I want to transfer the client socket to another

Re: [PATCH Attachment 28632, Bug 51257] Build failed when cross-compiling: ./gen_test_char: cannot execute binary file

2012-04-25 Thread Henrik Strand
Done. Kind Regards, Henrik On Mon, 2012-04-23 at 16:58 +0200, Guenter Knauf wrote: Hi Henrik, Am 23.04.2012 16:33, schrieb Henrik Strand: Some initial thoughts on your patch: - Why not init CC_FOR_BUILD to $(CC) instead of cc? because $(CC) holds the cross compiler (host

Re: [PATCH Attachment 28632, Bug 51257] Build failed when cross-compiling: ./gen_test_char: cannot execute binary file

2012-04-23 Thread Henrik Strand
, Am 20.04.2012 14:59, schrieb Henrik Strand: I've applied and tried the modified patch (http://svn.apache.org/viewvc?view=revisionrevision=1327907) but it seems that the BUILD_FOR_CC value isn't propagated to the Makefile in the server folder. Did it work for you? If so, what more did you

Re: [PATCH Attachment 28632, Bug 51257] Build failed when cross-compiling: ./gen_test_char: cannot execute binary file

2012-04-20 Thread Henrik Strand
? Kind Regards, Henrik On Thu, 2012-04-19 at 13:25 +0200, Guenter Knauf wrote: Hi Henrik, Am 19.04.2012 10:39, schrieb Henrik Strand: I based the patch on the old 2003 patch (http://marc.info/?l=apache-httpd-devm=106150997309208w=2) that you said looked harmless. Anyhow, exactly how do

Re: [PATCH Attachment 28632, Bug 51257] Build failed when cross-compiling: ./gen_test_char: cannot execute binary file

2012-04-19 Thread Henrik Strand
, Henrik On Wed, 2012-04-18 at 17:36 +0200, Guenter Knauf wrote: Hi Henrik, Am 18.04.2012 09:55, schrieb Henrik Strand: I've just added a patch for https://issues.apache.org/bugzilla/show_bug.cgi?id=51257 Does my company need to sign some kind of legal contract in order for you to use

[PATCH Attachment 28632, Bug 51257] Build failed when cross-compiling: ./gen_test_char: cannot execute binary file

2012-04-18 Thread Henrik Strand
Hi, I've just added a patch for https://issues.apache.org/bugzilla/show_bug.cgi?id=51257 Does my company need to sign some kind of legal contract in order for you to use the patch? Kind Regards, Henrik

Re: /bin/sh: ./gen_test_char: cannot execute binary file

2012-03-20 Thread Henrik Strand
Hi Guenter, I can give it a try. Kind Regards, Henrik On Sat, 2012-03-17 at 12:01 +0100, Guenter Knauf wrote: Hi Henrik, Am 16.03.2012 15:07, schrieb Henrik Strand: This error has been around for 10 years or so, but I could not find an error report on this issue so I created one (in May

/bin/sh: ./gen_test_char: cannot execute binary file

2012-03-16 Thread Henrik Strand
Hi! When porting/cross-compiling the Apache HTTP Server the build fails with the following error message: /bin/sh: ./gen_test_char: cannot execute binary file. This is due to that the gen_test_char is compiled with the cross-compiler but executed on the build system. This error has been around

Re: Socket transfer from Apache httpd to a non-httpd process for https connections

2012-01-30 Thread Henrik Strand
Hi Ray, I'm using a slightly modified version of http://httpd.apache.org/docs/2.3/mod/mod_proxy_fdpass.html Regards, Henrik On Fri, 2012-01-20 at 17:12 +0100, Ray Morris wrote: I'm using a httpd module that does a socket transfer from the httpd process to another non-httpd process that is

Socket transfer from Apache httpd to a non-httpd process for https connections

2012-01-20 Thread Henrik Strand
Hi, I'm using a httpd module that does a socket transfer from the httpd process to another non-httpd process that is running on the same system. This works but currently only for http connections. I would now like to get it working for https connections as well. My thoughts are that httpd in

Infinite data stream from a non-HTTPD external process via HTTPD

2011-09-20 Thread Henrik Strand
Hi, I would like to send an infinite data stream from a non-HTTPD external process via HTTPD to the client connection. Both HTTP and HTTPS must be supported. Does HTTPD support this as of now? If not, how to implement such a module? Best Regards, Henrik

Re: Infinite data stream from a non-HTTPD external process via HTTPD

2011-09-20 Thread Henrik Strand
Will a socket pass solution work with HTTPS as well? Regards, Henrik On Tue, 2011-09-20 at 12:16 +0200, Dirk-Willem van Gulik wrote: On 20 Sep 2011, at 10:41, Henrik Strand wrote: On Tue, 2011-09-20 at 11:32 +0200, Ben Noordhuis wrote: On Tue, Sep 20, 2011 at 11:13, Henrik Strand

mod_proxy_fdpass + httpd-2.2.19

2011-08-03 Thread Henrik Strand
Hi, I'm trying to back-port Apache Module mod_proxy_fdpass to httpd-2.2.19, and building from source, but are getting the following error message when starting apachectl: httpd: Module (null) is not compatible with this version of Apache (found 0, need 20051115). Please contact the vendor for

Re: mod_proxy_fdpass + httpd-2.2.19

2011-08-03 Thread Henrik Strand
Hmm, but this is how the code looks like when I get the error that I posted. Is the module initialization done with the below code, or do I need to add that explicitly? Best Regards, Henrik On Wed, 2011-08-03 at 10:41 +0200, Nick Kew wrote: On 3 Aug 2011, at 09:27, Henrik Strand wrote

Re: Socket transfer from Apache httpd to a non-httpd process

2011-06-17 Thread Henrik Strand
Hi Eric, Great! Looks like just the thing I'm looking for. Thanks! Best regards, Henrik On Thu, 2011-06-16 at 17:46 +0200, Eric Covener wrote: On Thu, Jun 16, 2011 at 10:57 AM, Henrik Strand henrik.str...@axis.com wrote: Hi Ben, I've tried that but with no success. The problem (i.e

Socket transfer from Apache httpd to a non-httpd process

2011-06-16 Thread Henrik Strand
Hi, I need to transfer the socket descriptor for a client connection from the Apache httpd process to a non-httpd process running on the same system as Apache httpd, thus transferring the server response responsibility from Apache httpd to the non-httpd process (i.e., the Apache httpd process

Re: Socket transfer from Apache httpd to a non-httpd process

2011-06-16 Thread Henrik Strand
Hi Ben, I've tried that but with no success. The problem (i.e., that the connection is closed) still remains. Best Regards, Henrik On Thu, 2011-06-16 at 13:44 +0200, Ben Noordhuis wrote: On Thu, Jun 16, 2011 at 10:32, Henrik Strand henrik.str...@axis.com wrote: I've tried writing data