Re: proxy returning apr_status_t to handler?

2007-12-18 Thread Jeff Trawick
On Dec 17, 2007 11:20 AM, Jeff Trawick [EMAIL PROTECTED] wrote: On Dec 17, 2007 10:27 AM, Nick Kew [EMAIL PROTECTED] wrote: On Mon, 17 Dec 2007 10:22:02 -0500 Eric Covener [EMAIL PROTECTED] wrote: Thanks; Any particular concerns about the generic fix for 2.0.x? Haven't looked

Re: proxy returning apr_status_t to handler?

2007-12-18 Thread Jeff Trawick
On Dec 18, 2007 12:06 PM, Plüm, Rüdiger, VF-Group [EMAIL PROTECTED] wrote: -Ursprüngliche Nachricht- Von: Jeff Trawick Gesendet: Dienstag, 18. Dezember 2007 17:43 An: dev@httpd.apache.org Betreff: Re: proxy returning apr_status_t to handler? Argh. Without further testing

Re: Getting perl to core via mod_cgi

2005-10-14 Thread Jeff Trawick
On 10/14/05, Graham Leggett [EMAIL PROTECTED] wrote: Joost de Heer wrote: What's 'ulimit -c' (bash, under tcsh it's 'limit -c', other shells may differ) for the user under which httpd runs? [EMAIL PROTECTED] ~]# ulimit -c unlimited This is for root though, which spawned httpd, which

Re: Apache HTTP Server 1.3.34 prerelease tarballs

2005-10-16 Thread Jeff Trawick
On 10/13/05, Jim Jagielski [EMAIL PROTECTED] wrote: Look for the Apache HTTP Server 1.3.34 prerelease tarballs in: http://httpd.apache.org/dev/dist/ +1 (AIX 5.3)

Re: mod_mem_cache and caching of file descriptors

2005-10-17 Thread Jeff Trawick
On 10/17/05, Colm MacCarthaigh [EMAIL PROTECTED] wrote: On Mon, Oct 17, 2005 at 07:19:18AM -0400, Jeff Trawick wrote: doc says mod_mem_cache can be configured to operate in two modes: caching open file descriptors or caching objects in heap storage CacheEnable fd will use mod_mem_cache

Re: svn commit: r326058 - /httpd/httpd/trunk/modules/metadata/mod_setenvif.c

2005-10-18 Thread Jeff Trawick
On 10/18/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Author: jfclere Date: Tue Oct 18 02:24:02 2005 New Revision: 326058 URL: http://svn.apache.org/viewcvs?rev=326058view=rev Log: C++ comments are not supported by some compilers (ReliantUnix). or native compilers for AIX, z/OS, HP-UX,

Re: mod_cpluplus

2005-10-21 Thread Jeff Trawick
On 10/20/05, artem [EMAIL PROTECTED] wrote: Hi All. When I'm building my own module (using mod_cplusplus) string LoadCPPHandler in httpd.conf causing /etc/init.d/apachectl: line 89: 13955 Segmentation fault $HTTPD -k $ARGV, but when i'm writing it in mod_cplusplus dir using it's own MakeFile

Re: Apache 2.0.x Binary distribution for HPUX

2005-10-21 Thread Jeff Trawick
On 10/21/05, chris [EMAIL PROTECTED] wrote: I'm trying to build a binary distribution of Apache 2.0.54 for HPUX 32bits. I can build the binaries, and the tar.gz distrib file, but I can not deploy it on other servers, since my httpd binary doesn't seem to be properly linked. I build the

Re: [PATCH] PR37145: data loss with httpd-2.0.55 reverse proxy method=post

2005-10-21 Thread Jeff Trawick
On 10/19/05, Ruediger Pluem [EMAIL PROTECTED] wrote: On 10/19/2005 10:44 PM, William A. Rowe, Jr. wrote: [..cut..] The problem is -not- in creating the transient buckets (if they are sent, that's goodness). The problem is in transforming them to persistant buckets before the

Re: [PATCH] PR37145: data loss with httpd-2.0.55 reverse proxy method=post

2005-10-21 Thread Jeff Trawick
On 10/21/05, Ruediger Pluem [EMAIL PROTECTED] wrote: On 10/21/2005 04:06 PM, Joe Orton wrote: [..cut..] I agree that's the correct analysis, your patch to fix the proxy to use ap_save_brigade looks good to me. Thanks for feedback. I will commit later to give otherBill a chance for

Re: Apache 2.0.x Binary distribution for HPUX

2005-10-21 Thread Jeff Trawick
On 10/21/05, William A. Rowe, Jr. [EMAIL PROTECTED] wrote: Jeff Trawick wrote: I use some hacks for binbuild-like binary distributions on HP-UX: a) add -Wl,+s for SHLIB_PATH (you tried that) It works nicely if you tweak libtool's archive_cmds from +b to +s +b in the hpux* section

Re: svn commit: r327601 - /httpd/httpd/branches/2.0.x/STATUS

2005-10-21 Thread Jeff Trawick
On 10/21/05, Colm MacCarthaigh [EMAIL PROTECTED] wrote: On Fri, Oct 21, 2005 at 10:48:23PM -, [EMAIL PROTECTED] wrote: Author: rpluem Date: Fri Oct 21 15:48:18 2005 New Revision: 327601 URL: http://svn.apache.org/viewcvs?rev=327601view=rev Log: * Move two backports from proposed

Re: The 2.2.0 Process

2005-10-24 Thread Jeff Trawick
On 10/23/05, Paul Querna [EMAIL PROTECTED] wrote: 2) 2.1.N is voted on for BETA. 3) Assuming the vote passes, several days after releasing 2.1.N-BETA, a vote to mark 2.1.N-BETA as Stable/General Availability will be called for by the 2.1.N Release Manager. 3 days is maybe enough time to

Re: [RFC] require apr/apr-util 1.2.x for 2.2.x

2005-10-24 Thread Jeff Trawick
On 10/24/05, Nick Kew [EMAIL PROTECTED] wrote: On Monday 24 October 2005 13:22, Joe Orton wrote: There was a thread about this previously; just checking for consensus, is there any objection to bumping the apr/apr-util version requirements to 1.2.x? (1.2.x is already required for mod_dbd,

ProxyPassReverseCookieDomain in 2.0?

2005-10-25 Thread Jeff Trawick
The patch in PR 10722 seems to be very widely referred to (perhaps widely used as well ;) ). Are there any known issues with that patch? Is there any technical reason why it couldn't be applied to 2.0?

just how bad an idea is it to specify the path to suexec binary in httpd.conf?

2005-11-03 Thread Jeff Trawick
ErrorLog /etc/some-important-database LoadModule hidden_module /usr/local/viewcvs-0.9.3/pipeopen.py SuexecWrapper /www/abc.example.com/bin/suexec If random user can edit main conf file, things are pretty bad, at least when root starts Apache. Perhaps there are more current limitations on

Re: Building Apache 2.0.55

2005-11-10 Thread Jeff Trawick
On 11/10/05, Paul Smedley [EMAIL PROTECTED] wrote: Hi All, I'm trying to get Apache2 2.0.55 building and running on OS/2 using GCC 3.3.5. There's a current build of Apache using GCC 2.8.1 but that GCC is getting a bit long in the tooth so I'd like to update things :) Anyway, I have it

Re: svn commit: r327872 - in /httpd/httpd/trunk: CHANGES include/httpd.h server/core_filters.c

2005-11-11 Thread Jeff Trawick
On 10/23/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Author: brianp Date: Sun Oct 23 15:38:35 2005 New Revision: 327872 URL: http://svn.apache.org/viewcvs?rev=327872view=rev Log: New version of ap_core_output_filter that does nonblocking writes ... +static apr_status_t

Re: Proper declaration for apr_wait_for_io_or_timeout() (was: Re: NWGNUmakefile update for APR1.2?)

2005-11-11 Thread Jeff Trawick
On 11/11/05, Brad Nicholes [EMAIL PROTECTED] wrote: On 11/11/2005 at 1:40:32 pm, in message [EMAIL PROTECTED], Jeff Trawick [EMAIL PROTECTED] wrote: On 11/11/05, Brad Nicholes [EMAIL PROTECTED] wrote: Reposting to the APR list with a new subject line. Does this need to be taken

Re: Can't compile trunk on Win

2005-11-12 Thread Jeff Trawick
On 11/12/05, Vadim Chekan [EMAIL PROTECTED] wrote: Hi all, I've tryed to compile httpd/trunk and got an error: core_filters.obj : error LNK2019: unresolved external symbol _apr_wait_for_io_or_timeout referenced in function _send_brigade_blocking I have apr from apr/branches/1.2.x and looks

apr_wait_for_io_or_timeout() decl in apr_support.h which is in public include directory

2005-11-13 Thread Jeff Trawick
On 11/12/05, Brian Pane [EMAIL PROTECTED] wrote: On Nov 11, 2005, at 6:21 PM, Jeff Trawick wrote: On 11/11/05, Brad Nicholes [EMAIL PROTECTED] wrote: On 11/11/2005 at 1:40:32 pm, in message [EMAIL PROTECTED], Jeff Trawick [EMAIL PROTECTED] wrote: On 11/11/05, Brad Nicholes [EMAIL

Re: Typo in modules\proxy\mod_proxy.c

2005-11-15 Thread Jeff Trawick
On 11/15/05, Christophe Jaillet [EMAIL PROTECTED] wrote: Typo in modules\proxy\mod_proxy.c, in function set_status_opt, line 1388 : Thanks for the patch! Committed to trunk.

Re: Small cleanup in /modules/mappers/mod_negotiation.c, in function get_body

2005-11-20 Thread Jeff Trawick
On 11/20/05, Ruediger Pluem [EMAIL PROTECTED] wrote: On 11/20/2005 11:00 AM, Ruediger Pluem wrote: [..cut..] If there is consensus that such trivial CHANGES should not be added (which I would also tend to with the reasons you mentioned), then I will happily remove the CHANGE

mod_dav and EBCDIC

2005-11-20 Thread Jeff Trawick
On input path, ap_xml_parse_input() handles converting xml to native charset (at least in 2.2). On output, there is no provision for converting xml in responses. Some choices: (a) convert right in DAV before calling ap_fXXX() APIs (b) have DAV implement a filter that converts xml from native to

Re: mod_so problem under OS/2

2005-11-27 Thread Jeff Trawick
On 11/26/05, Paul Smedley [EMAIL PROTECTED] wrote: What's happening is that it's loading all the modules that are listed in httpd.conf, then for some reason is trying to load them a second time which then fails as the library is already open. loading them again is normal; but they are

Re: realtime client connnection abort notifications

2005-12-17 Thread Jeff Trawick
On 12/17/05, Christian Parpart [EMAIL PROTECTED] wrote: What I need is a way to install a hook within the apache server process that gets invoked ASAP(!) the client connection of interest has been aborted (mostly by client side). if a module is busy handling the request (e.g., long-running

Re: Apache 2.2.0 Listen Directive

2005-12-28 Thread Jeff Trawick
On 12/28/05, Fenlason, Josh [EMAIL PROTECTED] wrote: I'm running into an issue where Apache 2.2.0 on AIX won't start if there is more than one Listen directive. Does it get better if you code Listen 0.0.0.0:port1 Listen 0.0.0.0:port2 ? What version of AIX (unclear that it matters)? Can you

Re: Apache 2.2.0 Listen Directive

2005-12-30 Thread Jeff Trawick
On 12/28/05, Jeff Trawick [EMAIL PROTECTED] wrote: On 12/28/05, Fenlason, Josh [EMAIL PROTECTED] wrote: I'm running into an issue where Apache 2.2.0 on AIX won't start if there is more than one Listen directive. Can you send me truss of startup using the failure configuration? truss -o

Re: mod_cgi, fork, and threaded MPMs

2006-01-14 Thread Jeff Trawick
On 1/14/06, Paul Querna [EMAIL PROTECTED] wrote: Last week bloglines.com upgraded from 2.0.x to 2.2.x. At the same time, I switched us from mod_cgid to mod_cgi. mod_cgid has some problems if its path to the cgisock changes at any time, it really needs to call realpath() on the cgisock path,

Re: filters that change r-status[_line]

2006-02-17 Thread Jeff Trawick
(editing subject line slightly) On 2/16/06, Jeff Trawick [EMAIL PROTECTED] wrote: (perhaps tell me where I go wrong here with the way it is supposed to work) A module that wants to use an HTTP response code which has no built-in support in Apache needs to set r-status AND r-status_line

Re: filters that change r-status[_line]

2006-02-17 Thread Jeff Trawick
On 2/17/06, Joe Orton [EMAIL PROTECTED] wrote: On Fri, Feb 17, 2006 at 11:03:54AM -0500, Jeff Trawick wrote: On 2/16/06, Jeff Trawick [EMAIL PROTECTED] wrote: ... The range support right now isn't smart enough to clear r-status_line when it sets a new status code (206, 416). That needs

input filter which modifies body, Content-Length

2006-02-23 Thread Jeff Trawick
(Apologies if there is juicy past discussion that I didn't find with my search keywords.) It isn't clear to me what an input filter should do about Content-Length when it modifies the length of the body (assuming that this isn't chunked encoding). It causes problems for some handlers to modify

Re: input filter which modifies body, Content-Length

2006-02-24 Thread Jeff Trawick
On 2/24/06, Greg Ames [EMAIL PROTECTED] wrote: Jeff Trawick wrote: It isn't clear to me what an input filter should do about Content-Length when it modifies the length of the body (assuming that this isn't chunked encoding). mod_cgi uses brigades to read the body but needs to look

Re: Detecting if Client closed connection

2006-03-03 Thread Jeff Trawick
On 3/1/06, R, Rajesh (STSD) [EMAIL PROTECTED] wrote: Hello, I am working on a patch, to kill a cgi process if the client closes the conenction in Apache 2.0.54/mod_cgid. Apache only finds out when it tries to do I/O. CGI needs to write a little output to the client every so often if it is

pool use/mutex initialization in util_ldap not thread safe?

2006-03-15 Thread Jeff Trawick
Plz forgive any misunderstanding, as well as my use of 2.0 function names ;) Also, for being slow at learning what ldap stands for. I know this code has been hashed over many many times over the last few years. util_ldap_create_config() creates the per-server config for util_ldap. That saves a

Re: pool use/mutex initialization in util_ldap not thread safe?

2006-03-15 Thread Jeff Trawick
On 3/15/06, Brad Nicholes [EMAIL PROTECTED] wrote: I think you are right. I am going to take a closer look at that code and see about fixing both the mutex problem and the use of the config pool. This could actually explain some funny things that I have been seeing on the NetWare build

Re: pool use/mutex initialization in util_ldap not thread safe?

2006-03-16 Thread Jeff Trawick
On 3/16/06, Ruediger Pluem [EMAIL PROTECTED] wrote: On 03/16/2006 03:49 AM, Jeff Trawick wrote: On 3/15/06, Brad Nicholes wrote: That is really one pool globally but there is a mutex per server_rec. So a thread handling a request for one vhost grabs the mutex and uses the pool

Re: pool use/mutex initialization in util_ldap not thread safe?

2006-03-16 Thread Jeff Trawick
On 3/16/06, Brad Nicholes [EMAIL PROTECTED] wrote: On 3/16/2006 at 7:12 am, in message [EMAIL PROTECTED], Jeff Trawick [EMAIL PROTECTED] wrote: On 3/16/06, Ruediger Pluem [EMAIL PROTECTED] wrote: On 03/16/2006 03:49 AM, Jeff Trawick wrote: On 3/15/06, Brad Nicholes wrote

Re: pool use/mutex initialization in util_ldap not thread safe?

2006-03-16 Thread Jeff Trawick
On 3/16/06, Graham Leggett [EMAIL PROTECTED] wrote: Jeff Trawick wrote: if ldap server times out the connection and we have to bring one back up, that is no pool growth, right? we just get pool growth when we talk to an LDAP server we haven't already talked to yet, or when? Dead LDAP

Re: svn commit: r386477 - /httpd/httpd/trunk/modules/ldap/util_ldap.c

2006-03-16 Thread Jeff Trawick
On 3/16/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: URL: http://svn.apache.org/viewcvs?rev=386477view=rev Log: remove the race condition when creating the connection pool mutex. Also eliminate some unnecessary uses of the global memory pool cool! @@ -1753,7 +1753,10 @@

Re: svn commit: r386477 - /httpd/httpd/trunk/modules/ldap/util_ldap.c

2006-03-17 Thread Jeff Trawick
On 3/16/06, Brad Nicholes [EMAIL PROTECTED] wrote: On 3/16/2006 at 7:01 pm, in message [EMAIL PROTECTED], Jeff Trawick [EMAIL PROTECTED] wrote: On 3/16/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: URL: http://svn.apache.org/viewcvs?rev=386477view=rev Log: remove the race condition

Re: svn commit: r386698 - /httpd/httpd/trunk/modules/ldap/util_ldap.c

2006-03-17 Thread Jeff Trawick
On 3/17/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Author: bnicholes Date: Fri Mar 17 11:26:27 2006 New Revision: 386698 URL: http://svn.apache.org/viewcvs?rev=386698view=rev Log: Fix the server_merge so that the memory pools and mutexes that were created during the server_create, are

Re: svn commit: r386776 - in /httpd/httpd/trunk/docs/manual/mod: mod_ldap.html.en mod_ldap.xml

2006-03-18 Thread Jeff Trawick
On 3/18/06, Graham Leggett [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] wrote: URL: http://svn.apache.org/viewcvs?rev=386776view=rev Log: LDAPConnectionTimeout and LDAPVerifyServerCert can be configured per-vhost We need to note in addition to this that not all LDAP SDK libraries

Re: mod_cgid not able to handle large POST request

2006-03-31 Thread Jeff Trawick
On 3/31/06, pradeep kumar [EMAIL PROTECTED] wrote: One more detail. I get this error only on commenting out the Scriptsock directive. When I use this directive though I have no trouble in running the script. Is there more than one Apache instance with same ServerRoot, such that using the

Re: prefork mpm in linux: ap_process_connection isn't called on connection

2006-03-31 Thread Jeff Trawick
On 3/28/06, Rian A Hunter [EMAIL PROTECTED] wrote: On the httpd trunk in prefork.c ap_process_connection isn't called until there is data on the new connection (instead of just when a client connects). Is there a kernel accept filter enabled?

PR 31759 - default handler returns output filter apr_status_t value

2006-03-31 Thread Jeff Trawick
Some discussion has taken place in bugzilla but more discussion and opinions are needed. A patch recently posted: Index: server/core.c === --- server/core.c (revision 386843) +++ server/core.c (working copy) @@ -3645,7

Re: PR 31759 - default handler returns output filter apr_status_t value

2006-04-01 Thread Jeff Trawick
On 4/1/06, Ruediger Pluem [EMAIL PROTECTED] wrote: On 03/31/2006 06:53 PM, Jeff Trawick wrote: Some concerns about the else path: a) is 500 proper? should it just return OK instead? I think 500 is good. b) what about logging that path to ensure that the administrator has some

Re: [VOTE] Release 2.2.1 as GA

2006-04-01 Thread Jeff Trawick
On 4/1/06, Steffen [EMAIL PROTECTED] wrote: No go on win32: unresolved external symbol [EMAIL PROTECTED] referenced in function _show_compile_settings .\Release/httpd.exe : fatal error LNK1120 Didn't a Windows guy make that change? (duck)

Re: svn commit: r391025 - /httpd/httpd/trunk/server/core.c

2006-04-03 Thread Jeff Trawick
On 4/3/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Author: jim Date: Mon Apr 3 05:10:22 2006 New Revision: 391025 URL: http://svn.apache.org/viewcvs?rev=391025view=rev Log: We actually want to reach the rest of the code :) Thanks for cleaning up after me!!!

[PATCH] htdbm: warn crypt-enabled users that plaintext format won't work

2006-04-03 Thread Jeff Trawick
Index: support/htdbm.c === --- support/htdbm.c (revision 390811) +++ support/htdbm.c (working copy) @@ -308,6 +308,10 @@ case ALG_PLAIN: /* XXX this len limitation is not in sync with any HTTPd len. */

Re: [PATCH] htdbm: warn crypt-enabled users that plaintext format won't work

2006-04-04 Thread Jeff Trawick
On 4/3/06, William A. Rowe, Jr. [EMAIL PROTECTED] wrote: Taking things one step further, sha1 is far preferred for cryptographic purposes these days than md5. Suppose its time to switch? Also, get htpasswd and htdbm defaults in sync. htpasswd says it defaults to CRYPT where crypt() is

Re: httpd size grows on restart with mod_php enabled

2006-04-05 Thread Jeff Trawick
On 4/5/06, pradeep kumar [EMAIL PROTECTED] wrote: Hi, I see httpd grows in size on every restart/graceful restart with PHP(4 or 5) enabled. But this doesn't happen when I do a stop and start. Also this problem is seen only when mod_php is enabled. Is this a know problem with PHP or Apache?

Re: httpd size grows on restart with mod_php enabled

2006-04-05 Thread Jeff Trawick
On 4/5/06, pradeep kumar [EMAIL PROTECTED] wrote: Yep I tried that. without mod_php there is no growth in the size. So does that mean this is a bug with PHP then. PHP is the suspected component and would need to investigate.

Re: Bug in 2.0.56-dev

2006-04-10 Thread Jeff Trawick
On 4/8/06, Alexander Lazic [EMAIL PROTECTED] wrote: on 05-04-2006 i have get the latest snapshots from: http://cvs.apache.org/snapshots/ httpd-2.0.x_20060405102636.tar.gz apr-0.9.x_20060405102142.tar.gz apr-util-0.9.x_20060405102200.tar.gz Build it on solaris 10 x86 with gcc.

Re: Bug in 2.0.56-dev

2006-04-10 Thread Jeff Trawick
On 4/10/06, Alexander Lazic [EMAIL PROTECTED] wrote: Hi, On Mon 10.04.2006 09:52, Jeff Trawick wrote: On 4/8/06, Alexander Lazic [EMAIL PROTECTED] wrote: Is this a known bug?! y; I've been looking at this type of problem for a few days... hopefully I can post a patch before long

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

2006-04-10 Thread Jeff Trawick
On 4/10/06, Ruediger Pluem [EMAIL PROTECTED] wrote: On 04/10/2006 03:58 PM, trawick wrote: - +* htdbm: Warn when the user adds a plaintext password on a platform + with crypt(). The server will assume that the format is crypt(). +Trunk version of patch: +

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

2006-04-10 Thread Jeff Trawick
On 4/10/06, William A. Rowe, Jr. [EMAIL PROTECTED] wrote: Nick Kew wrote: Whilst this is clearly an edge-case, is it necessarily true that any platform with APR_HAVE_CRYPT won't support plaintext passwords? AIUI - apache has always been an either or - it's either plaintext on platforms

Re: svn commit: r393032 - /httpd/httpd/branches/2.0.x/STATUS

2006-04-10 Thread Jeff Trawick
On 4/10/06, William A. Rowe, Jr. [EMAIL PROTECTED] wrote: This pool is or is not created in the parent? If its the parent it's gotta be proc mutexed even if using prefork. It is created in the parent and used only during request processing. Why does it need to be proc mutexed? Each process

Re: svn commit: r393032 - /httpd/httpd/branches/2.0.x/STATUS

2006-04-11 Thread Jeff Trawick
On 4/11/06, William A. Rowe, Jr. [EMAIL PROTECTED] wrote: Jeff Trawick wrote: On 4/10/06, William A. Rowe, Jr. [EMAIL PROTECTED] wrote: This pool is or is not created in the parent? If its the parent it's gotta be proc mutexed even if using prefork. It is created in the parent and used

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

2006-04-12 Thread Jeff Trawick
On 4/11/06, Jorge Schrauwen [EMAIL PROTECTED] wrote: Can emulaion crypt on platforms that don't support it? or will this be to slow? A crypt() implementation could be provided for these platforms whose system libraries don't already have it.

migration concerns changing default hash in htpasswd/htdbm to sha1 for 2.2.x?

2006-04-12 Thread Jeff Trawick
As long as the default doesn't change *to* crypt/plaintext, nobody is hurt, right? Or do we support the use of htpasswd/htdbm to build password files for other applications, which might not use apr-util to check the user/passwd record? (Those users would need to start overriding the defaults to

Re: [PATCH] #39275 MaxClients on startup [Was: Bug in 2.0.56-dev]

2006-04-12 Thread Jeff Trawick
On 4/11/06, Chris Darroch [EMAIL PROTECTED] wrote: Hi -- Alexander Lazic wrote: After 'make install' i started apache, then some seconds later i got the message '...MaxClients reached...' but there was no entry in the access log, and nobody have make a request to this server. Jeff

Re: svn commit: r393868 - in /httpd/httpd/trunk/server/mpm: experimental/event/event.c worker/worker.c

2006-04-13 Thread Jeff Trawick
On 4/13/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Author: gregames Date: Thu Apr 13 10:53:04 2006 New Revision: 393868 URL: http://svn.apache.org/viewcvs?rev=393868view=rev Log: MaxClients isn't the only reason the scoreboard can fill up. another reason should be fixed soon.

Re: Large file support in 2.0.56?

2006-04-17 Thread Jeff Trawick
On 4/15/06, Brandon Fosdick [EMAIL PROTECTED] wrote: I might have asked this before, but I've forgotten the answer, and so has google. Has any of the large file goodness from 2.2.x made it into 2.0.x? Will it ever? Different answer than you got before, but I think this is more accurate

Re: [VOTE] Apache HTTP Server 1.3.35 Candidate

2006-04-29 Thread Jeff Trawick
On 4/24/06, Jim Jagielski [EMAIL PROTECTED] wrote: Please test and vote on releasing Apache httpd 1.3.35 +1 tested on AIX 5.3; CC=xlc_r learned a new svn command after all these webyears svn diff http://svn.apache.org/repos/asf/httpd/httpd/tags/1.3/APACHE_1_3_34

Re: [VOTE] 2.0.58 Candidate

2006-04-29 Thread Jeff Trawick
On 4/24/06, Colm MacCarthaigh [EMAIL PROTECTED] wrote: O.k., for the last time, hopefully :) A candidate for 2.0.58 is available for testing and voting at; http://httpd.apache.org/dev/dist/ +1 tested on AIX 5.3, CC=xlc_r

Re: [PATCH] #39275 MaxClients on startup [Was: Bug in 2.0.56-dev]

2006-05-02 Thread Jeff Trawick
On 5/1/06, Greg Ames [EMAIL PROTECTED] wrote: Jeff Trawick wrote: after more thought, there is a simpler patch that should do the job. the key to both of these is how threads in SERVER_DEAD state with a pid in the scoreboard are treated. this means that p_i_s_m forked on a previous timer

Re: [PATCH] #39275 MaxClients on startup [Was: Bug in 2.0.56-dev]

2006-05-02 Thread Jeff Trawick
On 5/2/06, Chris Darroch [EMAIL PROTECTED] wrote: If you can bear with me for a day or two more, I should have a collection of patches ready. These tackle the issue by tracking the start and listener threads in a nice new spot in the scoreboard, and also clean up various issues and bugs

Re: svn commit: r399665 - /httpd/httpd/trunk/modules/filters/mod_charset_lite.c

2006-05-04 Thread Jeff Trawick
On 5/4/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Author: trawick Date: Thu May 4 04:18:45 2006 New Revision: 399665 URL: http://svn.apache.org/viewcvs?rev=399665view=rev Log: Stop returning DECLINED from the output filter for proxy requests. FWIW, this is a rather obscure codepath.

Re: svn commit: r404850 - in /httpd/httpd/trunk/server/mpm: experimental/event/event.c worker/worker.c

2006-05-07 Thread Jeff Trawick
On 5/7/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Author: niq Date: Sun May 7 14:03:39 2006 New Revision: 404850 URL: http://svn.apache.org/viewcvs?rev=404850view=rev Log: Initialise server generation (Chris Darroch) Modified: httpd/httpd/trunk/server/mpm/experimental/event/event.c

Re: svn commit: r404849 - /httpd/httpd/trunk/include/scoreboard.h

2006-05-07 Thread Jeff Trawick
On 5/7/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Author: niq Date: Sun May 7 14:01:48 2006 New Revision: 404849 URL: http://svn.apache.org/viewcvs?rev=404849view=rev Log: Tidy up scoreboard.h (Chris Darroch) cool; forgot to +1 this and a couple of others

Re: svn commit: r404851 - /httpd/httpd/trunk/CHANGES

2006-05-07 Thread Jeff Trawick
On 5/7/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Author: niq Date: Sun May 7 14:07:14 2006 New Revision: 404851 URL: http://svn.apache.org/viewcvs?rev=404851view=rev Log: Note scoreboard stuff in changes; leave the 'difficult' patches to see if they attract any more review. Modified:

Re: svn commit: r404851 - /httpd/httpd/trunk/CHANGES

2006-05-07 Thread Jeff Trawick
On 5/7/06, Nick Kew [EMAIL PROTECTED] wrote: On Sunday 07 May 2006 22:35, Jeff Trawick wrote: Remove some obsolete declarations and comments from scoreboard.h. [...] ? The scoreboard looks the same AFAICT ;) (Some programmers may care.) There's the memory fix too. so extra memory

Re: [PATCH 5/6] hard restart on Linux #38737

2006-05-08 Thread Jeff Trawick
On 5/7/06, Nick Kew [EMAIL PROTECTED] wrote: On Thursday 04 May 2006 19:16, Chris Darroch wrote: +#ifdef HAVE_PTHREAD_KILL +unblock_signal(WORKER_SIGNAL); +apr_signal(WORKER_SIGNAL, dummy_signal_handler); +#endif + OK, unblock a signal. This happens after child_init, but

Re: Dealing with Regressions

2006-05-08 Thread Jeff Trawick
On 5/8/06, Nick Kew [EMAIL PROTECTED] wrote: OK, we all know we get some embarrassing regressions in our new releases. PR#39490 in 1.3.35. Or 2.0.55 being effectively unusable in a proxy due to PR#37145. Look at the number of duplicates of 37145 - that's a lot of people with the confidence to

conclusions to FAQs on mod_proxy_ajp vs. mod_jk?

2006-05-27 Thread Jeff Trawick
(ignore issues of support for particular versions of Apache) google pretends to know a lot about this general question, but it seems to be in discussions between general users with the same curiosity and there is little or no developer input. OTOH, there is a great indication that Tomcat

Re: conclusions to FAQs on mod_proxy_ajp vs. mod_jk?

2006-05-28 Thread Jeff Trawick
On 5/27/06, Ruediger Pluem [EMAIL PROTECTED] wrote: On 05/27/2006 03:58 PM, Jeff Trawick wrote: Are there still fundamental pieces missing from mod_proxy_ajp + mod_proxy_balancer which have to be resolved before mod_proxy_ajp is the natural solution for anybody on Apache = 2.2? Currently

Re: svn commit: r411306 - /httpd/httpd/trunk/modules/aaa/mod_authnz_ldap.c

2006-06-03 Thread Jeff Trawick
On 6/2/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Author: bnicholes Date: Fri Jun 2 15:01:53 2006 New Revision: 411306 URL: http://svn.apache.org/viewvc?rev=411306view=rev Log: Fix a problem with invalid auth error detection for LDAP client SDKs that don't support LDAP_SECURITY_ERROR

Re: AW: restructuring mod_ssl as an overlay

2006-06-08 Thread Jeff Trawick
On 6/8/06, William A. Rowe, Jr. [EMAIL PROTECTED] wrote: Plüm wrote: Von: Joe Orton I don't see why it's necessary for the ASF to be in the business of distributing binaries; letting other people assume the technical and legal responsibilites for doing that seems reasonable. Ahhh, the preface

Re: debug apache

2006-06-18 Thread Jeff Trawick
On 6/17/06, Nick Kew [EMAIL PROTECTED] wrote: On Saturday 17 June 2006 09:47, Ruediger Pluem wrote: On 06/17/2006 08:57 AM, Alexander Lazic wrote: On Sam 17.06.2006 00:54, Ruediger Pluem wrote: From my current point of view the answer is: No, this is not possible out of the box. It may

Re: debug apache

2006-06-19 Thread Jeff Trawick
On 6/18/06, Ruediger Pluem [EMAIL PROTECTED] wrote: On 06/18/2006 04:03 PM, Jeff Trawick wrote: On 06/17/2006 08:57 AM, Alexander Lazic wrote: On Sam 17.06.2006 00:54, Ruediger Pluem wrote: From my current point of view the answer is: No, this is not possible out of the box

Re: debug apache

2006-06-20 Thread Jeff Trawick
On 6/20/06, Alexander Lazic [EMAIL PROTECTED] wrote: On Mon 19.06.2006 07:07, Jeff Trawick wrote: If httpd *developers* are interested, we should decide what type of processing is acceptable/required first and worry about whether it can be fitted into apr second. As I recall from the last

Re: [Patch 39806] Add env vars to mod_proxy_balancer to allow more control

2006-06-20 Thread Jeff Trawick
On 6/20/06, Brian Rectanus [EMAIL PROTECTED] wrote: I have a minor patch to mod_proxy_balancer that I would like to get applied. The patch adds some environment vars to balancer requests to export info on the chosen route so that it possible to control sticky sessions entirely from the reverse

Re: Help Please

2006-07-06 Thread Jeff Trawick
On 7/4/06, Tiago Semprebom [EMAIL PROTECTED] wrote: ap_log_error(APLOG_MARK, APLOG_NOTICE, 0, ap_server_conf,IP value: %d,csd-connected); Why the csd don't appear to me like a structure allow-me to access their filds like connected, remote_addr, etc? The structure definition is available only

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

2006-07-26 Thread Jeff Trawick
On 7/26/06, William A. Rowe, Jr. [EMAIL PROTECTED] wrote: * mod_isapi: Simply backport the host of fixes for compilation on unix, PR#'s 15993 29098 30022 16637 30033 28089 by pushing to trunk/ rev 416293 of modules/arch/win32/mod_isapi.[ch] which compiles without

Re: High CPU utilization on using Apache as a reverse proxy

2006-08-14 Thread Jeff Trawick
On 8/14/06, pradeep kumar [EMAIL PROTECTED] wrote: More info.. The problem is seen with 2.0.55. It wasn't seen with 2.0.53. Haven't tried 2.0.58 or 2.0.59 yet. The change log for 2.0.58 doesn't seem to indicate any fix for this problem. Here is a patch for the proxy connect path for a

Re: [PATCH 40026] ServerTokens Off

2006-08-14 Thread Jeff Trawick
On 8/11/06, Sebastian Nohn [EMAIL PROTECTED] wrote: And now patches against trunk are available too (attached to this mail). A little more work is required. With this trunk patch and ServerTokens Off, this is logged at startup: [Mon Aug 14 13:54:19 2006] [notice] configured -- resuming

Re: [PATCH 40026] ServerTokens Off

2006-08-14 Thread Jeff Trawick
On 8/14/06, William A. Rowe, Jr. [EMAIL PROTECTED] wrote: Jeff Trawick wrote: ap_get_server_version() always spits out something like Apache/2.2.4-dev (AP_SERVER_BASEVERSION AFAICT) Plus wiring in the registered module strings? I think that's extraordinarily useful information when walking

Re: High CPU utilization on using Apache as a reverse proxy

2006-08-16 Thread Jeff Trawick
On 8/16/06, pradeep kumar [EMAIL PROTECTED] wrote: Yep, proxy_connect has been enabled. So we dont have an equivalent patch for 2.0? As I mentioned the problem is seen with 2.0.55 and not 2.0.53. There's no reason the patch can't be put into 2.0... Apply this patch and report back on whether

[PATCH] split ap_get_server_version() into two functions...

2006-08-30 Thread Jeff Trawick
... so that ServerTokens doesn't affect what gets logged to the error log at startup (or any other place where we want the description of the server instead of the banner to be written over the network). This patch axes ap_get_server_version() so that third-party modules will be forced to make a

Re: [PATCH] split ap_get_server_version() into two functions...

2006-09-01 Thread Jeff Trawick
On 9/1/06, Joe Orton [EMAIL PROTECTED] wrote: On Wed, Aug 30, 2006 at 09:18:02AM -0400, Jeff Trawick wrote: ... so that ServerTokens doesn't affect what gets logged to the error log at startup (or any other place where we want the description of the server instead of the banner to be written

Re: cvs commit: httpd-2.0/support/win32 ApacheMonitor.c

2004-10-06 Thread Jeff Trawick
On Wed, 06 Oct 2004 15:52:43 +0200, Mladen Turk [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] wrote: ake 2004/10/06 06:33:29 Modified:modules/arch/win32 mod_win32.c server/mpm/winnt service.c support/win32 ApacheMonitor.c Log: WIN64:

Re: cvs commit: httpd-2.0/support/win32 ApacheMonitor.c

2004-10-06 Thread Jeff Trawick
On Wed, 06 Oct 2004 16:15:51 +0200, Mladen Turk [EMAIL PROTECTED] wrote: Jeff Trawick wrote: Please do not do that any more. I'm sorry but I'm vetoing your patches. Use the official API, it is well documented. strlen() returns size_t, TextOut() requires int; somewhere a cast

Re: Bug: Apache hangs if script invokes fork/waitpid

2004-10-07 Thread Jeff Trawick
On Wed, 6 Oct 2004 11:01:23 -0700, Naik, Roshan [EMAIL PROTECTED] wrote: The Problem: --- I notice Apache 2(worker mpm) is not able to correctly handle a fork/waitpid invoked by a script used with mod_perl. From Ulrich Drepper: No threaded programs must use anything but _exit or

Re: Apache1 and own ErrorLog-Handler?

2004-10-08 Thread Jeff Trawick
On Fri, 8 Oct 2004 11:30:46 +0200, Timo Eckert [EMAIL PROTECTED] wrote: Hello, is it possible on Apache1 to pipe the Error-Logs to an own handler? no; unlike Apache 2, Apache 1.3 has no such capability

Re: Apache1 and own ErrorLog-Handler?

2004-10-08 Thread Jeff Trawick
On Fri, 8 Oct 2004 12:07:45 +0200, Timo Eckert [EMAIL PROTECTED] wrote: On Fri, 8 Oct 2004 05:46:29 -0400 Jeff Trawick [EMAIL PROTECTED] wrote: is it possible on Apache1 to pipe the Error-Logs to an own handler? no; unlike Apache 2, Apache 1.3 has no such capability Ok, where

Re: Bug: Apache hangs if script invokes fork/waitpid

2004-10-08 Thread Jeff Trawick
On Thu, 07 Oct 2004 12:53:47 -0700, Paul Querna [EMAIL PROTECTED] wrote: Jeff Trawick wrote: I think there needs to be a mod_fork which provides a more general purpose daemon than that used by mod_cgid, and some Apache API will know whether or not to send a request over

Re: cvs commit: httpd-2.0/server protocol.c

2004-10-25 Thread Jeff Trawick
On 25 Oct 2004 06:40:08 -, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Index: protocol.c === RCS file: /home/cvs/httpd-2.0/server/protocol.c,v retrieving revision 1.155 retrieving revision 1.156 diff -u -r1.155

Re: cvs commit: httpd-2.0/server protocol.c

2004-10-26 Thread Jeff Trawick
On Tue, 26 Oct 2004 14:51:59 +0100, Ivan Ristic [EMAIL PROTECTED] wrote: Sure, you may need to have some logic to determine what makes an attack and what not, but you must have the log entry to begin with so you feed it to the algorithm. Something I'm still curious about: Was the

[PATCH] ap_log_cerror()

2004-10-29 Thread Jeff Trawick
I'm gonna puke if I see another connection-oriented error message with no client IP. Am I missing something basic, or is there really no reason NOT to have ap_log_cerror()? It seems so obvious. before: [Fri Oct 29 06:56:16 2004] [info] (32)Broken pipe: core_output_filter: writing data to the

<    1   2   3   4   5   6   7   8   9   10   >