tomcat7.0
17 years agoBetter patch for 44766. I still can't see why the original code listed the classes...
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

17 years agoRevert previous fix as it needs correcting.
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

17 years agoThis fixes 44766 but I can't see why the code was written as originally coded. Any...
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

17 years agoAll of the issues I was seeing with mark/reset were due to states that resulted in...
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

17 years agoRemy's resizing fix from bug 44494
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

17 years agoSubmitted by Ruediger Pluem. PR#44595
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

17 years agoFix for bug
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

17 years agoImplement asynchronous callbacks for CometEvent.close and CometEvent.setTimeout to...
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

17 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=44759
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

17 years agodoco update for the latest change
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

17 years agofix sendfile, incorrect if else statements
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

17 years agoBetter fix for bug 44715. Document use of secret for AJP connector.
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

17 years agoUndo last commit - need to rework wording.
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

17 years agoFix bug 44715. Document use of secret for AJP connector.
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

17 years agoApply Remy's patch for 44494 for multi-byte character data.
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

17 years agoRemove unused code. No functional change.
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

17 years agoTab police. Tabs -> 8 spaces. No functional change.
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

17 years agohttps://issues.apache.org/bugzilla/show_bug.cgi?id=44529
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

17 years agoRemove hack for getting env since JDK >= 1.5 provide a suitable method. Fixes issue...
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

17 years agoFix bug 44673. Throw IOE if stream is closed and a call is made to any read(), ready...
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

17 years agoCode clean-up. Remove unused code. Fix generics related warnings. No functional change.
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

17 years agoApply the patch for BZ44494 that was applied to 6.0.x
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

17 years agoRevert original proposal for BZ44494 since an alternative patch was committed to...
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

17 years agoFix bug 44541 - document packetSize for the AJP connector.
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

17 years agoRevert change from some work in progress that snuck in as part of an unrelated commit
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

17 years agoSavedRequest is the only one using T_STR instead T_BYTES.
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

17 years agoAdd missing public on constructor.
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

17 years agoFix bug 44611 https://issues.apache.org/bugzilla/show_bug.cgi?id=44611
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

17 years agoFix BZ 44620 https://issues.apache.org/bugzilla/show_bug.cgi?id=44620
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

17 years agoUse Rainer's improved patch for bug 44633
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

17 years agoClean-up unused import
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

17 years agoFix bug 44633. Tell use which class failed to load due to wrong version number.
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

17 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=44646
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

17 years agomaxActive setting for unlimited changed in commons-pool > 1.2
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

17 years agoNo longer need to rename jars for CGI or SSI.
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

17 years agoThere is no admin app in 6.x
markt [Thu, 20 Mar 2008 08:20:05 +0000 (08:20 +0000)]
There is no admin app in 6.x

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@639198 13f79535-47bb-0310-9956-ffa450edef68

17 years agoOnly allow version switching on the "value" of the cookie, for the rest, just quote...
fhanik [Wed, 19 Mar 2008 03:46:17 +0000 (03:46 +0000)]
Only allow version switching on the "value" of the cookie, for the rest, just quote like we did in the past. this becomes the most backwards compatible with old behavior

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@638695 13f79535-47bb-0310-9956-ffa450edef68

17 years agoTypo.
jfclere [Mon, 17 Mar 2008 10:07:03 +0000 (10:07 +0000)]
Typo.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@637817 13f79535-47bb-0310-9956-ffa450edef68

17 years agoAdd SSLRandomSeed documentation.
jfclere [Mon, 17 Mar 2008 09:59:15 +0000 (09:59 +0000)]
Add SSLRandomSeed documentation.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@637810 13f79535-47bb-0310-9956-ffa450edef68

17 years agoFix bug 44558. Include address in bind exception message.
markt [Sun, 9 Mar 2008 17:31:48 +0000 (17:31 +0000)]
Fix bug 44558. Include address in bind exception message.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@635304 13f79535-47bb-0310-9956-ffa450edef68

17 years agoUse localised string having gone to the bother of obtaining it.
markt [Sun, 9 Mar 2008 17:19:59 +0000 (17:19 +0000)]
Use localised string having gone to the bother of obtaining it.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@635298 13f79535-47bb-0310-9956-ffa450edef68

17 years agoFix bug 44562. HEAD requests fail with rd.include(). Patch provided by David Jencks.
markt [Sun, 9 Mar 2008 17:19:00 +0000 (17:19 +0000)]
Fix bug 44562. HEAD requests fail with rd.include(). Patch provided by David Jencks.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@635297 13f79535-47bb-0310-9956-ffa450edef68

17 years agoTabs -> 8 spaces and general clean-up of white space. No functional change.
markt [Sun, 9 Mar 2008 17:13:17 +0000 (17:13 +0000)]
Tabs -> 8 spaces and general clean-up of white space. No functional change.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@635294 13f79535-47bb-0310-9956-ffa450edef68

17 years agoupdate changelog
fhanik [Fri, 7 Mar 2008 03:50:00 +0000 (03:50 +0000)]
update changelog

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@634518 13f79535-47bb-0310-9956-ffa450edef68

17 years agodon't quote the path for v0 cookies, some browsers understand quote for the value...
fhanik [Fri, 7 Mar 2008 03:41:42 +0000 (03:41 +0000)]
don't quote the path for v0 cookies, some browsers understand quote for the value, but not the path

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@634513 13f79535-47bb-0310-9956-ffa450edef68

17 years agoupdate changelog
fhanik [Wed, 27 Feb 2008 20:14:16 +0000 (20:14 +0000)]
update changelog

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@631701 13f79535-47bb-0310-9956-ffa450edef68

17 years agoRevert back to original patch proposed for UTF8 parsing.
fhanik [Wed, 27 Feb 2008 20:12:18 +0000 (20:12 +0000)]
Revert back to original patch proposed for UTF8 parsing.
This also fixes the regression for 6.0.16 and 5.5.26 (and possibly 4.1.37) mentioned in
http://issues.apache.org/bugzilla/show_bug.cgi?id=44494

The original patch can be viewed
http://svn.apache.org/viewvc?rev=568307&view=rev
http://svn.apache.org/viewvc?rev=568605&view=rev

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@631700 13f79535-47bb-0310-9956-ffa450edef68

17 years agoadd rev number
fhanik [Tue, 26 Feb 2008 18:21:56 +0000 (18:21 +0000)]
add rev number

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@631322 13f79535-47bb-0310-9956-ffa450edef68

17 years agoupdate to support <rev> attribute
fhanik [Tue, 26 Feb 2008 18:21:27 +0000 (18:21 +0000)]
update to support <rev> attribute

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@631321 13f79535-47bb-0310-9956-ffa450edef68

17 years agosmall doco update with the addition on the new features
fhanik [Tue, 26 Feb 2008 18:10:50 +0000 (18:10 +0000)]
small doco update with the addition on the new features

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@631316 13f79535-47bb-0310-9956-ffa450edef68

17 years agono need to sync, the javadoc says it's thread safe
fhanik [Tue, 26 Feb 2008 18:10:12 +0000 (18:10 +0000)]
no need to sync, the javadoc says it's thread safe

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@631315 13f79535-47bb-0310-9956-ffa450edef68

17 years agoUse the same name on the static variable for servlet compliance
fhanik [Sat, 23 Feb 2008 20:51:23 +0000 (20:51 +0000)]
Use the same name on the static variable for servlet compliance

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@630533 13f79535-47bb-0310-9956-ffa450edef68

17 years agocorrect the example URLs since the example webapp has been modified
fhanik [Fri, 22 Feb 2008 20:41:06 +0000 (20:41 +0000)]
correct the example URLs since the example webapp has been modified

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@630314 13f79535-47bb-0310-9956-ffa450edef68

17 years agomore test changes
fhanik [Fri, 22 Feb 2008 16:01:51 +0000 (16:01 +0000)]
more test changes

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@630235 13f79535-47bb-0310-9956-ffa450edef68

17 years agoadd in some more checks
fhanik [Fri, 22 Feb 2008 16:01:41 +0000 (16:01 +0000)]
add in some more checks

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@630234 13f79535-47bb-0310-9956-ffa450edef68

17 years agocorrect project name
fhanik [Fri, 22 Feb 2008 15:55:32 +0000 (15:55 +0000)]
correct project name

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@630231 13f79535-47bb-0310-9956-ffa450edef68

17 years agoRevert r616563 which was a fix for bug 43878 that has now been marked as WONTFIX.
markt [Thu, 21 Feb 2008 22:02:50 +0000 (22:02 +0000)]
Revert r616563 which was a fix for bug 43878 that has now been marked as WONTFIX.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@630019 13f79535-47bb-0310-9956-ffa450edef68

17 years agoDoc improvements:
markt [Thu, 21 Feb 2008 21:51:52 +0000 (21:51 +0000)]
Doc improvements:
  Tomcat 5       -> Tomcat 6
  $CATALINA_HOME -> $CATALINA_BASE
  /server/lib    -> /lib
  /common/lib    -> /lib

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@630013 13f79535-47bb-0310-9956-ffa450edef68

17 years agoAs per http://marc.info/?l=tomcat-dev&m=120303263525849&w=2, remove status page and...
markt [Thu, 21 Feb 2008 21:36:18 +0000 (21:36 +0000)]
As per marc.info/?l=tomcat-dev&m=120303263525849&w=2, remove status page and point to wiki.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@630006 13f79535-47bb-0310-9956-ffa450edef68

17 years agosource jars for maven repo
fhanik [Thu, 21 Feb 2008 17:07:42 +0000 (17:07 +0000)]
source jars for maven repo

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@629873 13f79535-47bb-0310-9956-ffa450edef68

17 years agotwo proposals
fhanik [Thu, 21 Feb 2008 17:07:01 +0000 (17:07 +0000)]
two proposals

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@629872 13f79535-47bb-0310-9956-ffa450edef68

17 years agomodify test code to report more info
fhanik [Thu, 21 Feb 2008 16:06:17 +0000 (16:06 +0000)]
modify test code to report more info
avoid concurrency during closedown

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@629843 13f79535-47bb-0310-9956-ffa450edef68

17 years agoAdd buffer sizes to the UDP sockets
fhanik [Wed, 20 Feb 2008 17:12:27 +0000 (17:12 +0000)]
Add buffer sizes to the UDP sockets

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@629539 13f79535-47bb-0310-9956-ffa450edef68

17 years agomore UDP impl
fhanik [Tue, 19 Feb 2008 20:45:54 +0000 (20:45 +0000)]
more UDP impl

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@629223 13f79535-47bb-0310-9956-ffa450edef68

17 years agomore UDP code
fhanik [Tue, 19 Feb 2008 00:57:54 +0000 (00:57 +0000)]
more UDP code

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@628940 13f79535-47bb-0310-9956-ffa450edef68

17 years agoStarting to add in UDP support, still need to rethink how the sender is going to...
fhanik [Mon, 18 Feb 2008 22:07:09 +0000 (22:07 +0000)]
Starting to add in UDP support, still need to rethink how the sender is going to work

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@628881 13f79535-47bb-0310-9956-ffa450edef68

17 years agoimplement setter of secure and UDP ports
fhanik [Mon, 18 Feb 2008 18:50:35 +0000 (18:50 +0000)]
implement setter of secure and UDP ports

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@628843 13f79535-47bb-0310-9956-ffa450edef68

17 years agoAdd support to carry a UDP port in the broadcast, also add in versioning support...
fhanik [Mon, 18 Feb 2008 18:13:39 +0000 (18:13 +0000)]
Add support to carry a UDP port in the broadcast, also add in versioning support (last two bytes) so that we can move the protocol forward

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@628837 13f79535-47bb-0310-9956-ffa450edef68

17 years agoone more feature
fhanik [Fri, 15 Feb 2008 00:36:29 +0000 (00:36 +0000)]
one more feature

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@627921 13f79535-47bb-0310-9956-ffa450edef68

17 years agoAdd a file to track possible 6.2 features so I can refer to it from the wiki.
markt [Thu, 14 Feb 2008 23:54:39 +0000 (23:54 +0000)]
Add a file to track possible 6.2 features so I can refer to it from the wiki.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@627911 13f79535-47bb-0310-9956-ffa450edef68

17 years agoFix ArrayIndexOutOfBoundsException reported on users list. Patch provided by Charles...
markt [Thu, 14 Feb 2008 22:02:41 +0000 (22:02 +0000)]
Fix ArrayIndexOutOfBoundsException reported on users list. Patch provided by Charles R Caldarale.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@627883 13f79535-47bb-0310-9956-ffa450edef68

17 years agoAdd STRICT compliance flag to impact cookie value handling to provide backwards compa...
fhanik [Thu, 14 Feb 2008 13:59:00 +0000 (13:59 +0000)]
Add STRICT compliance flag to impact cookie value handling to provide backwards compatibility
Add STRICT complanice flag to impact ServletContext.getResource(AsStream) to be backwards compatible

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@627743 13f79535-47bb-0310-9956-ffa450edef68

17 years agofix NPE
fhanik [Thu, 14 Feb 2008 09:55:23 +0000 (09:55 +0000)]
fix NPE
java.lang.NullPointerException at org.apache.catalina.session.ManagerBase.processExpires(ManagerBase.java:682)
        at org.apache.catalina.session.ManagerBase.backgroundProcess(ManagerBase.java:667)
        at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1316)
        at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1601)
        at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1610)
        at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1610)
        at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1590)
        at java.lang.Thread.run(Thread.java:619)

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@627689 13f79535-47bb-0310-9956-ffa450edef68

17 years agoAs pointed out on the users list, lib is relative to catalina home, not base
markt [Wed, 13 Feb 2008 22:22:38 +0000 (22:22 +0000)]
As pointed out on the users list, lib is relative to catalina home, not base

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@627602 13f79535-47bb-0310-9956-ffa450edef68

17 years agosome more ideas
fhanik [Tue, 12 Feb 2008 16:25:49 +0000 (16:25 +0000)]
some more ideas

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@620847 13f79535-47bb-0310-9956-ffa450edef68

17 years agoAllow to run the shutdown on another IP that localhost.
jfclere [Tue, 12 Feb 2008 16:22:58 +0000 (16:22 +0000)]
Allow to run the shutdown on another IP that localhost.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@620845 13f79535-47bb-0310-9956-ffa450edef68

17 years agoOnly add the listener once (to prevent the dup message from accidently appearing)
funkman [Tue, 12 Feb 2008 16:22:19 +0000 (16:22 +0000)]
Only add the listener once (to prevent the dup message from accidently appearing)

related to http://issues.apache.org/bugzilla/show_bug.cgi?id=44268

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@620844 13f79535-47bb-0310-9956-ffa450edef68

17 years agoimprovements to tribes
fhanik [Tue, 12 Feb 2008 16:02:28 +0000 (16:02 +0000)]
improvements to tribes

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@620835 13f79535-47bb-0310-9956-ffa450edef68

17 years agoremove not needed synchronization
fhanik [Tue, 12 Feb 2008 15:03:29 +0000 (15:03 +0000)]
remove not needed synchronization

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@620821 13f79535-47bb-0310-9956-ffa450edef68

17 years agoExtendedAccessLogValve cs-uri not print empty querystring
pero [Tue, 12 Feb 2008 12:36:00 +0000 (12:36 +0000)]
ExtendedAccessLogValve cs-uri not print empty querystring

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@620778 13f79535-47bb-0310-9956-ffa450edef68

17 years agoCorrected use of Channel.getMembers() in cluster
fhanik [Mon, 11 Feb 2008 17:29:06 +0000 (17:29 +0000)]
Corrected use of Channel.getMembers() in cluster
Added debug hints to warning messages based on what may be wrong

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@620533 13f79535-47bb-0310-9956-ffa450edef68

17 years agoadded demo on how to use the payload
fhanik [Mon, 11 Feb 2008 17:19:32 +0000 (17:19 +0000)]
added demo on how to use the payload

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@620529 13f79535-47bb-0310-9956-ffa450edef68

17 years agoAdd a page to the config docs detailing the various system properties that are available.
markt [Sun, 10 Feb 2008 21:33:35 +0000 (21:33 +0000)]
Add a page to the config docs detailing the various system properties that are available.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@620335 13f79535-47bb-0310-9956-ffa450edef68

17 years agoRemove synchronization on the DeltaRequest object, and let the object that manages...
fhanik [Tue, 5 Feb 2008 23:29:56 +0000 (23:29 +0000)]
Remove synchronization on the DeltaRequest object, and let the object that manages the delta request (session/manager) to handle the locking properly, using the session lock
There is a case with a non sticky load balancer where using synchronized and a lock (essentially two locks) can end up in a dead lock

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@618823 13f79535-47bb-0310-9956-ffa450edef68

17 years agoFix for bug 43741. Correctly handle dependencies for tag files in JARs.
markt [Mon, 4 Feb 2008 22:58:21 +0000 (22:58 +0000)]
Fix for bug 43741. Correctly handle dependencies for tag files in JARs.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@618481 13f79535-47bb-0310-9956-ffa450edef68

17 years agocheck if there is more room, in case limit(x) has been called
fhanik [Mon, 4 Feb 2008 20:23:40 +0000 (20:23 +0000)]
check if there is more room, in case limit(x) has been called

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@618420 13f79535-47bb-0310-9956-ffa450edef68

17 years agohttp://issues.apache.org/bugzilla/show_bug.cgi?id=44337
funkman [Mon, 4 Feb 2008 02:10:39 +0000 (02:10 +0000)]
issues.apache.org/bugzilla/show_bug.cgi?id=44337
Dir listing crashes if no readme-file present

Catch NamingException on resource not found instead of checking for null

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@618150 13f79535-47bb-0310-9956-ffa450edef68

17 years agoI meant the reverse
fhanik [Sun, 3 Feb 2008 19:51:02 +0000 (19:51 +0000)]
I meant the reverse

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@618071 13f79535-47bb-0310-9956-ffa450edef68

17 years agoTabs to 8 spaces. No functional change.
markt [Sun, 3 Feb 2008 19:45:46 +0000 (19:45 +0000)]
Tabs to 8 spaces. No functional change.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@618070 13f79535-47bb-0310-9956-ffa450edef68

17 years agoFix defect 43701
fhanik [Sun, 3 Feb 2008 19:06:00 +0000 (19:06 +0000)]
Fix defect 43701

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@618059 13f79535-47bb-0310-9956-ffa450edef68

17 years agoRevert fix for 43741. Aim for better fix that handles tag files in JARs.
markt [Fri, 1 Feb 2008 22:32:13 +0000 (22:32 +0000)]
Revert fix for 43741. Aim for better fix that handles tag files in JARs.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@617682 13f79535-47bb-0310-9956-ffa450edef68

17 years agoFix bug 44282. Do call to getClassLoader() in a privileged block.
markt [Wed, 30 Jan 2008 23:24:48 +0000 (23:24 +0000)]
Fix bug 44282. Do call to getClassLoader() in a privileged block.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@616953 13f79535-47bb-0310-9956-ffa450edef68

17 years agoRemove TLS from Eclipse as well
markt [Wed, 30 Jan 2008 21:56:27 +0000 (21:56 +0000)]
Remove TLS from Eclipse as well

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@616917 13f79535-47bb-0310-9956-ffa450edef68

17 years agoRemove JSSE dependency from SSL abstraction.
markt [Wed, 30 Jan 2008 20:54:30 +0000 (20:54 +0000)]
Remove JSSE dependency from SSL abstraction.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@616897 13f79535-47bb-0310-9956-ffa450edef68

17 years agoThe NIO connector is hard-coded to use the JSSE SSL implementation so just use it...
markt [Wed, 30 Jan 2008 20:52:49 +0000 (20:52 +0000)]
The NIO connector is hard-coded to use the JSSE SSL implementation so just use it directly. This patch allows the JSSE dependency in the SSL abstraction to be removed (this will be in a later patch).

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@616896 13f79535-47bb-0310-9956-ffa450edef68

17 years agoRemove the old TLS code from Tomcat 6.
markt [Wed, 30 Jan 2008 20:49:51 +0000 (20:49 +0000)]
Remove the old TLS code from Tomcat 6.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@616894 13f79535-47bb-0310-9956-ffa450edef68

17 years agoTab police - no functional change.
markt [Wed, 30 Jan 2008 18:43:52 +0000 (18:43 +0000)]
Tab police - no functional change.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@616839 13f79535-47bb-0310-9956-ffa450edef68

17 years agoBetter fix for 43878. If we aren't re-loading, use a single class loader for JSPs...
markt [Tue, 29 Jan 2008 23:37:08 +0000 (23:37 +0000)]
Better fix for 43878. If we aren't re-loading, use a single class loader for JSPs and tag files to reduce perm gen space usage

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@616563 13f79535-47bb-0310-9956-ffa450edef68

17 years agoFix bug 43741. Tag files in JARs were getting compiled once for every JSP that used...
markt [Tue, 29 Jan 2008 23:14:23 +0000 (23:14 +0000)]
Fix bug 43741. Tag files in JARs were getting compiled once for every JSP that used them. Patch provided by Anthony Berglas.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@616556 13f79535-47bb-0310-9956-ffa450edef68

17 years agoTab police. No function change
markt [Tue, 29 Jan 2008 21:18:25 +0000 (21:18 +0000)]
Tab police. No function change

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@616522 13f79535-47bb-0310-9956-ffa450edef68