costin [Sun, 4 May 2008 15:49:05 +0000 (15:49 +0000)]
Not sure if I got the process right - the 2 classes I want to submit can be found on apache.org/~costin.
I don't think there is anything tricky about them - except the fact that it adds another option for
tomcat startup.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@653236
13f79535-47bb-0310-9956-
ffa450edef68
markt [Sun, 4 May 2008 10:41:48 +0000 (10:41 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=43080 and https://issues.apache.org/bugzilla/show_bug.cgi?id=43079
Move warning to StandardContext so a) we can check all url-patterns and b) we associate the message with the context.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@653195
13f79535-47bb-0310-9956-
ffa450edef68
markt [Sat, 3 May 2008 20:22:57 +0000 (20:22 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=43094
Support any keystoreType that doesn't need a file.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@653128
13f79535-47bb-0310-9956-
ffa450edef68
markt [Sat, 3 May 2008 19:49:57 +0000 (19:49 +0000)]
Fix bug 43117. Setting an empty workDir can delete all of CATALINA_HOME.
Patch provided by Takayuki Kaneko.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@653113
13f79535-47bb-0310-9956-
ffa450edef68
markt [Sat, 3 May 2008 19:47:13 +0000 (19:47 +0000)]
A final bit of code clean up.
Actually no functional change.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@653112
13f79535-47bb-0310-9956-
ffa450edef68
markt [Sat, 3 May 2008 19:44:24 +0000 (19:44 +0000)]
Fix various Eclipse warnings. Generics, unused code, etc
No functional change.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@653111
13f79535-47bb-0310-9956-
ffa450edef68
markt [Sat, 3 May 2008 10:28:51 +0000 (10:28 +0000)]
Add Remy's NPE fix to trunk.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@653038
13f79535-47bb-0310-9956-
ffa450edef68
markt [Sat, 3 May 2008 10:14:00 +0000 (10:14 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=43191
No way to turn off compression for some file types.
Based on a patch by Len Popp
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@653032
13f79535-47bb-0310-9956-
ffa450edef68
markt [Fri, 2 May 2008 21:25:56 +0000 (21:25 +0000)]
Code clean up. Remove unused methods, unnecessary casts/code, fix generics warnings etc reported by Eclipse.
No functional change.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@652918
13f79535-47bb-0310-9956-
ffa450edef68
costin [Fri, 2 May 2008 03:20:37 +0000 (03:20 +0000)]
Since not beeing able to build with JDK1.6 is so annoying - and commons-dbcp doesn't support jdk1.6 in the first place:
- let the compile work with jdk1.6, minus dbcp
- add a small warning at the end.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@652744
13f79535-47bb-0310-9956-
ffa450edef68
costin [Fri, 2 May 2008 03:18:26 +0000 (03:18 +0000)]
Match build.xml - exclude webservices, missing deps
Not sure why it's checked in - if 'download' doesn't get the deps and build.xml doesn't build it.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@652743
13f79535-47bb-0310-9956-
ffa450edef68
markt [Thu, 1 May 2008 21:25:01 +0000 (21:25 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=43150
# in installation path stops Tomcat starting
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@652669
13f79535-47bb-0310-9956-
ffa450edef68
markt [Thu, 1 May 2008 21:20:45 +0000 (21:20 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=43333
Correct sendfile docs.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@652666
13f79535-47bb-0310-9956-
ffa450edef68
markt [Thu, 1 May 2008 21:11:26 +0000 (21:11 +0000)]
Fix bug 43343. Correctly handle the case where a request arrives for a session we are in the middle of persisting.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@652662
13f79535-47bb-0310-9956-
ffa450edef68
markt [Thu, 1 May 2008 07:00:14 +0000 (07:00 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=43142
If someone is daft enough to name their directory xxx.war, don't assume it is a war file.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@652441
13f79535-47bb-0310-9956-
ffa450edef68
markt [Sun, 27 Apr 2008 17:59:02 +0000 (17:59 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=43366
Provide backwards compatibility for sessions command
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@651988
13f79535-47bb-0310-9956-
ffa450edef68
markt [Sun, 27 Apr 2008 17:19:48 +0000 (17:19 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=44877
Prevent collisions in tag pool names
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@651984
13f79535-47bb-0310-9956-
ffa450edef68
markt [Sun, 27 Apr 2008 16:29:52 +0000 (16:29 +0000)]
Further minor clean-up of unused/unnecessary code after I made Eclipse even more pedantic.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@651978
13f79535-47bb-0310-9956-
ffa450edef68
markt [Sun, 27 Apr 2008 16:28:34 +0000 (16:28 +0000)]
Add some missing control checks.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@651977
13f79535-47bb-0310-9956-
ffa450edef68
markt [Sun, 27 Apr 2008 16:14:06 +0000 (16:14 +0000)]
Code clean up o.a.t.util.net.
Generics and unused code.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@651976
13f79535-47bb-0310-9956-
ffa450edef68
markt [Sun, 27 Apr 2008 15:56:16 +0000 (15:56 +0000)]
Code cleanup. o.a.t.util.res
No functional change
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@651968
13f79535-47bb-0310-9956-
ffa450edef68
billbarker [Sat, 26 Apr 2008 02:48:40 +0000 (02:48 +0000)]
Reduce signoff error message to DEBUG, since it is harmless if mod_jk has hung up the phone
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@651792
13f79535-47bb-0310-9956-
ffa450edef68
markt [Fri, 25 Apr 2008 22:55:38 +0000 (22:55 +0000)]
Fix bug https://issues.apache.org/bugzilla/show_bug.cgi?id=43425
Annotations not spec compliant.
Patch provided by Dain Sundstrom.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@651732
13f79535-47bb-0310-9956-
ffa450edef68
markt [Fri, 25 Apr 2008 22:40:55 +0000 (22:40 +0000)]
Better fix https://issues.apache.org/bugzilla/show_bug.cgi?id=43617
Correctly handle quotes in attribute values for tag(x) files.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@651729
13f79535-47bb-0310-9956-
ffa450edef68
markt [Fri, 25 Apr 2008 22:39:52 +0000 (22:39 +0000)]
Revert previous patch. It didn't cover all cases.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@651725
13f79535-47bb-0310-9956-
ffa450edef68
markt [Fri, 25 Apr 2008 22:07:55 +0000 (22:07 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=43578
Tomcat doesn't start in linux if CATALINA_BASE contains a space
Patch provided by Ray Sauers
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@651713
13f79535-47bb-0310-9956-
ffa450edef68
markt [Fri, 25 Apr 2008 18:38:38 +0000 (18:38 +0000)]
Fix compiler warnings for o.a.c.deploy.*
Note using generics would have highlighted bug 43470
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@651680
13f79535-47bb-0310-9956-
ffa450edef68
markt [Fri, 25 Apr 2008 18:16:36 +0000 (18:16 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=43470
Based on a changes provided by Lucas Galfaso
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@651675
13f79535-47bb-0310-9956-
ffa450edef68
markt [Fri, 25 Apr 2008 17:40:47 +0000 (17:40 +0000)]
Add missing access check.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@651662
13f79535-47bb-0310-9956-
ffa450edef68
markt [Wed, 23 Apr 2008 21:52:11 +0000 (21:52 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=43617
Correctly handle quotes in attribute values for tag(x) files.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@651082
13f79535-47bb-0310-9956-
ffa450edef68
markt [Wed, 23 Apr 2008 21:38:09 +0000 (21:38 +0000)]
Generics changes for o.a.t.util.res
No fucntional change
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@651076
13f79535-47bb-0310-9956-
ffa450edef68
markt [Wed, 23 Apr 2008 21:37:09 +0000 (21:37 +0000)]
Generics changes for o.a.t.util.threads
No fucntional change
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@651075
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Wed, 23 Apr 2008 11:12:23 +0000 (11:12 +0000)]
notify user of the actual error and add a todo behavior for buffer copying
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@650826
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Wed, 23 Apr 2008 11:09:56 +0000 (11:09 +0000)]
new idea
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@650824
13f79535-47bb-0310-9956-
ffa450edef68
markt [Tue, 22 Apr 2008 20:46:26 +0000 (20:46 +0000)]
Remy's better fix for 43683.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@650648
13f79535-47bb-0310-9956-
ffa450edef68
markt [Tue, 22 Apr 2008 20:43:50 +0000 (20:43 +0000)]
Revert previous patch to fix obvious potential NPE as pointed out by Remy.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@650645
13f79535-47bb-0310-9956-
ffa450edef68
markt [Sun, 20 Apr 2008 22:39:35 +0000 (22:39 +0000)]
Fix bug 31257. Quote endorsed dirs if they contain a space.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@649993
13f79535-47bb-0310-9956-
ffa450edef68
markt [Sun, 20 Apr 2008 20:47:57 +0000 (20:47 +0000)]
Fix bug 29936. In some circumstances, Tomcat would use the parser from a webapp to parse web.xml and possibly context.xml files.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@649974
13f79535-47bb-0310-9956-
ffa450edef68
markt [Sat, 19 Apr 2008 09:51:35 +0000 (09:51 +0000)]
Add license and props.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@649785
13f79535-47bb-0310-9956-
ffa450edef68
markt [Sat, 19 Apr 2008 09:47:07 +0000 (09:47 +0000)]
More fixes for bug 43656 so new test case passes.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@649784
13f79535-47bb-0310-9956-
ffa450edef68
markt [Sat, 19 Apr 2008 09:44:35 +0000 (09:44 +0000)]
Add test case for bug 43656. Based on a patch from Konstantin Kolinko.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@649783
13f79535-47bb-0310-9956-
ffa450edef68
markt [Fri, 18 Apr 2008 18:10:06 +0000 (18:10 +0000)]
Fix bug 43656. coerceToType() modified some values. Patch provided by Nils Eckert.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@649638
13f79535-47bb-0310-9956-
ffa450edef68
markt [Fri, 18 Apr 2008 18:08:31 +0000 (18:08 +0000)]
Remove unused code. No functional change.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@649637
13f79535-47bb-0310-9956-
ffa450edef68
markt [Thu, 17 Apr 2008 22:07:38 +0000 (22:07 +0000)]
Patch for bug 43683. It could be more efficient if wrapper.started was visible but that would have made the patch quite invasive.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@649302
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Thu, 17 Apr 2008 20:00:10 +0000 (20:00 +0000)]
update changelog
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@649253
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Thu, 17 Apr 2008 19:58:51 +0000 (19:58 +0000)]
make the alwaysSend flag public, so that we can set it through config
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@649252
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Thu, 17 Apr 2008 19:46:23 +0000 (19:46 +0000)]
update changelog
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@649248
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Thu, 17 Apr 2008 19:20:00 +0000 (19:20 +0000)]
fix override of methods from standardsession
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@649238
13f79535-47bb-0310-9956-
ffa450edef68
markt [Tue, 15 Apr 2008 08:02:31 +0000 (08:02 +0000)]
Align realm config doc and realm howto doc..
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@648161
13f79535-47bb-0310-9956-
ffa450edef68
markt [Mon, 14 Apr 2008 21:44:22 +0000 (21:44 +0000)]
Fix some links so they work even if the ROOT app is renamed.
Minor clean-up.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@648017
13f79535-47bb-0310-9956-
ffa450edef68
markt [Mon, 14 Apr 2008 21:42:52 +0000 (21:42 +0000)]
Remove second index page. It wasn't 100% in sync with the html one and I don't see why we need two.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@648014
13f79535-47bb-0310-9956-
ffa450edef68
markt [Fri, 11 Apr 2008 23:07:10 +0000 (23:07 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=44380
Don't bother scanning non-file URLs for TLDs.
Patch provided by Florent BENOIT
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@647345
13f79535-47bb-0310-9956-
ffa450edef68
markt [Fri, 11 Apr 2008 23:00:55 +0000 (23:00 +0000)]
Code clean up. Java5 and remove unused code. No functional change.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@647344
13f79535-47bb-0310-9956-
ffa450edef68
markt [Fri, 11 Apr 2008 22:34:45 +0000 (22:34 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=44389
Make nested class static so it doesn't hold a reference to the ApplciationContext instance.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@647339
13f79535-47bb-0310-9956-
ffa450edef68
markt [Fri, 11 Apr 2008 21:25:59 +0000 (21:25 +0000)]
Fix bug44391. Handling of escaped characters was incorrect.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@647316
13f79535-47bb-0310-9956-
ffa450edef68
markt [Fri, 11 Apr 2008 21:02:41 +0000 (21:02 +0000)]
Fix for garbage test in bug 44494. Patch provided by Suzuki Yuichiro.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@647307
13f79535-47bb-0310-9956-
ffa450edef68
markt [Fri, 11 Apr 2008 20:52:10 +0000 (20:52 +0000)]
Re-instate Rainer's code that fixes the 44494 test case for read with maxHttpHeaderSize > 8192.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@647304
13f79535-47bb-0310-9956-
ffa450edef68
markt [Fri, 11 Apr 2008 20:07:26 +0000 (20:07 +0000)]
Fix bug 44392. HTML entities not resolved in SSI.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@647289
13f79535-47bb-0310-9956-
ffa450edef68
markt [Thu, 10 Apr 2008 21:51:57 +0000 (21:51 +0000)]
Java 5 clean up. No functional change.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@646980
13f79535-47bb-0310-9956-
ffa450edef68
markt [Thu, 10 Apr 2008 17:29:23 +0000 (17:29 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=44408
Avoid bottleneck by calling the synchronized method only once.
Patch provided by Robert Andersson.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@646889
13f79535-47bb-0310-9956-
ffa450edef68
markt [Wed, 9 Apr 2008 22:33:01 +0000 (22:33 +0000)]
Fix bug 44428. Make sure m is not null to prevent NPE.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@646574
13f79535-47bb-0310-9956-
ffa450edef68
markt [Wed, 9 Apr 2008 22:29:28 +0000 (22:29 +0000)]
Clean up type checking code. Patch provided by Konstantin Kolinko.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@646571
13f79535-47bb-0310-9956-
ffa450edef68
markt [Wed, 9 Apr 2008 21:59:05 +0000 (21:59 +0000)]
Fix bug 44785. Correct deafult maxThreads for AJP connector.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@646559
13f79535-47bb-0310-9956-
ffa450edef68
markt [Wed, 9 Apr 2008 21:29:42 +0000 (21:29 +0000)]
Additional permission needed to read JDK logging config.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@646550
13f79535-47bb-0310-9956-
ffa450edef68
markt [Wed, 9 Apr 2008 21:19:02 +0000 (21:19 +0000)]
Handle case where we don't have permission to read context specific configuration.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@646543
13f79535-47bb-0310-9956-
ffa450edef68
markt [Tue, 8 Apr 2008 22:26:05 +0000 (22:26 +0000)]
Better patch for 44766. I still can't see why the original code listed the classes individually.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@646106
13f79535-47bb-0310-9956-
ffa450edef68
markt [Tue, 8 Apr 2008 22:17:34 +0000 (22:17 +0000)]
Revert previous fix as it needs correcting.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@646102
13f79535-47bb-0310-9956-
ffa450edef68
markt [Tue, 8 Apr 2008 21:25:04 +0000 (21:25 +0000)]
This fixes 44766 but I can't see why the code was written as originally coded. Any light much appreciated. I'll give it a couple of days and then, assuming there are no objections, propose it for 6.0.x.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@646076
13f79535-47bb-0310-9956-
ffa450edef68
markt [Mon, 7 Apr 2008 22:47:54 +0000 (22:47 +0000)]
All of the issues I was seeing with mark/reset were due to states that resulted in a call to CharChunk.flushBuffer().
I tried many different ways to fix it but by far the simplest was this patch that just increases the size of the CharChunk internal buffer when creating the mark sufficiently that flushBuffer() is never called.
With this patch I can't break mark/reset with bug 44494's test case in single or multibyte mode.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@645722
13f79535-47bb-0310-9956-
ffa450edef68
markt [Mon, 7 Apr 2008 22:43:52 +0000 (22:43 +0000)]
Remy's resizing fix from bug 44494
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@645719
13f79535-47bb-0310-9956-
ffa450edef68
jfclere [Mon, 7 Apr 2008 09:29:41 +0000 (09:29 +0000)]
Submitted by Ruediger Pluem. PR#44595
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@645428
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Sat, 5 Apr 2008 22:03:59 +0000 (22:03 +0000)]
Fix for bug
https://issues.apache.org/bugzilla/show_bug.cgi
The ObjectInputStream.resolveProxyClass uses some funky native code base to retrieve what class loader to use, and it doesn't return the correct one. So we have to mimic the behavior in that class but use our class loaders instead
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@645184
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Sat, 5 Apr 2008 20:44:42 +0000 (20:44 +0000)]
Implement asynchronous callbacks for CometEvent.close and CometEvent.setTimeout to avoid connections with very long timeouts getting stuck
CometProcessor implements servlet interface, or the code will fail deployment
if no keepalive, close the connection after comet transaction is complete
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@645175
13f79535-47bb-0310-9956-
ffa450edef68
markt [Sat, 5 Apr 2008 20:11:16 +0000 (20:11 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=44759
Need source to generate javadocs
Patch provided by Stephen Bannasch.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@645169
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Fri, 4 Apr 2008 19:51:52 +0000 (19:51 +0000)]
doco update for the latest change
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@644860
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Fri, 4 Apr 2008 19:48:34 +0000 (19:48 +0000)]
fix sendfile, incorrect if else statements
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@644858
13f79535-47bb-0310-9956-
ffa450edef68
markt [Tue, 1 Apr 2008 18:33:38 +0000 (18:33 +0000)]
Better fix for bug 44715. Document use of secret for AJP connector.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@643497
13f79535-47bb-0310-9956-
ffa450edef68
markt [Tue, 1 Apr 2008 18:23:08 +0000 (18:23 +0000)]
Undo last commit - need to rework wording.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@643491
13f79535-47bb-0310-9956-
ffa450edef68
markt [Mon, 31 Mar 2008 22:19:20 +0000 (22:19 +0000)]
Fix bug 44715. Document use of secret for AJP connector.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@643181
13f79535-47bb-0310-9956-
ffa450edef68
markt [Sun, 30 Mar 2008 21:13:36 +0000 (21:13 +0000)]
Apply Remy's patch for 44494 for multi-byte character data.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@642819
13f79535-47bb-0310-9956-
ffa450edef68
markt [Sun, 30 Mar 2008 20:56:29 +0000 (20:56 +0000)]
Remove unused code. No functional change.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@642816
13f79535-47bb-0310-9956-
ffa450edef68
markt [Sun, 30 Mar 2008 20:52:21 +0000 (20:52 +0000)]
Tab police. Tabs -> 8 spaces. No functional change.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@642814
13f79535-47bb-0310-9956-
ffa450edef68
markt [Sat, 29 Mar 2008 14:48:24 +0000 (14:48 +0000)]
https://issues.apache.org/bugzilla/show_bug.cgi?id=44529
No roles (deny all) trumps no auth-constraint (allow all)
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@642542
13f79535-47bb-0310-9956-
ffa450edef68
markt [Fri, 28 Mar 2008 21:18:25 +0000 (21:18 +0000)]
Remove hack for getting env since JDK >= 1.5 provide a suitable method. Fixes issue with CGI, env and vista.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@642391
13f79535-47bb-0310-9956-
ffa450edef68
markt [Tue, 25 Mar 2008 23:36:56 +0000 (23:36 +0000)]
Fix bug 44673. Throw IOE if stream is closed and a call is made to any read(), ready(), mark(), reset(), or skip() method as per javadocs for Reader.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@641076
13f79535-47bb-0310-9956-
ffa450edef68
markt [Tue, 25 Mar 2008 23:19:15 +0000 (23:19 +0000)]
Code clean-up. Remove unused code. Fix generics related warnings. No functional change.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@641073
13f79535-47bb-0310-9956-
ffa450edef68
markt [Tue, 25 Mar 2008 22:21:57 +0000 (22:21 +0000)]
Apply the patch for BZ44494 that was applied to 6.0.x
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@641051
13f79535-47bb-0310-9956-
ffa450edef68
markt [Tue, 25 Mar 2008 22:13:49 +0000 (22:13 +0000)]
Revert original proposal for BZ44494 since an alternative patch was committed to 6.0.x
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@641043
13f79535-47bb-0310-9956-
ffa450edef68
markt [Tue, 25 Mar 2008 21:27:04 +0000 (21:27 +0000)]
Fix bug 44541 - document packetSize for the AJP connector.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@640994
13f79535-47bb-0310-9956-
ffa450edef68
markt [Tue, 25 Mar 2008 20:00:43 +0000 (20:00 +0000)]
Revert change from some work in progress that snuck in as part of an unrelated commit
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@640962
13f79535-47bb-0310-9956-
ffa450edef68
jfclere [Tue, 25 Mar 2008 17:02:02 +0000 (17:02 +0000)]
SavedRequest is the only one using T_STR instead T_BYTES.
converting to T_BYTES allows to use utf8 encoded querystring with parameters and form based authentication.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@640897
13f79535-47bb-0310-9956-
ffa450edef68
jfclere [Tue, 25 Mar 2008 16:38:14 +0000 (16:38 +0000)]
Add missing public on constructor.
Otherwise when using form based authentication:
+++
java.lang.NoClassDefFoundError: org/apache/tomcat/util/http/NamesEnumerator
at org.apache.tomcat.util.http.MimeHeaders.names(MimeHeaders.java:201)
at org.apache.catalina.connector.Request.getHeaderNames(Request.java:1873)
at org.apache.catalina.authenticator.FormAuthenticator.saveRequest(FormAuthenticator.java:479)
+++
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@640888
13f79535-47bb-0310-9956-
ffa450edef68
markt [Mon, 24 Mar 2008 21:30:03 +0000 (21:30 +0000)]
Fix bug 44611 https://issues.apache.org/bugzilla/show_bug.cgi?id=44611
DirContextURLConnection:
1) Does not implement the getHeaderFields() method
2) It's implementation of getHeaderField(String name) is case sensitive.
3) It returns an empty string "", rather than null, for header values which don't exist.
Patch provided by Chris Hubick.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@640584
13f79535-47bb-0310-9956-
ffa450edef68
markt [Mon, 24 Mar 2008 20:52:42 +0000 (20:52 +0000)]
Fix BZ 44620 https://issues.apache.org/bugzilla/show_bug.cgi?id=44620
Move the code that handles writing more than the output buffer can accept in a single write to the method that does the writing. This then protects all calls to addToBB() from the issue described in BZ 44620 and does not require the socket.appWriteBufSize to be >= maxHttpHeaderSize
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@640572
13f79535-47bb-0310-9956-
ffa450edef68
markt [Mon, 24 Mar 2008 20:30:14 +0000 (20:30 +0000)]
Use Rainer's improved patch for bug 44633
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@640559
13f79535-47bb-0310-9956-
ffa450edef68
markt [Mon, 24 Mar 2008 20:09:15 +0000 (20:09 +0000)]
Clean-up unused import
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@640551
13f79535-47bb-0310-9956-
ffa450edef68
markt [Mon, 24 Mar 2008 15:57:42 +0000 (15:57 +0000)]
Fix bug 44633. Tell use which class failed to load due to wrong version number.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@640451
13f79535-47bb-0310-9956-
ffa450edef68
markt [Sun, 23 Mar 2008 23:22:07 +0000 (23:22 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=44646
The problem was wider than the issue described in the bug report. The session listener and the valve are different objects so the connection list wasn't visible to the session listener. I couldn't see an easy way to make them the same object so I used two lists - one for the valve (stored in the valve) and one for the session (stored in the session).
This valve now works for a simple comet app.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@640273
13f79535-47bb-0310-9956-
ffa450edef68
markt [Fri, 21 Mar 2008 21:08:36 +0000 (21:08 +0000)]
maxActive setting for unlimited changed in commons-pool > 1.2
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@639842
13f79535-47bb-0310-9956-
ffa450edef68
markt [Fri, 21 Mar 2008 19:29:35 +0000 (19:29 +0000)]
No longer need to rename jars for CGI or SSI.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@639771
13f79535-47bb-0310-9956-
ffa450edef68