Re: Win 2.3.15 :: New log entries

2011-11-22 Thread Eric Covener
On Tue, Nov 22, 2011 at 4:42 PM, Stefan Fritsch s...@sfritsch.de wrote: Hi Steffen, thanks for your testing and your feed-back. On Tuesday 22 November 2011, Steffen wrote: Other log entries which I did not see in 2.2 with loglevel notice. [:warn] [pid 3800:tid 2216] (OS 10054)An existing

Re: Win 2.3.15 :: New log entries

2011-11-22 Thread Rainer Jung
On 22.11.2011 22:42, Stefan Fritsch wrote: [core:error] [pid 3800:tid 2216] [client 220.134.192.77:42107] Handler for type-map returned invalid result code 620018, referer: . This message denotes that there is a bug in the handler (maybe in mod_negotiation). The log message itself is new,

Re: Win 2.3.15 :: New log entries

2011-11-22 Thread Eric Covener
On Tue, Nov 22, 2011 at 6:06 AM, Steffen i...@apachelounge.com wrote: Other log entries which I did not see in 2.2 with loglevel notice. [:warn] [pid 3800:tid 2216] (OS 10054)An existing connection was forcibly closed by the remote host.  : [client 220.134.192.77:42107] mod_fcgid:

Re: Win 2.3.15 :: New log entries

2011-11-22 Thread Eric Covener
[:warn] [pid 3800:tid 2216] (OS 10054)An existing connection was forcibly closed by the remote host.  : [client 220.134.192.77:42107] mod_fcgid: ap_pass_brigade failed in handle_request_ipc function, referer: ... fcgid is supressing this error message if the error is ECONNABORTED but we

Re: Do we want to remove/deprecate mod_request?

2011-11-22 Thread William A. Rowe Jr.
On 11/22/2011 3:50 PM, Nick Kew wrote: On Tue, 22 Nov 2011 22:21:31 +0100 Stefan Fritschs...@sfritsch.de wrote: Hi, from a cursory glance at mod_request and apreq, it seems that mod_request offers a subset of the functionality of apreq. Graham, is that correct? If we aim for inclusion of

Re: Test failures and libwww-perl 6.0.3

2011-11-22 Thread Kaspar Brand
On 18.11.2011 22:21, Stefan Fritsch wrote: in case any of you also have lots of test failures with libwww-perl 6.0.3, setting these env vars fixes most of them for me: PERL_NET_HTTPS_SSL_SOCKET_CLASS=Net::SSL PERL_LWP_SSL_VERIFY_HOSTNAME=0 No idea why Net::SSL works but

Re: 2.3.15 on Windows

2011-11-22 Thread Bing Swen
Great news. Genuine progress actually, especially in terms of memory usage and grow rate. Bing -邮件原件- 发件人: William A. Rowe Jr. [mailto:wr...@rowe-clan.net] 发送时间: 2011年11月21日 13:01 收件人: dev@httpd.apache.org 主题: Re: 2.3.15 on Windows On 11/20/2011 2:11 PM, Steffen wrote: No issues so

Win 2.3.15 :: Server Status Entries

2011-11-22 Thread Steffen
Seeing a huge number of hanging entries in the Server Status, already for 20 hours and looks they are staying there forever. The requests are invalid, not sure since I do not keep the raw logs. ... ... 0-0 3800 0/177/177 _ 64980 1 0.0 0.09 0.09 94.76.244.212 www.familieland.com GET

Win 2.3.15 :: Server Status Entries

2011-11-22 Thread Steffen
Seeing a huge number of hanging entries in the Server Status, already for 20 hours and looks they are staying there forever. The requests are invalid, not sure since I do not keep the raw logs. ... ... 0-0 3800 0/177/177 _ 64980 1 0.0 0.09 0.09 94.76.244.212 www.familieland.com GET

Re: basic example shared memory code

2011-11-22 Thread michaelr
On Tue, 2011-11-22 at 11:26 +0200, Oğuzhan TOPGÜL wrote: Hi guys, I'm trying to learn shared memory and mutex concepts and i need an example shared memory apache module code that was written in c. I found some codes, but none of them is working properly. I'm using ubuntu 10.10 as a development

Re: Win 2.3.15 :: The timeout specified has expired

2011-11-22 Thread Rainer Jung
On 21.11.2011 11:59, Plüm, Rüdiger, VF-Group wrote: -Original Message- From: Steffen [mailto:i...@apachelounge.com] Sent: Montag, 21. November 2011 11:50 To: dev@httpd.apache.org Subject: Win 2.3.15 :: The timeout specified has expired Observing that the error.log is filling with

Long URIs return inconsistent error code

2011-11-22 Thread pan123_123
Summary: I have a fast-cgi application and am running into an issue whereby inconsistent error codes (404/403) are returned by the webserver.  The issue seems to be  with apr/file_io/unix/filepath.c and mappers/mod_alias.c when using long urls which approach the filesystem MAXPATHLEN

Re: Win 2.3.15 :: Server Status Entries

2011-11-22 Thread Rainer Jung
On 22.11.2011 10:28, Steffen wrote: Seeing a huge number of hanging entries in the Server Status, already for 20 hours and looks they are staying there forever. The requests are invalid, not sure since I do not keep the raw logs. ... ... 0-0 3800 0/177/177 _ 64980 1 0.0 0.09 0.09 94.76.244.212

Win 2.3.15 :: New log entries

2011-11-22 Thread Steffen
Other log entries which I did not see in 2.2 with loglevel notice. [:warn] [pid 3800:tid 2216] (OS 10054)An existing connection was forcibly closed by the remote host. : [client 220.134.192.77:42107] mod_fcgid: ap_pass_brigade failed in handle_request_ipc function, referer: ...

Style cleanup / structure reordering

2011-11-22 Thread Graham Leggett
Hi all, With the imminent arrival of v2.4, is it worth going on a style cleanup of the codebase and fix any glaring differences? If we did want to do so, now would be the time. Regards, Graham --

2.4.0….

2011-11-22 Thread Jim Jagielski
I had hoped that we could have gotten 2.4.0 out kinda soon, but with the wild-west kind of commits going on, there is a LOT of stuff changed, willy-nilly, between 2.3.15-beta and the current trunk on httpd-2.4... So I have to ask: is the intent to really release 2.4.0 anytime soon, or are is it a

Re: Effective IP address / real IP address

2011-11-22 Thread Graham Leggett
On 21 Nov 2011, at 8:04 PM, Stefan Fritsch wrote: Looks reasonable. Some comments: The error log handler log_remote_address for %a needs to fall back to c-remote_ip if r is not specified. Otherwise one would need different logformats for per-conn and per-request log messages. Also, I would

Re: Style cleanup / structure reordering

2011-11-22 Thread Jim Jagielski
Since we seem to be changing functional aspects with wild-abandon, why worry about checking to see if it's OK to do style ones?? -- Signed, Mr. Grumpy On Nov 22, 2011, at 7:31 AM, Graham Leggett wrote: Hi all, With the imminent arrival of v2.4, is it worth going on a style cleanup of the

Re: 2.4.0….

2011-11-22 Thread Graham Leggett
On 22 Nov 2011, at 3:41 PM, Jim Jagielski wrote: I had hoped that we could have gotten 2.4.0 out kinda soon, but with the wild-west kind of commits going on, there is a LOT of stuff changed, willy-nilly, between 2.3.15-beta and the current trunk on httpd-2.4... So I have to ask: is the intent

Re: 2.4.0….

2011-11-22 Thread Jim Jagielski
On Nov 22, 2011, at 8:48 AM, Graham Leggett wrote: On 22 Nov 2011, at 3:41 PM, Jim Jagielski wrote: I had hoped that we could have gotten 2.4.0 out kinda soon, but with the wild-west kind of commits going on, there is a LOT of stuff changed, willy-nilly, between 2.3.15-beta and the current

Re: 2.4.0….

2011-11-22 Thread Igor Galić
- Original Message - On Nov 22, 2011, at 8:48 AM, Graham Leggett wrote: On 22 Nov 2011, at 3:41 PM, Jim Jagielski wrote: I had hoped that we could have gotten 2.4.0 out kinda soon, but with the wild-west kind of commits going on, there is a LOT of stuff changed, willy-nilly,

Re: 2.4.0….

2011-11-22 Thread Jeff Trawick
On Tue, Nov 22, 2011 at 8:41 AM, Jim Jagielski j...@jagunet.com wrote: I had hoped that we could have gotten 2.4.0 out kinda soon, but with the wild-west kind of commits going on, there is a LOT of stuff changed, willy-nilly, between 2.3.15-beta and the current trunk on httpd-2.4... So I

RE: basic example shared memory code

2011-11-22 Thread Pranesh Vadhirajan
Nick, can you suggest some of these higher-level abstractions, please? I have been trying to make a module of mine work with a POSIX shared memory implementation, but I'm going nowhere with that. Are you referring to the apache shared memory implementation (apr_shm_...) or something else?

Re: 2.4.0….

2011-11-22 Thread Nick Kew
On Tue, 22 Nov 2011 08:41:24 -0500 Jim Jagielski j...@jagunet.com wrote: I had hoped that we could have gotten 2.4.0 out kinda soon, but with the wild-west kind of commits going on, there is a LOT of stuff changed, willy-nilly, between 2.3.15-beta and the current trunk on httpd-2.4... So I

Re: 2.4.0….

2011-11-22 Thread Greg Ames
On Tue, Nov 22, 2011 at 9:15 AM, Jeff Trawick traw...@gmail.com wrote: So I have to ask: is the intent to really release 2.4.0 anytime soon, or are is it a simple sandbox for people to play around in? It is safe to predict how that question would be answered ;) Alternately, Let's plan

Re: 2.4.0….

2011-11-22 Thread Jeff Trawick
On Tue, Nov 22, 2011 at 10:10 AM, Greg Ames ames.g...@gmail.com wrote: On Tue, Nov 22, 2011 at 9:15 AM, Jeff Trawick traw...@gmail.com wrote: So I have to ask: is the intent to really release 2.4.0 anytime soon, or are is it a simple sandbox for people to play around in? It is safe to

Re: svn commit: r1070179 - in /httpd/httpd/trunk: CHANGES docs/manual/mod/mod_cache.xml modules/cache/cache_storage.c modules/cache/cache_storage.h modules/cache/mod_cache.c modules/cache/mod_cache.h

2011-11-22 Thread Graham Leggett
On 13 Feb 2011, at 9:59 AM, Roy T. Fielding wrote: On Feb 12, 2011, at 6:03 PM, minf...@apache.org wrote: Author: minfrin Date: Sun Feb 13 02:03:29 2011 New Revision: 1070179 URL: http://svn.apache.org/viewvc?rev=1070179view=rev Log: mod_cache: When a request other than GET or HEAD arrives,

Re: Effective IP address / real IP address

2011-11-22 Thread Graham Leggett
On 21 Nov 2011, at 8:04 PM, Stefan Fritsch wrote: The error log handler log_remote_address for %a needs to fall back to c-remote_ip if r is not specified. Otherwise one would need different logformats for per-conn and per-request log messages. Also, I would prefer %{r}a and %{c}a to force

Re: Effective IP address / real IP address

2011-11-22 Thread Graham Leggett
On 22 Nov 2011, at 6:18 PM, Graham Leggett wrote: I've noticed the %{c}a syntax isn't documented for either error_log or access_log, should I update that or have I missed something? Oops, I meant the %{c}L syntax in mod_log_config. Will fix. Regards, Graham --

Re: 2.4.0….

2011-11-22 Thread Jim Jagielski
On Nov 22, 2011, at 10:12 AM, Jeff Trawick wrote: On Tue, Nov 22, 2011 at 10:10 AM, Greg Ames ames.g...@gmail.com wrote: On Tue, Nov 22, 2011 at 9:15 AM, Jeff Trawick traw...@gmail.com wrote: So I have to ask: is the intent to really release 2.4.0 anytime soon, or are is it a simple

Re: Win 2.3.15 :: Server Status Entries

2011-11-22 Thread Steffen
After almost 2 days a huge amount hanging entries are still there. Going to stop/start Apache From: Steffen Sent: Tuesday, November 22, 2011 10:28 AM To: dev@httpd.apache.org Subject: Win 2.3.15 :: Server Status Entries Seeing a huge number of hanging entries in the Server Status, already

Re: basic example shared memory code

2011-11-22 Thread Oğuzhan TOPGÜL
Thank you guys so much. What i want to do with shared memory is to hold the requester IPs and a counter that holds how many times an IP made request. I'm planning to hold them in a binary tree. I thought holding these IPs and counters in a file is slower than holding them in a shared memory

Re: svn commit: r1204730 - in /httpd/httpd/branches/2.4.x: include/ap_expr.h include/ap_mmn.h server/util_expr_eval.c server/util_expr_parse.c server/util_expr_parse.y

2011-11-22 Thread Stefan Fritsch
On Tuesday 22 November 2011, William A. Rowe Jr. wrote: +/* + * To reduce counting overhead, we only count calls to + * ap_expr_eval_word() and ap_expr_eval(). The max number of + * stack frames is larger by some factor. + */ +#define AP_EXPR_MAX_RECURSION 20 +static int

Re: Style cleanup / structure reordering

2011-11-22 Thread Stefan Fritsch
On Tuesday 22 November 2011, Graham Leggett wrote: Hi all, With the imminent arrival of v2.4, is it worth going on a style cleanup of the codebase and fix any glaring differences? If we did want to do so, now would be the time. I think it's already too late. It would now make backporting

Re: 2.4.0….

2011-11-22 Thread Stefan Fritsch
On Tuesday 22 November 2011, Nick Kew wrote: On Tue, 22 Nov 2011 08:41:24 -0500 Jim Jagielski j...@jagunet.com wrote: I had hoped that we could have gotten 2.4.0 out kinda soon, but with the wild-west kind of commits going on, there is a LOT of stuff changed, willy-nilly, between

Do we want to remove/deprecate mod_request?

2011-11-22 Thread Stefan Fritsch
Hi, from a cursory glance at mod_request and apreq, it seems that mod_request offers a subset of the functionality of apreq. Graham, is that correct? If we aim for inclusion of apreq some time in 2.4.x, it may be a good idea to not add another API for the same thing. Maybe we could document

Re: Win 2.3.15 :: Server Status Entries

2011-11-22 Thread Stefan Fritsch
On Tuesday 22 November 2011, Rainer Jung wrote: On 22.11.2011 10:28, Steffen wrote: Seeing a huge number of hanging entries in the Server Status, already for 20 hours and looks they are staying there forever. The requests are invalid, not sure since I do not keep the raw logs. ...

Re: Win 2.3.15 :: New log entries

2011-11-22 Thread Stefan Fritsch
Hi Steffen, thanks for your testing and your feed-back. On Tuesday 22 November 2011, Steffen wrote: Other log entries which I did not see in 2.2 with loglevel notice. [:warn] [pid 3800:tid 2216] (OS 10054)An existing connection was forcibly closed by the remote host. : [client

Re: 2.4.0….

2011-11-22 Thread Nick Kew
On Tue, 22 Nov 2011 22:17:50 +0100 Stefan Fritsch s...@sfritsch.de wrote: There are two API changes left that I would like to have in 2.4: - add r-remote_ip Huh? Surely tcp details belong to the connection, and are accessible from the request_rec as r-conn-remote_ip ? -- Nick Kew

Re: Effective IP address / real IP address

2011-11-22 Thread Stefan Fritsch
On Tuesday 22 November 2011, Graham Leggett wrote: On 21 Nov 2011, at 8:04 PM, Stefan Fritsch wrote: Looks reasonable. Some comments: The error log handler log_remote_address for %a needs to fall back to c-remote_ip if r is not specified. Otherwise one would need different logformats

Re: Do we want to remove/deprecate mod_request?

2011-11-22 Thread Nick Kew
On Tue, 22 Nov 2011 22:21:31 +0100 Stefan Fritsch s...@sfritsch.de wrote: Hi, from a cursory glance at mod_request and apreq, it seems that mod_request offers a subset of the functionality of apreq. Graham, is that correct? If we aim for inclusion of apreq some time in 2.4.x, it may be

Re: svn commit: r1070179 - in /httpd/httpd/trunk: CHANGES docs/manual/mod/mod_cache.xml modules/cache/cache_storage.c modules/cache/cache_storage.h modules/cache/mod_cache.c modules/cache/mod_cache.h

2011-11-22 Thread Stefan Fritsch
On Tuesday 22 November 2011, Graham Leggett wrote: On 13 Feb 2011, at 9:59 AM, Roy T. Fielding wrote: On Feb 12, 2011, at 6:03 PM, minf...@apache.org wrote: Author: minfrin Date: Sun Feb 13 02:03:29 2011 New Revision: 1070179 URL: http://svn.apache.org/viewvc?rev=1070179view=rev

Re: 2.4.0….

2011-11-22 Thread Stefan Fritsch
On Tuesday 22 November 2011, Nick Kew wrote: On Tue, 22 Nov 2011 22:17:50 +0100 Stefan Fritsch s...@sfritsch.de wrote: There are two API changes left that I would like to have in 2.4: - add r-remote_ip Huh? Surely tcp details belong to the connection, and are accessible from the

Re: 2.4.0….

2011-11-22 Thread Graham Leggett
On 22 Nov 2011, at 11:45 PM, Nick Kew wrote: Huh? Surely tcp details belong to the connection, and are accessible from the request_rec as r-conn-remote_ip ? They do until a load balancer comes along and sits in the way, obscuring the remote IP address. Suddenly the IP address is different

Re: basic example shared memory code

2011-11-22 Thread Sorin Manolache
On Tue, Nov 22, 2011 at 21:25, Oğuzhan TOPGÜL oguzhantop...@gmail.com wrote: hey guys, i'm in terrible with these shared memory. I tried to write a basic module by looking at the examples that basic module just holds a counter and prints it to the client. when i compile the code attached, i

child init/ exit and the apr_cleanup_register

2011-11-22 Thread michaelr
Hello again, maybe another stupid question but i could not found any example in the modules dir of the httpd source. Let's say i have an child_init_function which opens a filehandle. This filehandle should be open until the child ends. In mod_example.c they register an cleanup function to call

Re: child init/ exit and the apr_cleanup_register

2011-11-22 Thread michaelr
Hi Sorin, thank's for your explanation. Eyerything work fine when i register the cleanup in the way you suggested. apr_pool_cleanup_register(p, NULL, child_exit, apr_pool_cleanup_null); That saved my day. Greetings Michael On Tue, 2011-11-22 at 10:02 +0100, Sorin Manolache wrote: On Tue,

basic example shared memory code

2011-11-22 Thread Oğuzhan TOPGÜL
Hi guys, I'm trying to learn shared memory and mutex concepts and i need an example shared memory apache module code that was written in c. I found some codes, but none of them is working properly. I'm using ubuntu 10.10 as a development environment. Do you have any basic codes like shared memory

RE: Modules needing the approval of modules-dev@httpd.apache.org

2011-11-22 Thread Gavin McDonald
-Original Message- From: MATSUMOTO Ryosuke [mailto:matsu1...@gmail.com] Sent: Tuesday, 22 November 2011 4:27 PM To: modules-dev@httpd.apache.org Subject: Modules needing the approval of modules-dev@httpd.apache.org Hi, all I submitted my module to apache module registry on 10

Re: basic example shared memory code

2011-11-22 Thread MATSUMOTO Ryosuke
mod_vlimit https://modules.apache.org/search.php?id=2570 This module count a number of simultaneous connections on shared memory. 2011/11/22 michaelr my...@freenet.de: On Tue, 2011-11-22 at 11:26 +0200, Oğuzhan TOPGÜL wrote: Hi guys, I'm trying to learn shared memory and mutex concepts and i

Re: basic example shared memory code

2011-11-22 Thread Nick Kew
On 22 Nov 2011, at 09:26, Oğuzhan TOPGÜL wrote: Hi guys, I'm trying to learn shared memory and mutex concepts and i need an example shared memory apache module code that was written in c. If you're planning to write a module, bear in mind that apache now provides easy-to-use higher-level

Re: basic example shared memory code

2011-11-22 Thread Nick Kew
On Tue, 22 Nov 2011 09:41:02 -0500 Pranesh Vadhirajan vadhira...@teralogics.com wrote: Nick, can you suggest some of these higher-level abstractions, please? I have been trying to make a module of mine work with a POSIX shared memory implementation, but I'm going nowhere with that. Are you

Re: basic example shared memory code

2011-11-22 Thread Oğuzhan TOPGÜL
hey guys, i'm in terrible with these shared memory. I tried to write a basic module by looking at the examples that basic module just holds a counter and prints it to the client. when i compile the code attached, i got no error messages. But in apache error.log file i got lots of [notice] child

Re: Modules needing the approval of modules-dev@httpd.apache.org

2011-11-22 Thread MATSUMOTO Ryosuke
Sorry for delay, can't seem to find it currently, give me another day or two to check things out. OK. If you can't find submitted module, I will submit it again. regard, 2011/11/22 Gavin McDonald ga...@16degrees.com.au: -Original Message- From: MATSUMOTO Ryosuke