Data are send in reverse order

2009-09-15 Thread Petr Hracek
Hello *, in my apache module (written in C) are sended data to the client side over buckets and brigades. Function for send these date is: apr_status_t send_data_to_client(request_rec *r, char * data_to_send, int length_data) { apr_bucket_brigade * bb =

Re: [VOTE] release httpd mod_ftp-0.9.5 beta?

2009-09-15 Thread Mario Brandt
On Tue, Sep 15, 2009 at 6:43 AM, William A. Rowe, Jr. wr...@rowe-clan.net wrote: Please share your thoughts on the topic. I like that module.Since I have only one sever to configure / maintain. I use 0.9.2 from Günther since 2007 on my windows dev server. 0.9.5 compiles fine on VS9 and runs well.

Re: DAV Option Patch

2009-09-15 Thread Graham Leggett
Brian J. France wrote: While Jari's mod_dav_acl is licensed under LGPL, can the patches to httpd be licensed that way? What would we need to do to get them added if Jari's patches (or even mod_dav_acl) would fall under LGPL? All Jari would need to do is email the list to confirm that he is

Re: [VOTE] release httpd mod_ftp-0.9.5 beta?

2009-09-15 Thread Nick Kew
On 15 Sep 2009, at 05:43, William A. Rowe, Jr. wrote: William A. Rowe, Jr. wrote: William A. Rowe, Jr. wrote: [X] +1 to release as 0.9.5-beta But with a single vote, I'll declare this vote DOA on Tuesday night, after seven days of voting. And in 18 hours, with no other voters, it

crash caused by SSL_free in ssl_filter_io_shutdown

2009-09-15 Thread Plüm, Rüdiger, VF-Group
I see a crash caused by SSL_free in ssl_filter_io_shutdown: #0 0x002a96b42879 in kill () from /lib64/tls/libc.so.6 #1 signal handler called #2 0x002a959dcc97 in ASN1_template_free () from /lib64/libcrypto.so.4 #3 0x002a959dcc11 in ASN1_primitive_free () from /lib64/libcrypto.so.4

Re: Data are send in reverse order

2009-09-15 Thread Graham Leggett
Petr Hracek wrote: in my apache module (written in C) are sended data to the client side over buckets and brigades. Function for send these date is: apr_status_t send_data_to_client(request_rec *r, char * data_to_send, int length_data) { apr_bucket_brigade * bb =

Re: DAV Option Patch

2009-09-15 Thread Graham Leggett
Brian J. France wrote: Jari is the original author of mod_dav_acl, which requires patches to httpd to work. I need the same functionality added to httpd to get a mod_dav_acl type module working, so I have split up his patch into smaller pieces. Can a patch be under a different license than

Re: Data are send in reverse order

2009-09-15 Thread Petr Hracek
I do not understand of this thing. Could you please tell me if I have already connection between browser and apache server why I should use request_rec-output_filters instead of request_rec-connection-output_filters? I thought that if connection is established than request_rec-connection should

Re: Data are send in reverse order

2009-09-15 Thread Graham Leggett
Petr Hracek wrote: I do not understand of this thing. Could you please tell me if I have already connection between browser and apache server why I should use request_rec-output_filters instead of request_rec-connection-output_filters? I thought that if connection is established than

Re: accept mutex failure causes fork bomb

2009-09-15 Thread Jeff Trawick
On Mon, Sep 14, 2009 at 4:27 PM, Greg Ames ames.g...@gmail.com wrote: I'm trying to debug a problem where apparently the accept mutex went bad on a z/OS system running the worker MPM. I'm guessing that some memory that we use for the semaphore got clobbered but don't have proof yet. The

Re: svn commit: r814091 - in /httpd/httpd/trunk: CHANGES support/htcacheclean.c

2009-09-15 Thread Jeff Trawick
On Fri, Sep 11, 2009 at 7:57 PM, minf...@apache.org wrote: Author: minfrin Date: Fri Sep 11 23:57:48 2009 New Revision: 814091 URL: http://svn.apache.org/viewvc?rev=814091view=rev Log: htcacheclean: 19 ways to fail, 1 error message. Fixed. Modified: httpd/httpd/trunk/CHANGES

Re: svn commit: r814091 - in /httpd/httpd/trunk: CHANGES support/htcacheclean.c

2009-09-15 Thread Graham Leggett
Jeff Trawick wrote: Why does opt need to be cast to (int)? From the printf man page: c The int argument is converted to an unsigned char, and the resulting character is written. Why not simply zap all these checks of the form if (silly user specified no-argument

Re: Data are send in reverse order

2009-09-15 Thread Petr Hracek
I have found mod_nntp_like where is mention in ap_pass_brigade(c-output_filters,bb); and in smtp_core is usage the same. Unfortunatelly when I am using ap_pass_brigade(r-output_filter,bb); then it is not working. Web page is not show. Is it neccessary to configure Apache for using brigade and

Re: Data are send in reverse order

2009-09-15 Thread Graham Leggett
Petr Hracek wrote: I have found mod_nntp_like where is mention in ap_pass_brigade(c-output_filters,bb); and in smtp_core is usage the same. Neither of these modules implement http, so don't use them as examples of how an http module should be implemented. Unfortunatelly when I am using

Re: Data are send in reverse order

2009-09-15 Thread Eric Covener
On Tue, Sep 15, 2009 at 9:45 AM, Petr Hracek phrac...@gmail.com wrote: I have found mod_nntp_like where is mention in ap_pass_brigade(c-output_filters,bb); and in smtp_core is usage the same. These are both modules that provide a non-HTTP protocol over the connection. If that doesn't match

Re: Data are send in reverse order

2009-09-15 Thread Nick Kew
Petr Hracek wrote: I have found mod_nntp_like where is mention in ap_pass_brigade(c-output_filters,bb); and in smtp_core is usage the same. Those are protocol modules. So anything-HTTP is not relevant to them. Unfortunatelly when I am using ap_pass_brigade(r-output_filter,bb); then it is

Re: svn commit: r814091 - in /httpd/httpd/trunk: CHANGES support/htcacheclean.c

2009-09-15 Thread Jeff Trawick
On Tue, Sep 15, 2009 at 9:45 AM, Graham Leggett minf...@sharp.fm wrote: Jeff Trawick wrote: Why does opt need to be cast to (int)? From the printf man page: c The int argument is converted to an unsigned char, and the resulting character is written. That's what

Re: accept mutex failure causes fork bomb

2009-09-15 Thread Jeff Trawick
On Mon, Sep 14, 2009 at 4:27 PM, Greg Ames ames.g...@gmail.com wrote: * Should we yank the squatting logic? I think it is doing us more harm than good. IIRC it was put in to make the server respond faster when the workload is spikey. It finally occurred to me what you meant by spikey:

Re: svn commit: r795451 - /httpd/httpd/branches/2.2.x/STATUS

2009-09-15 Thread Rich Bowen
FWIW, I preferred your earlier suggestion of Fallback[Handler| Action]. If this mirrors the behavior of Action (in the way variables are presented to the fallback resource) then FallbackAction makes the most sense. If it is restricted to a filespec at the same dir level, then perhaps

Re: svn commit: r795451 - /httpd/httpd/branches/2.2.x/STATUS

2009-09-15 Thread Rich Bowen
On Sep 11, 2009, at 5:53 PM, William A. Rowe, Jr. wrote: Can we compromise on the name NotFoundHandler, MissingFileHandler, NotFoundAction, MissingFileAction, or any of a dozen other possible variations that don't contain the misleading word Default? FWIW, I preferred your earlier

Re: [VOTE] release httpd mod_ftp-0.9.5 beta?

2009-09-15 Thread Guenter Knauf
Hi Bill, William A. Rowe, Jr. schrieb: And in 18 hours, with no other voters, it seems appropriate to begin a vote for dissolving mod_ftp from the httpd project. Please share your thoughts on the topic. please dont do that! Maybe that currently folks are otherwise busy (me too), but that

Re: DAV Option Patch

2009-09-15 Thread Julian Reschke
Brian J. France wrote: ... There is one draw back to this patch in that there could be duplicated values in the headers. Both mod_dav_acl and mod_caldav want to add the REPORT in the Allow header, so it would show up twice in the list. I am not sure if this is a major problem, but wanted to

Re: [VOTE] release httpd mod_ftp-0.9.5 beta?

2009-09-15 Thread William A. Rowe, Jr.
Guenter Knauf wrote: Also, since its beta state we should probably also take test results of non-commiters into account, f.e. Mario and Jorge? We *always* (that is all of us, PMC members) consider everyone's votes and commentary on all releases. Although they are not binding, they are very

Re: svn commit: r795451 - /httpd/httpd/branches/2.2.x/STATUS

2009-09-15 Thread Bob Ionescu
2009/9/15 Rich Bowen rbo...@rcbowen.com: FallbackHandler and FrontController both make a lot of sense to me. FrontController seems like it might be more correct, in terms of accepted usage in the larger world out there, but either one makes me happy. Looks like a name was found (or not). :-)

Re: accept mutex failure causes fork bomb

2009-09-15 Thread Greg Ames
On Tue, Sep 15, 2009 at 8:07 AM, Jeff Trawick traw...@gmail.com wrote: On Mon, Sep 14, 2009 at 4:27 PM, Greg Ames ames.g...@gmail.com wrote: I'm trying to debug a problem where apparently the accept mutex went bad on a z/OS system running the worker MPM. I'm guessing that some memory that

Re: svn commit: r814091 - in /httpd/httpd/trunk: CHANGES support/htcacheclean.c

2009-09-15 Thread Jeff Trawick
On Tue, Sep 15, 2009 at 1:52 PM, Graham Leggett minf...@sharp.fm wrote: Jeff Trawick wrote: Just zap the check since it is unnecessary. So first you suggest that all the checks be collapsed down to one check, I don't recall doing that, though I did suggest that if we keep the checks we

Logging command line at startup

2009-09-15 Thread Dan Poirier
I'd like to log the server command line and server root at startup. The reason is: sometimes when debugging a problem I'm given some logs and a directory full of various revisions of the server configuration file, and can only guess which of the configuration files was actually being used.

Re: Logging command line at startup

2009-09-15 Thread William A. Rowe, Jr.
Dan Poirier wrote: I'd like to log the server command line and server root at startup. The reason is: sometimes when debugging a problem I'm given some logs and a directory full of various revisions of the server configuration file, and can only guess which of the configuration files was

Re: Logging command line at startup

2009-09-15 Thread Paul Querna
On Tue, Sep 15, 2009 at 11:58 AM, William A. Rowe, Jr. wr...@rowe-clan.net wrote: Dan Poirier wrote: I'd like to log the server command line and server root at startup. The reason is: sometimes when debugging a problem I'm given some logs and a directory full of various revisions of the

Re: Logging command line at startup

2009-09-15 Thread Akins, Brian
On 9/15/09 3:18 PM, Paul Querna p...@querna.org wrote: I would prefer to just put it into the log file like Dan did.. not everyone uses apachectl :) +1 -- Brian Akins

Re: [VOTE] release httpd mod_ftp-0.9.5 beta?

2009-09-15 Thread Sander Temme
On Sep 14, 2009, at 9:43 PM, William A. Rowe, Jr. wrote: William A. Rowe, Jr. wrote: William A. Rowe, Jr. wrote: [X] +1 to release as 0.9.5-beta But with a single vote, I'll declare this vote DOA on Tuesday night, after seven days of voting. And in 18 hours, with no other voters, it

Re: [VOTE] release httpd mod_ftp-0.9.5 beta?

2009-09-15 Thread Gregg L. Smith
Headline: Policy kills and up-and-coming star Problems I see in no particular order; 1. Two subproject votes called simultaneously totaling 3 concurrent open votes (fcgid, ftp, ServerTokens OFF), and a one let's get this ready to vote (httpd 2.3.3). That's a lot to chew on, especially with

Re: [VOTE] release httpd mod_ftp-0.9.5 beta?

2009-09-15 Thread William A. Rowe, Jr.
Guenter Knauf wrote: I'd suggest you just let the vote stay, and once mod_cgid is out maybe some more get to mod_ftp ... I'm happy to do so, if Sander, yourself or others are interested in voting. I'm unwilling to have an open ended vote thread dangling forever, of course. A decision should be

Re: [VOTE] release httpd mod_ftp-0.9.5 beta?

2009-09-15 Thread Guenter Knauf
Sander Temme schrieb: So, rather than threatening to get rid of the module, I move to fold it into trunk. +1 Gün.

Re: [VOTE] release httpd mod_ftp-0.9.5 beta?

2009-09-15 Thread Jeff Trawick
On Tue, Sep 15, 2009 at 12:43 AM, William A. Rowe, Jr. wr...@rowe-clan.netwrote: William A. Rowe, Jr. wrote: William A. Rowe, Jr. wrote: [X] +1 to release as 0.9.5-beta But with a single vote, I'll declare this vote DOA on Tuesday night, after seven days of voting. And in 18

Re: [VOTE] release httpd mod_ftp-0.9.5 beta?

2009-09-15 Thread William A. Rowe, Jr.
Sander Temme wrote: So, rather than threatening to get rid of the module, I move to fold it into trunk. You read my mind; not that ftp needs to be in trunk (that would be cool), but that trunk has not been released in 4 years, which is a far more serious issue than mod_ftp's 15 months :) So

Re: [VOTE] release httpd mod_ftp-0.9.5 beta?

2009-09-15 Thread Jeff Trawick
On Tue, Sep 15, 2009 at 4:57 PM, Guenter Knauf fua...@apache.org wrote: Sander Temme schrieb: So, rather than threatening to get rid of the module, I move to fold it into trunk. +1 mod_ftp currently supports Apache 2.0 and 2.2 as well. I think the natural order is to first establish a

Re: svn commit: r814091 - in /httpd/httpd/trunk: CHANGES support/htcacheclean.c

2009-09-15 Thread Graham Leggett
Jeff Trawick wrote: You misunderstood my comment (possibly because I didn't write it clearly). What I meant by Why not simply zap all these checks of the form if (silly user specified no-argument option again) { remind them who is boss } to avoid code bloat? is that I didn't

Re: [VOTE] release httpd mod_ftp-0.9.5 beta?

2009-09-15 Thread Guenter Knauf
Bill, Mario just told me that there's no mod_ftp Win32 binary yet: http://httpd.apache.org/dev/dist/mod_ftp/ maybe you can one upload? Gün.

Re: [VOTE] release httpd mod_ftp-0.9.5 beta?

2009-09-15 Thread William A. Rowe, Jr.
Gregg L. Smith wrote: Problems I see in no particular order; 1. Two subproject votes called simultaneously totaling 3 concurrent open votes (fcgid, ftp, ServerTokens OFF), and a one let's get this ready to vote (httpd 2.3.3). That's a lot to chew on, especially with all the other

Re: [VOTE] release httpd mod_ftp-0.9.5 beta?

2009-09-15 Thread William A. Rowe, Jr.
William A. Rowe, Jr. wrote: But I wouldn't like to see any new roadblocks to getting out the first alpha/beta of 2.3.x, at long last. (and that goes for mod_fcgid as well, which should also go to trunk once we've got just one release from trunk, and I'm guessing that vote will fly with broad

Re: [VOTE] release httpd mod_ftp-0.9.5 beta?

2009-09-15 Thread Guenter Knauf
Bill, William A. Rowe, Jr. schrieb: William A. Rowe, Jr. wrote: [X] +1 to release as 0.9.5-beta But with a single vote, I'll declare this vote DOA on Tuesday night, after seven days of voting. And in 18 hours, with no other voters, it seems appropriate to begin a vote for dissolving

Re: svn commit: r815527 - /httpd/mod_ftp/trunk/modules/ftp/ftp_commands.c

2009-09-15 Thread William A. Rowe, Jr.
fua...@apache.org wrote: /* Special FTPOption that maps NLST directly to LIST */ -if (!is_list (fsc-options FTP_OPT_NLSTISLIST) || dashl) { +if ((!is_list (fsc-options FTP_OPT_NLSTISLIST)) || dashl) { is_list = 1; } Wouldn't this be if (!is_list

Re: svn commit: r815527 - /httpd/mod_ftp/trunk/modules/ftp/ftp_commands.c

2009-09-15 Thread Guenter Knauf
Hi, William A. Rowe, Jr. schrieb: Wouldn't this be if (!is_list ((fsc-options FTP_OPT_NLSTISLIST) || dashl)) { as there is no point otherwise? Actually we could drop the !is_list test, considering that forced-override isn't harmful. sorry, didnt look closely enough, please forgive -

Re: svn commit: r815527 - /httpd/mod_ftp/trunk/modules/ftp/ftp_commands.c

2009-09-15 Thread William A. Rowe, Jr.
Guenter Knauf wrote: sorry, didnt look closely enough, please forgive - fixed with r815577. No bother :) Not sure it's worth rerolling for, but the other item you pointed out might be more significant. Looking at it.