Re: [PATCH] AbstractAccessLogValve: Add pre/post add log element extension points

2021-01-21 Thread Romain Manni-Bucau
Hmm, makes me think about two comments: 1. Looks like a custom formatter not matching inline syntax of abstract logging valve so maybe extract the parser/element factory in a class reusable by multiple implementations. 2. Your pre and post are specific to json but dont enable native json since nul

Re: [PATCH] AbstractAccessLogValve: Add pre/post add log element extension points

2021-01-21 Thread Thomas Meyer
On Thu, Jan 21, 2021 at 03:28:12PM +0100, Romain Manni-Bucau wrote: > Hi Hi, > Why cant it be added as element earlier at pattern parsing time? Would > avoid to have two particular cases and keep current pattern/impl. > A %java or so sounds more natural no? Mhh, maybe I just share my idea of th

Re: [PATCH] AbstractAccessLogValve: Add pre/post add log element extension points

2021-01-21 Thread Romain Manni-Bucau
Hi Why cant it be added as element earlier at pattern parsing time? Would avoid to have two particular cases and keep current pattern/impl. A %java or so sounds more natural no? Le jeu. 21 janv. 2021 à 13:59, Thomas Meyer a écrit : > a sub class can extend before and after the addElement loop

RE: [PATCH] - rat-output.xml tweaks for tc8.0.x tc8.5.x trunk

2016-09-23 Thread Gavin McDonald
> -Original Message- > From: Huxing Zhang [mailto:huxing@alibaba-inc.com] > Sent: Friday, September 23, 2016 12:58 PM > To: Tomcat Developers List ; gavin > > Subject: Re: [PATCH] - rat-output.xml tweaks for tc8.0.x tc8.5.x trunk > > Hi Gavin, > >

Re: [PATCH] - rat-output.xml tweaks for tc8.0.x tc8.5.x trunk

2016-09-22 Thread Huxing Zhang
tc8.5.x trunk > -Original Message- > From: Christopher Schultz [mailto:ch...@christopherschultz.net] > Sent: Friday, September 23, 2016 3:25 AM > To: Tomcat Developers List > Subject: Re: [PATCH] - rat-output.xml tweaks for tc8.0.x tc8.5.x trunk > > Gavin, &g

RE: [PATCH] - rat-output.xml tweaks for tc8.0.x tc8.5.x trunk

2016-09-22 Thread Gavin McDonald
> -Original Message- > From: Christopher Schultz [mailto:ch...@christopherschultz.net] > Sent: Friday, September 23, 2016 3:25 AM > To: Tomcat Developers List > Subject: Re: [PATCH] - rat-output.xml tweaks for tc8.0.x tc8.5.x trunk > > Gavin, > > On 9/22

Re: [PATCH] - rat-output.xml tweaks for tc8.0.x tc8.5.x trunk

2016-09-22 Thread Christopher Schultz
Gavin, On 9/22/16 1:03 AM, Gavin McDonald wrote: > Please find attached 3 patches for tweaks to the rat-excludes file in trunk > and the 8.0 and 8.5 branches. > > RAT tests are currently producing invalid xml reports due to files that > should be excluded > (and therefore xml parser cant convert

Re: [PATCH]

2016-05-31 Thread Felix Schumacher
Am 27.05.2016 um 23:42 schrieb gradstud: Good afternoon, Your emails back and forth are all going through our graduate admissions email, can you please find another place for your Bugzilla, Apache, Tomcat business. You should find instructions to unsubscribe yourself from this mailinglist at th

RE: [PATCH]

2016-05-27 Thread gradstud
Good afternoon, Your emails back and forth are all going through our graduate admissions email, can you please find another place for your Bugzilla, Apache, Tomcat business. Thank you From: Sadik Kalia [mailto:kalia.sa...@gmail.com] Sent: Friday, May 27, 2016 3:36 PM To: dev@tomcat.apache.org S

Re: [PATCH] HTTP Public Key Pinning for Tomcat

2016-03-13 Thread Mark Thomas
On 13/03/2016 19:56, Patrick Beckmann wrote: > Hello, > > As an occasional user of Tomcat I was missing HTTP Public Key Pinning > header support¹. So I have added it to the existing > "HttpHeaderSecurityFilter" class and would like to share it with you in > case you are interested. Please see the

Re: [patch] WsServerContainer.java on trunk

2015-03-16 Thread Raghavendran N
On 16/03/2015 14:50, Raghavendran N wrote: >> diff --git a/java/org/apache/tomcat /websocket/server/WsServerContainer.java >> b/java/org/apache/tomcat/websocket/server/WsServerContainer.java >> index d2c824c..a663e8e 100644 >> --- a/java/org/apache/tomcat/websocket/server/WsServerContainer.java >>

Re: [patch] WsServerContainer.java on trunk

2015-03-16 Thread Mark Thomas
On 16/03/2015 14:50, Raghavendran N wrote: > diff --git a/java/org/apache/tomcat/websocket/server/WsServerContainer.java > b/java/org/apache/tomcat/websocket/server/WsServerContainer.java > index d2c824c..a663e8e 100644 > --- a/java/org/apache/tomcat/websocket/server/WsServerContainer.java > +++ b/

Re: [PATCH] jdbc-pool | FairBlockingQueue

2013-05-25 Thread Björn Raupach
Hi Chris, thank you for your answer. Will do. :-) kind regards, Björn On May 24, 2013, at 23:10 , Christopher Schultz wrote: > Björn, > > On 5/24/13 4:08 PM, Björn Raupach wrote: >> out of pure curiosity I was browsing the source of jdbc-pool and >> ended up looking through FairBlockingQueue

Re: [PATCH] jdbc-pool | FairBlockingQueue

2013-05-24 Thread Christopher Schultz
Björn, On 5/24/13 4:08 PM, Björn Raupach wrote: > out of pure curiosity I was browsing the source of jdbc-pool and > ended up looking through FairBlockingQueue. FairBlockingQueue > utilises a global ReentrantLock for mutual exclusion. Common practice > is to always follow a call to lock with a try

Re: Patch with some refactoring of Member.java

2012-12-18 Thread Mark Thomas
Greg Turnquist wrote: >Attached is a patch file where I went through looking for usage of >concrete >class MemberImpl, and when possible, replaced it with the interface >Member. >I added a few (maybe three) methods to the Member interface definition >to >support those changes. I ran the entire te

Re: Patch for FileDirContext

2012-08-29 Thread Kevin Wooten
I created Bug 53800 and attached the patch file. Is that all that is necessary to get this patch considered? On Aug 29, 2012, at 8:43 PM, Konstantin Kolinko wrote: > 2012/8/30 Kevin Wooten : >> New to contributing to Tomcat so and not sure of the protocol for patches. >> Details follow… >>

Re: Patch for FileDirContext

2012-08-29 Thread Konstantin Kolinko
2012/8/30 Kevin Wooten : > New to contributing to Tomcat so and not sure of the protocol for patches. > Details follow… > > I ran into an issue using starting Tomcat (7.0.29) from inside Eclipse with > the "Serve modules without publishing" option enabled for a project that uses > CDI (Weld 1.1

Re: Patch for FileDirContext

2012-08-29 Thread Kevin Wooten
I see now you don't seem to be able to attach patch files on this mailing list. The patch is so small… here it is… Index: java/org/apache/naming/resources/FileDirContext.java === --- java/org/apache/naming/resources/FileDirContext.ja

Re: [patch] Speed up Tomcat shutdown during test runs

2011-11-03 Thread Konstantin Kolinko
2011/11/3 Konstantin Kolinko : > Hi! > > The patch: > http://people.apache.org/~kkolinko/patches/2011-11-03_tc8_fastShutdown.patch > > It saves 1 second for each Tomcat shutdown during tests, > by skipping a sleep in AbstractEndpoint.pause(). > > I think it is worth doing, but maybe there are other

Re: [PATCH] Fix suspicious logic operator usage

2011-10-05 Thread Pid
File a bug, attach the patch to the bug etc... p On 5 October 2011 11:33, Francis Galiegue wrote: > Found by FindBugs. startService() and stopService() both return boolean, so it > is likely that the '&' is a typo and '&&' was meant. > --- >  .../tribes/membership/McastServiceImpl.java        |  

Re: [PATCH] Parallel deployment

2010-11-15 Thread Mark Thomas
On 08/11/2010 18:05, Remy Maucherat wrote: > On Mon, 2010-11-08 at 18:26 +0100, Rainer Jung wrote: >> On 08.11.2010 18:05, Remy Maucherat wrote: >>> I'll up that to -1, with another concern I've just thought about: if >>> using a session id path which includes more than one webapp, the version >>>

Re: [PATCH] Parallel deployment

2010-11-08 Thread Remy Maucherat
On Mon, 2010-11-08 at 18:26 +0100, Rainer Jung wrote: > On 08.11.2010 18:05, Remy Maucherat wrote: > > I'll up that to -1, with another concern I've just thought about: if > > using a session id path which includes more than one webapp, the version > > numbers will have problems matching between th

Re: [PATCH] Parallel deployment

2010-11-08 Thread Mark Thomas
On 08/11/2010 17:26, Rainer Jung wrote: > On 08.11.2010 18:05, Remy Maucherat wrote: >> I'll up that to -1, with another concern I've just thought about: if >> using a session id path which includes more than one webapp, the version >> numbers will have problems matching between the two webapps. >

Re: [PATCH] Parallel deployment

2010-11-08 Thread Rainer Jung
On 08.11.2010 18:05, Remy Maucherat wrote: I'll up that to -1, with another concern I've just thought about: if using a session id path which includes more than one webapp, the version numbers will have problems matching between the two webapps. You mean situations like portals / emptysessionpa

Re: [PATCH] Parallel deployment

2010-11-08 Thread Remy Maucherat
On Mon, 2010-11-08 at 15:46 +, Mark Thomas wrote: > I did consider that approach but rejected it for a couple of reasons: > - Mapper needs to be manager aware - it isn't currently Add a one method interface to be able to perform a session lookup. > - Performance Likely, having to do String m

Re: [PATCH] Parallel deployment

2010-11-08 Thread Mark Thomas
On 08/11/2010 15:40, Remy Maucherat wrote: > On Mon, 2010-11-08 at 14:31 +, Mark Thomas wrote: >> We might be able to avoid that be limiting the version to just integers. >> I think that is reasonable but would like to hear some feedback from others. >> >> That does raise the issue of whether t

Re: [PATCH] Parallel deployment

2010-11-08 Thread Remy Maucherat
On Mon, 2010-11-08 at 14:31 +, Mark Thomas wrote: > We might be able to avoid that be limiting the version to just integers. > I think that is reasonable but would like to hear some feedback from others. > > That does raise the issue of whether to convert the provided version to > a (zero padd

Re: [PATCH] Parallel deployment

2010-11-08 Thread Pid
On 08/11/2010 15:09, Rainer Jung wrote: > Furthermore we could as a convenience convert all dots to underscores and Or s/dots/non-alphanumerics/ p 0x62590808.asc Description: application/pgp-keys signature.asc Description: OpenPGP digital signature

Re: [PATCH] Parallel deployment

2010-11-08 Thread Rainer Jung
On 08.11.2010 15:27, Mark Thomas wrote: Yep - that looks like a left-over from when I was playing with int rather than String for version. I'm still in two minds about that bit. There are places internally where using String makes it easier but limiting it to int would allow us to avoid a bunch o

Re: [PATCH] Parallel deployment

2010-11-08 Thread Mark Thomas
On 06/11/2010 13:00, Rainer Jung wrote: > On 06.11.2010 12:57, Tim Funk wrote: >> When running mod_jk with sticky session, but not using tomcat clustering >> ... Will adding a new version append the version number to the end of >> the session cookie AFTER the engineId (used by mod_jk for determinin

Re: [PATCH] Parallel deployment

2010-11-08 Thread Mark Thomas
On 06/11/2010 11:57, Tim Funk wrote: > This might cause a problem of using == instead of equals() for strcmp > > if (version == (request.getContext().getWebappVersion())) { > mapRequired = false; > } Yep - that looks like a left-over from when I was playing with int rather than String for ver

Re: [PATCH] Parallel deployment

2010-11-06 Thread Rainer Jung
On 06.11.2010 14:00, Rainer Jung wrote: On 06.11.2010 12:57, Tim Funk wrote: When running mod_jk with sticky session, but not using tomcat clustering ... Will adding a new version append the version number to the end of the session cookie AFTER the engineId (used by mod_jk for determining where

Re: [PATCH] Parallel deployment

2010-11-06 Thread Rainer Jung
On 06.11.2010 12:57, Tim Funk wrote: When running mod_jk with sticky session, but not using tomcat clustering ... Will adding a new version append the version number to the end of the session cookie AFTER the engineId (used by mod_jk for determining where to route the request) Tried it and the

Re: [PATCH] Parallel deployment

2010-11-06 Thread Tim Funk
This might cause a problem of using == instead of equals() for strcmp if (version == (request.getContext().getWebappVersion())) { mapRequired = false; } When running mod_jk with sticky session, but not using tomcat clustering ... Will adding a new version append the version number to the e

Re: Patch suggestion

2010-04-12 Thread Pid *
On 12 April 2010 11:25, Pid * wrote: > On 11 April 2010 14:56, Pid * wrote: > >> >> On 11 April 2010 00:17, Konstantin Kolinko wrote: >> >>> 2010/4/10 Pid : >>> > In lieu of of a Bugzilla enhancement (and hoping that I have the right >>> end >>> > of the stick). >>> > >>> >>> If I guess your int

Re: Patch suggestion

2010-04-12 Thread Pid *
On 11 April 2010 14:56, Pid * wrote: > > On 11 April 2010 00:17, Konstantin Kolinko wrote: > >> 2010/4/10 Pid : >> > In lieu of of a Bugzilla enhancement (and hoping that I have the right >> end >> > of the stick). >> > >> >> If I guess your intention correctly, >> you want to prevent deployment

Re: Patch suggestion

2010-04-11 Thread Pid *
On 11 April 2010 00:17, Konstantin Kolinko wrote: > 2010/4/10 Pid : > > In lieu of of a Bugzilla enhancement (and hoping that I have the right > end > > of the stick). > > > > If I guess your intention correctly, > you want to prevent deployment of a war file that is still open for > writing? >

Re: Patch suggestion

2010-04-10 Thread Konstantin Kolinko
2010/4/10 Pid : > In lieu of of a Bugzilla enhancement (and hoping that I have the right end > of the stick). > If I guess your intention correctly, you want to prevent deployment of a war file that is still open for writing? If that is the case, then asking for modification time probably will no

Re: Patch for better support of Unified EL 2.2

2010-03-18 Thread Ruslan Gainutdinov
Created bug 48941. I would like it to be integrated into Tomcat 6, if possible. Proposed changes are light, IMHO. With kindest personal regards, Ruslan Gainutdinov On Thu, Mar 18, 2010 at 4:18 PM, Konstantin Kolinko wrote: > 2010/3/18 Ruslan Gainutdinov : >> Please review this patch for inclusi

Re: Patch for better support of Unified EL 2.2

2010-03-18 Thread Konstantin Kolinko
2010/3/18 Ruslan Gainutdinov : > Please review this patch for inclusion in trunk. Your attachment is lost. Please create a Bugzilla entry for Tomcat 7 and attach it there, though I cannot comment on whether it will be applied or not. Best regards, Konstantin Kolinko

Re: [PATCH]: X-Forwarded-For support

2009-12-12 Thread William A. Rowe Jr.
Brane F. Gračnar wrote: > Hello :) > > This patch adds support for X-Forwarded-For (or any other) http request > header > holding ip address of real client so that request.getRemoteAddr() return > correct address if tomcat is running behind apache or any other reverse http > proxy. Note you c

Re: [PATCH]: X-Forwarded-For support

2009-12-11 Thread Mark Thomas
On 11/12/2009 16:36, Brane F. Gračnar wrote: > Hello :) > > This patch adds support for X-Forwarded-For (or any other) http request > header > holding ip address of real client so that request.getRemoteAddr() return > correct address if tomcat is running behind apache or any other reverse http

Re: [PATCH]: configurable session cookie domain (subdomain session support)

2009-04-06 Thread Rainer Jung
On 07.04.2009 00:46, Brane F. Gračnar wrote: > On Monday 06 April 2009 18:19:26 Mark Thomas wrote: >> It would also be a good idea to >> include an update to the documentation in your patch. > > I know that this is a stupid question, but i don't have any idea which files > to update :) http://m

Re: [PATCH]: configurable session cookie domain (subdomain session support)

2009-04-06 Thread Brane F. Gračnar
On Monday 06 April 2009 18:19:26 Mark Thomas wrote: > Please create a bugzilla entry for this and attach the patch there so it > doesn't get lost. Done. > To keep this consistent with httpOnly, this should be configured at the > Context level rather than the manager. Ok, this makes sense. I'll t

Re: [PATCH]: configurable session cookie domain (subdomain session support)

2009-04-06 Thread Mark Thomas
Brane F. Grac(nar wrote: > Hello :) > > We needed subdomain session cookie support for our java webapp; currently > there is no way to configure cookie domain attribute in tomcat <= 6.0.18. > > This patch adds this functionality. Cookie domain can be specified as Manager > property (default nul

Re: patch proposal

2009-02-02 Thread Mark Thomas
Giannini Alessandro wrote: > This patch is useful when you want handle keystore password from external > class. > To do this, I added two additional parameters (in Connector tag of > server.xml) to call external method and get Password String. > > - Parameter keystorePassHandler (in form some.

Re: Patch - Don't follow symlinks for deletion

2008-07-15 Thread Jason Brittain
Michael: It sounds like a good change. I have not tried the patch (BTW: I believe that FarmWarDeployer is now considered unsupported/deprecated), but the theory here sounds right. I think it makes sense to consolidate the implementations of the code that removes the files, if they are basically

Re: Patch - Don't follow symlinks for deletion

2008-07-15 Thread Michael Bailey
Can someone in the know comment on this? Is it intended behavior for tomcat to follow symlinks when deleting the exploded directory during undeploy? Or should I file a bug and attached this patch to it? Michael Bailey On Thu, Jul 3, 2008 at 11:27 AM, Michael Bailey <[EMAIL PROTECTED]> wrote: > P

Re: Patch - Don't follow symlinks for deletion

2008-07-03 Thread Michael Bailey
Patch pasted in case the attachement didn't make throught the list: Index: java/org/apache/tomcat/util/FileUtils.java === --- java/org/apache/tomcat/util/FileUtils.java (revision 0) +++ java/org/apache/tomcat/util/FileUtils.java (re

Re: [Patch] JNDIRealm - SocketFactory support

2008-03-20 Thread Seth Leger
This patch has been committed as bug 44645. -- Seth Mark Thomas wrote: Seth Leger wrote: Hi devs, I've added support to the JNDIRealm so that a custom javax.net.SocketFactory can be specified for the JNDI connection. This is necessary so that you can perform customized SSL negotiation on

Re: [Patch] JNDIRealm - SocketFactory support

2008-03-19 Thread Seth Leger
Mark Thomas wrote: Patches posted directly to the dev list can get overlooked if someone doesn't act on them straight away. To protect against this, please create a bugzilla entry and attach your patch there. Cheers, Mark Will do, thanks for the tip. -- Seth --

Re: [Patch] JNDIRealm - SocketFactory support

2008-03-19 Thread Mark Thomas
Seth Leger wrote: Hi devs, I've added support to the JNDIRealm so that a custom javax.net.SocketFactory can be specified for the JNDI connection. This is necessary so that you can perform customized SSL negotiation on the connection. For instance, it allows you to connect to an SSL server wit

Re: Patch for tomcat 5.5.25 to actually close on Connection: close

2008-01-25 Thread Peter Rossbach
Hi Remy, True, but today it exists a lot of applications/Service that want control the connection. At my Comet example I have also miss this simple feature. I feel that the patch looks good. Peter Am 25.01.2008 um 13:14 schrieb Remy Maucherat: On Thu, 2008-01-24 at 17:11 -0500, John Wehl

Re: Patch for tomcat 5.5.25 to actually close on Connection: close

2008-01-25 Thread Remy Maucherat
On Thu, 2008-01-24 at 17:11 -0500, John Wehle wrote: > Currently if a servlet uses: > > res.setHeader("Connection", "close"); > > tomcat just sets the header and sends the reponse to the client. It > then waits for the client to close the connection. In some cases (i.e. > buggy client) the cl

Re: [patch] support IPv6 with mod_jk

2007-11-26 Thread Rainer Jung
Eiji Takahashi wrote: Dear developers. I made the mod_jk patch to support ipv6 between mod_jk and Tomcat. The detection of getaddrinfo() and implementation of jk_resolve() referred to APR. This patch was tested in the following environments (Do not compile in other OS's). 1.RHEL4/5 with Apache

Re: [PATCH] jasper - enum support for tag libs

2007-09-15 Thread Remy Maucherat
David Blevins wrote: On Sep 14, 2007, at 10:34 AM, Filip Hanik - Dev Lists wrote: - adding methods or altering the signature of the javax. APIs is clearly illegal yes, that would not be spec compliant, that's essentially what spec compliant means, that we pass the signature test (which we hav

Re: [PATCH] jasper - enum support for tag libs

2007-09-14 Thread David Blevins
On Sep 14, 2007, at 10:34 AM, Filip Hanik - Dev Lists wrote: - adding methods or altering the signature of the javax. APIs is clearly illegal yes, that would not be spec compliant, that's essentially what spec compliant means, that we pass the signature test (which we haven't done for a co

Re: [PATCH] jasper - enum support for tag libs

2007-09-14 Thread Filip Hanik - Dev Lists
Remy Maucherat wrote: Filip Hanik - Dev Lists wrote: Yoav Shapira wrote: Hey, On 9/13/07, Andrew J Snodgrass <[EMAIL PROTECTED]> wrote: The attached patch adds support for the direct use of enums in the attributes of tags. Cool idea. Is it in Bugzilla? I agree, think it is very

Re: [PATCH] jasper - enum support for tag libs

2007-09-14 Thread Remy Maucherat
Filip Hanik - Dev Lists wrote: Yoav Shapira wrote: Hey, On 9/13/07, Andrew J Snodgrass <[EMAIL PROTECTED]> wrote: The attached patch adds support for the direct use of enums in the attributes of tags. Cool idea. Is it in Bugzilla? I agree, think it is very useful. Would you mind

Re: [PATCH] jasper - enum support for tag libs

2007-09-14 Thread Filip Hanik - Dev Lists
Yoav Shapira wrote: Hey, On 9/13/07, Andrew J Snodgrass <[EMAIL PROTECTED]> wrote: The attached patch adds support for the direct use of enums in the attributes of tags. Cool idea. Is it in Bugzilla? I agree, think it is very useful. Would you mind opening a bugzilla, http://issu

Re: [PATCH] jasper - enum support for tag libs

2007-09-14 Thread Remy Maucherat
Yoav Shapira wrote: Hey, On 9/13/07, Andrew J Snodgrass <[EMAIL PROTECTED]> wrote: The attached patch adds support for the direct use of enums in the attributes of tags. Cool idea. Is it in Bugzilla? I agree it seems like a good idea, but if it is not in the specification, then there's no

Re: [PATCH] jasper - enum support for tag libs

2007-09-14 Thread Yoav Shapira
Hey, On 9/13/07, Andrew J Snodgrass <[EMAIL PROTECTED]> wrote: > The attached patch adds support for the direct use of enums in the > attributes of tags. Cool idea. Is it in Bugzilla? Yoav - To unsubscribe, e-mail: [EMAIL PROT

Re: [PATCH] - Remove redundant code in Mapper.java

2007-03-27 Thread Arvind Srinivasan
Remy Maucherat wrote: > I am not certain they're that redundant. I would leave them in just to I'm not quite sure I understand why, so please could you elaborate. * Since setString() is invoked after setChars(), a toString() on (which is pretty much the only method invoked on mappingData.reques

Re: [PATCH] - Remove redundant code in Mapper.java

2007-03-26 Thread Sven Köhler
>> Attached is a simple patch (for TC 6.0's trunk) that removes a couple >> of lines of redundant code in org.apache.tomcat.util.http.mapper.Mapper > > I am not certain they're that redundant. I would leave them in just to > be safe given that the cost of these calls is very low. They are not red

Re: [PATCH] - Remove redundant code in Mapper.java

2007-03-26 Thread Remy Maucherat
Arvind Srinivasan wrote: Attached is a simple patch (for TC 6.0's trunk) that removes a couple of lines of redundant code in org.apache.tomcat.util.http.mapper.Mapper I am not certain they're that redundant. I would leave them in just to be safe given that the cost of these calls is very low.

Re: Patch to override request.getRemoteAddr if behind a reverse proxy

2006-07-15 Thread Johan van den Berg
Then why was proxyPort and proxyName not done in a Valve or Filter? I assumed that I should be following the same route that other, similar requirements followed. With regards to a Filter, what if I have 30 webapps, and each one needs the correct request.getRemoteAddr? Could one map a filter globa

Re: Patch to override request.getRemoteAddr if behind a reverse proxy

2006-07-15 Thread Mladen Turk
Filip Hanik - Dev Lists wrote: This is a question for the user list, it might be better for you to take the inquiries there, and you shouldn't need to hack tomcat for something like this. Simply create a filter, that wraps your HttpServletRequest in a HttpServletRequestWrapper, worst case you

Re: Patch to override request.getRemoteAddr if behind a reverse proxy

2006-07-14 Thread Filip Hanik - Dev Lists
This is a question for the user list, it might be better for you to take the inquiries there, and you shouldn't need to hack tomcat for something like this. Simply create a filter, that wraps your HttpServletRequest in a HttpServletRequestWrapper, worst case you could create Valve that does it

Re: patch for ManagerServlet (was Re: yet another tomcat goes stable and I still have to make a custom package)

2006-04-12 Thread Filip Hanik - Dev lists
yep, I'll get this one in Haroon Rafique wrote: On Apr 6 at 9:54am, HR=>Haroon Rafique <[EMAIL PROTECTED]> wrote: HR> On Mar 22 at 3:04pm, FHDL=>Filip Hanik - Dev Lists <[EMAIL PROTECTED]> wrote: HR> HR> FH> patch looks good to me, +1, HR> FH> if no objections arise, then I can submit, we'l

Re: patch for ManagerServlet (was Re: yet another tomcat goes stable and I still have to make a custom package)

2006-04-12 Thread Haroon Rafique
On Apr 6 at 9:54am, HR=>Haroon Rafique <[EMAIL PROTECTED]> wrote: HR> On Mar 22 at 3:04pm, FHDL=>Filip Hanik - Dev Lists <[EMAIL PROTECTED]> wrote: HR> HR> FH> patch looks good to me, +1, HR> FH> if no objections arise, then I can submit, we'll wait until end of week. HR> FH> Filip HR> FH> HR>

Re: PATCH: Out-of-box build apache-tomcat-5.5.1[56]-src fix

2006-03-13 Thread Mark Thomas
Yoav Shapira wrote: > Darryl, > Thanks for reporting this. I saw it > (http://issues.apache.org/bugzilla/show_bug.cgi?id=37819) before the > release but forgot to fix it, so it will go into 5.5.17. Thanks, > > Yoav > > On 3/13/06, Darryl L. Miles <[EMAIL PROTECTED]> wrote: > >>Dear Developers,

Re: PATCH: Out-of-box build apache-tomcat-5.5.1[56]-src fix

2006-03-13 Thread Yoav Shapira
Darryl, Thanks for reporting this. I saw it (http://issues.apache.org/bugzilla/show_bug.cgi?id=37819) before the release but forgot to fix it, so it will go into 5.5.17. Thanks, Yoav On 3/13/06, Darryl L. Miles <[EMAIL PROTECTED]> wrote: > > Dear Developers, > > When following the build instruc

Re: [PATCH] catalina.sh 'CATALINA_NATIVE'

2006-02-09 Thread Mladen Turk
Tim Funk wrote: I see the point of the native dir. Right, anything but bin is OK. lib/native/{platform}/

Re: [PATCH] catalina.sh 'CATALINA_NATIVE'

2006-02-09 Thread Tim Funk
I see the point of the native dir. Once my sysadmin sees this (whose not much of a java guy) - he'd be confused in seeing a bin dir with jar, bat, sh, and so files in it. Maybe itstime to reorg the the bin package dir. Possibly something along the lines of: bin/ <-- All the sh and bat files li

Re: [PATCH] catalina.sh 'CATALINA_NATIVE'

2006-02-09 Thread Remy Maucherat
Mladen Turk wrote: Hi, Any objections for committing this patch? It sets LD_LIBRARY_PATH to include CATALINA_HOME/native if CATALINA_HOME/native/libtcnative-1.so is present. Why not using the "bin" folder ? Rémy - To unsubsc

Re: [PATCH] Cookie, Cookie2 Header fix for mod_jk

2005-12-07 Thread Mladen Turk
Bill Barker wrote: I agree that the patch is simply masking the real problem. With the current mod_jk code what Tomcat sees is: Cookie: myCookie=1234 Cookie: $Version=1 Huh, looking at the source I see the problem. we are using: 'if (memcmp(p, "OOKIE", 5)' so both cookie and cookie2 a

RE: [PATCH] Cookie, Cookie2 Header fix for mod_jk

2005-12-07 Thread Bill Barker
> -Original Message- > From: Mladen Turk [mailto:[EMAIL PROTECTED] > Sent: Wednesday, December 07, 2005 10:09 AM > To: Tomcat Developers List > Subject: Re: [PATCH] Cookie, Cookie2 Header fix for mod_jk > > Andre Gebers wrote: > > Hi, > > > > n

Re: [PATCH] Cookie, Cookie2 Header fix for mod_jk

2005-12-07 Thread Mladen Turk
Andre Gebers wrote: Hi, newer versions of opera send the Cookie2-header along with the Cookie-header which looks somewhat like this: Right, but the patch would not work. It would be a security hole, because the http rfc diferentiates cookie from cookie2. Right now the Cookie2 header is pas

RE: [PATCH] Catalina CGIServlet broken redirects

2005-10-16 Thread Mark Thomas
Patrick, Thanks for your contribution. However, the mailing list doesn't like attachments. Please can you open a Bugzilla item for this and attach your patch to that? Thanks, Mark _ From: May, Patrick [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 12, 2005 7:55 PM To: 'tomcat-