Re: Read post data

2010-03-09 Thread simon simon
Hi, Many thanks for the tip I have two modules, one have received the body with ap_get_client_block()(I have no source), it handle the content, the other one need dispatch the original body to some servers. so, I don't know how can i get the body 2010/3/9 Jeff Trawick traw...@gmail.com

Re: Read post data

2010-03-09 Thread Jeff Trawick
On Mon, Mar 8, 2010 at 11:47 PM, simon simon netos...@gmail.com wrote: hi there, I am using ap_setup_client_block() and ap_get_client_block() methods of API to read POST request, Request body is being read properly, but there is another module waiting these data, it never receive it (also use

DSO question

2010-03-09 Thread Graf, László
Hi all, I have an APACHE 2 module, a content generator, named mod_gl and it is configured to handle the following location: LoadModule gl_module modules/mod_gl.so Location /gl SetHandler gl_module /Location I have a shared library containing a function to calculate a multiple

Re: svn commit: r113 - /release/httpd/patches/apply_to_2.0.63/CVE-2010-0425.patch

2010-03-09 Thread Jeff Trawick
On Tue, Mar 9, 2010 at 11:52 AM, wr...@apache.org wrote: Author: wrowe Date: Tue Mar  9 11:52:32 2010 New Revision: 113 Log: For 2.0 patch available, note different line numbers I will continue working on the related vulnerabilities-httpd.xml update unless you've already started ;)

Re: DSO question

2010-03-09 Thread Joe Lewis
On Tue, March 9, 2010 6:43 am, Graf, László wrote: I have a shared library containing a function to calculate a multiple of 10. The header file (apr_dso_f.h): int f10(int p1); I use this library with an APR console application and it woks fine. OK. My module loads also this SO library

Re: Read post data

2010-03-09 Thread Jeff Trawick
On Tue, Mar 9, 2010 at 7:45 AM, simon simon netos...@gmail.com wrote: Hi,  Many thanks for the tip  I have two modules, one have received the body with ap_get_client_block()(I have no source), it handle the content,  the other one need dispatch the original body to some servers.  so, I

Re: DSO question

2010-03-09 Thread Graf László
Hi Joe, You are so kind. Thank you for your reply. I think that I wasn't clear enough. I know how to parse the HTTP request to access the arguments, I know how to use the atoi function but now it is not the case. In that moment when I have the name of the function, ex. f10, I have this

Re: Download page recommends 2.3.5-alpha over all previous releases

2010-03-09 Thread Jeff Trawick
On Mon, Mar 8, 2010 at 9:27 AM, Dan Poirier poir...@pobox.com wrote: I just noticed this at http://httpd.apache.org/download.cgi:   The Apache HTTP Server Project is pleased to announce the release of   Apache HTTP Server, version 2.3.5-alpha. This release represents ten   years of innovation

Re: memory leak in 2.3.4-alpha

2010-03-09 Thread Jeff Trawick
On Sun, Mar 7, 2010 at 6:54 PM, Joe Schaefer joe_schae...@yahoo.com wrote: Hm, on closer inspection it seems the high memory usage we're seeing is common to both 2.3.5 and 2.2.12, so it's likely an mod_mbox issue, which is probably infra's ball of wax to deal with. Looking at backtraces from

Re: DSO question

2010-03-09 Thread Ben Noordhuis
What I need is to tell to APR, hey APR please find the function f10 in all loaded libraries, then execute the function and give me back the result. That is not how it works in C. Function names only exist in source code, at run-time it is nothing but an address in memory. Google 'function

RE: DSO question

2010-03-09 Thread Thomas, Peter
-Original Message- From: Ben Noordhuis [mailto:i...@bnoordhuis.nl] Sent: Tuesday, March 09, 2010 1:34 PM To: modules-...@httpd.apache.org Subject: Re: DSO question What I need is to tell to APR, hey APR please find the function f10 in all loaded libraries, then execute the

Re: svn commit: r113 - /release/httpd/patches/apply_to_2.0.63/CVE-2010-0425.patch

2010-03-09 Thread William A. Rowe Jr.
On 3/9/2010 11:15 AM, Jeff Trawick wrote: On Tue, Mar 9, 2010 at 11:52 AM, wr...@apache.org wrote: Author: wrowe Date: Tue Mar 9 11:52:32 2010 New Revision: 113 Log: For 2.0 patch available, note different line numbers I will continue working on the related vulnerabilities-httpd.xml

Re: svn commit: r113 - /release/httpd/patches/apply_to_2.0.63/CVE-2010-0425.patch

2010-03-09 Thread Joe Orton
On Tue, Mar 09, 2010 at 02:43:08PM -0600, William Rowe wrote: On 3/9/2010 11:15 AM, Jeff Trawick wrote: On Tue, Mar 9, 2010 at 11:52 AM, wr...@apache.org wrote: Author: wrowe Date: Tue Mar 9 11:52:32 2010 New Revision: 113 Log: For 2.0 patch available, note different line numbers

mod_reqtimeout and mod_proxy: how to distinguish incoming from backend connections

2010-03-09 Thread Stefan Fritsch
Hi, mod_proxy calls ap_run_pre_connection() on the backend connection, which causes mod_reqtimeout to be inserted as filter. This is of course wrong, because mod_reqtimeout will mess up mod_proxy's socket timeouts. After digging in the code I have found two potential solutions: - The

Re: mod_reqtimeout and mod_proxy: how to distinguish incoming from backend connections

2010-03-09 Thread Rainer Jung
Hi Stefan, On 09.03.2010 22:20, Stefan Fritsch wrote: BTW, can someone create a mod_reqtimeout entry in bugzilla? Done.

Re: svn commit: r113 - /release/httpd/patches/apply_to_2.0.63/CVE-2010-0425.patch

2010-03-09 Thread William A. Rowe Jr.
On 3/9/2010 2:51 PM, Joe Orton wrote: On Tue, Mar 09, 2010 at 02:43:08PM -0600, William Rowe wrote: On 3/9/2010 11:15 AM, Jeff Trawick wrote: On Tue, Mar 9, 2010 at 11:52 AM, wr...@apache.org wrote: Author: wrowe Date: Tue Mar 9 11:52:32 2010 New Revision: 113 Log: For 2.0 patch

Re: svn commit: r113 - /release/httpd/patches/apply_to_2.0.63/CVE-2010-0425.patch

2010-03-09 Thread William A. Rowe Jr.
On 3/9/2010 2:51 PM, Joe Orton wrote: On Tue, Mar 09, 2010 at 02:43:08PM -0600, William Rowe wrote: On 3/9/2010 11:15 AM, Jeff Trawick wrote: On Tue, Mar 9, 2010 at 11:52 AM, wr...@apache.org wrote: Author: wrowe Date: Tue Mar 9 11:52:32 2010 New Revision: 113 Log: For 2.0 patch