tomcat7.0
18 years agoFix WebDAV for MS clients.
markt [Mon, 30 Jul 2007 23:37:47 +0000 (23:37 +0000)]
Fix WebDAV for MS clients.
Fix error message when there is no request content
Ported from TC5

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

18 years agoPort fix for 39212. Possible NPE and redundant code.
markt [Mon, 30 Jul 2007 18:13:30 +0000 (18:13 +0000)]
Port fix for 39212. Possible NPE and redundant code.

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

18 years agoBZ 42951: Port r454193 (BZ 36976) from TC 5.5.x:
rjung [Sun, 22 Jul 2007 18:31:13 +0000 (18:31 +0000)]
BZ 42951: Port r454193 (BZ 36976) from TC 5.5.x:
Don't use CATALINA_OPTS when stopping Tomcat.

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

18 years ago- Fix classcast exceptions if Comet is used and there's a filter (I forgot to commit...
remm [Thu, 19 Jul 2007 23:48:06 +0000 (23:48 +0000)]
- Fix classcast exceptions if Comet is used and there's a filter (I forgot to commit this patch).

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

18 years agocomplete the bug fix
fhanik [Thu, 19 Jul 2007 16:26:53 +0000 (16:26 +0000)]
complete the bug fix

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

18 years agoThis Valve is to extra the SSL informations from additional headers
jfclere [Thu, 19 Jul 2007 15:51:50 +0000 (15:51 +0000)]
This Valve is to extra the SSL informations from additional headers
When using Apache httpd as proxy they are added by mod_headers and the following directives:
RequestHeader set SSL_CLIENT_CERT "%{SSL_CLIENT_CERT}s"
RequestHeader set SSL_CIPHER "%{SSL_CIPHER}s"
RequestHeader set SSL_SESSION_ID "%{SSL_SESSION_ID}s"
RequestHeader set SSL_CIPHER_USEKEYSIZE "%{SSL_CIPHER_USEKEYSIZE}s"

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

18 years agoBZ 42937
fhanik [Thu, 19 Jul 2007 14:17:18 +0000 (14:17 +0000)]
BZ 42937
use the correct index

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

18 years agoMake cookie handling conform to RFC2965. Don't treat the single quote character as...
markt [Thu, 19 Jul 2007 02:41:08 +0000 (02:41 +0000)]
Make cookie handling conform to RFC2965. Don't treat the single quote character as special.

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

18 years agoFix compiler warnings.
markt [Thu, 19 Jul 2007 02:19:10 +0000 (02:19 +0000)]
Fix compiler warnings.
Filter output.

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

18 years agoClarify that the manager app is already installed. Remove adding entry to server...
markt [Mon, 16 Jul 2007 23:33:46 +0000 (23:33 +0000)]
Clarify that the manager app is already installed. Remove adding entry to server.xml as an installation option.

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

18 years agoFix reload problem that only affected ROOT.xml. Ported from 5.5.x
markt [Mon, 16 Jul 2007 02:01:01 +0000 (02:01 +0000)]
Fix reload problem that only affected ROOT.xml. Ported from 5.5.x

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

18 years agoRemove references to adding stuff to server.xml and cross-reference the context docs...
markt [Sun, 15 Jul 2007 20:58:12 +0000 (20:58 +0000)]
Remove references to adding stuff to server.xml and cross-reference the context docs instead.

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

18 years agoCorrect j.u.l log levels in JULI docs.
rjung [Sun, 15 Jul 2007 17:02:56 +0000 (17:02 +0000)]
Correct j.u.l log levels in JULI docs.

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

18 years agoUse Constants.SESSION_PARAMETER_NAME instead "jsessionid".
jfclere [Wed, 11 Jul 2007 15:31:03 +0000 (15:31 +0000)]
Use Constants.SESSION_PARAMETER_NAME instead "jsessionid".

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

18 years agoUse Globals.SESSION_PARAMETER_NAME instead "jsessionid".
jfclere [Wed, 11 Jul 2007 15:28:52 +0000 (15:28 +0000)]
Use Globals.SESSION_PARAMETER_NAME instead "jsessionid".

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

18 years agoFix typo
markt [Tue, 10 Jul 2007 03:40:02 +0000 (03:40 +0000)]
Fix typo

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

18 years agofix for bz 42840
fhanik [Mon, 9 Jul 2007 20:53:48 +0000 (20:53 +0000)]
fix for bz 42840
http://issues.apache.org/bugzilla/show_bug.cgi?id=42840

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

18 years agoSeparate sequence increment from getter in ThreadPool to avoid
rjung [Mon, 9 Jul 2007 09:48:48 +0000 (09:48 +0000)]
Separate sequence increment from getter in ThreadPool to avoid
misleading increments during monitoring via JMX.

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

18 years agoRemove invalid attribute "encoding" of MBean MemoryUserDatabase,
rjung [Mon, 9 Jul 2007 09:09:50 +0000 (09:09 +0000)]
Remove invalid attribute "encoding" of MBean MemoryUserDatabase,
which lead to errors in the manager webapp JMXProxy output.

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

18 years agoUndo unintetional commit from r554562. Will come next as separate commit.
rjung [Mon, 9 Jul 2007 09:09:01 +0000 (09:09 +0000)]
Undo unintetional commit from r554562. Will come next as separate commit.

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

18 years agoDon't write error on System.out, use log() instead.
rjung [Mon, 9 Jul 2007 08:59:02 +0000 (08:59 +0000)]
Don't write error on System.out, use log() instead.

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

18 years agoBZ 39813: Correct handling of new line characters in JMX attributes.
rjung [Mon, 9 Jul 2007 08:44:50 +0000 (08:44 +0000)]
BZ 39813: Correct handling of new line characters in JMX attributes.
Patch provided by R Bramley. Ported from tc5.5.x r415029.

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

18 years agoFix typo.
markt [Sat, 7 Jul 2007 01:40:19 +0000 (01:40 +0000)]
Fix typo.

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

18 years agoRemove old util class that is no longer used.
markt [Fri, 6 Jul 2007 03:31:04 +0000 (03:31 +0000)]
Remove old util class that is no longer used.

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

18 years agoo.a.t.util.http
markt [Fri, 6 Jul 2007 02:36:32 +0000 (02:36 +0000)]
o.a.t.util.http
Tabs -> 8 spaces
Fix compiler warnings
No functional change

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

18 years agoEscape the " in the cookie value.
jfclere [Thu, 5 Jul 2007 08:13:06 +0000 (08:13 +0000)]
Escape the " in the cookie value.

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

18 years agoArrange the handling of cookies values.
jfclere [Wed, 4 Jul 2007 14:29:19 +0000 (14:29 +0000)]
Arrange the handling of cookies values.

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

18 years agoFix BZ 42803
fhanik [Tue, 3 Jul 2007 13:29:43 +0000 (13:29 +0000)]
Fix BZ 42803

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

18 years ago- Changelog update.
remm [Fri, 29 Jun 2007 13:58:09 +0000 (13:58 +0000)]
- Changelog update.

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

18 years ago- Fix a lost reference problem when using Comet with a security manager.
remm [Fri, 29 Jun 2007 12:35:04 +0000 (12:35 +0000)]
- Fix a lost reference problem when using Comet with a security manager.

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

18 years ago- If bytes are not read, send an error event (otherwise, fields referring to the...
remm [Thu, 28 Jun 2007 18:16:09 +0000 (18:16 +0000)]
- If bytes are not read, send an error event (otherwise, fields referring to the connection could remain).

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

18 years agoporting AJP large-file support from 5.5
billbarker [Sun, 24 Jun 2007 23:19:50 +0000 (23:19 +0000)]
porting AJP large-file support from 5.5

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

18 years agoTabs -> 8 spaces
markt [Sun, 24 Jun 2007 21:58:36 +0000 (21:58 +0000)]
Tabs -> 8 spaces
Fix compiler warnings

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

18 years agoPort fix for bug 41722. role-link in web.xml should be optional.
markt [Sun, 24 Jun 2007 17:28:45 +0000 (17:28 +0000)]
Port fix for bug 41722. role-link in web.xml should be optional.

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

18 years agoClose streams as noted in bug 42314.
markt [Sun, 24 Jun 2007 11:45:44 +0000 (11:45 +0000)]
Close streams as noted in bug 42314.

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

18 years agoPort fix for bug 42547. Fix NPE when a ResourceLink tries to override an env-entry.
markt [Sat, 23 Jun 2007 15:00:51 +0000 (15:00 +0000)]
Port fix for bug 42547. Fix NPE when a ResourceLink tries to override an env-entry.

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

18 years agoRemove default host which is no longer used.
markt [Fri, 22 Jun 2007 17:33:38 +0000 (17:33 +0000)]
Remove default host which is no longer used.

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

18 years ago- Fix API. Submitted by Bill Burke.
remm [Mon, 18 Jun 2007 15:54:54 +0000 (15:54 +0000)]
- Fix API. Submitted by Bill Burke.

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

18 years agoPort fix bug 42643. Prevent creation of duplicate function mapper variables.
markt [Sat, 16 Jun 2007 15:39:21 +0000 (15:39 +0000)]
Port fix bug 42643. Prevent creation of duplicate function mapper variables.
Fix various compiler warnings.

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

18 years agoFix XSS issues in snoop.jsp. This is CVE-2007-2449. Some of these are harder (impossi...
markt [Thu, 14 Jun 2007 02:01:19 +0000 (02:01 +0000)]
Fix XSS issues in snoop.jsp. This is CVE-2007-2449. Some of these are harder (impossible?) to exploit than others but doing all of them means there won't be another XSS issue to patch later.
I also made a similar change for a couple of other JSPs that are in the harder/impossible? to exploit category.

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

18 years agoIgnore local build properties
markt [Thu, 14 Jun 2007 01:57:01 +0000 (01:57 +0000)]
Ignore local build properties

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

18 years agoPorting large-file support for the AJP Connectors from 5.5
billbarker [Thu, 14 Jun 2007 01:56:16 +0000 (01:56 +0000)]
Porting large-file support for the AJP Connectors from 5.5

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

18 years agoFix XSS issue in Manager and Host Manager. This is CVE-2007-2450.
markt [Thu, 14 Jun 2007 01:55:09 +0000 (01:55 +0000)]
Fix XSS issue in Manager and Host Manager. This is CVE-2007-2450.

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

18 years agofix for BZ 42650
fhanik [Wed, 13 Jun 2007 17:07:06 +0000 (17:07 +0000)]
fix for BZ 42650
http://issues.apache.org/bugzilla/show_bug.cgi?id=42650

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

18 years agofix for BZ 42648
fhanik [Wed, 13 Jun 2007 17:00:21 +0000 (17:00 +0000)]
fix for BZ 42648
http://issues.apache.org/bugzilla/show_bug.cgi?id=42648

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

18 years agoAdd generation of html versions of source files for the examples webapp.
markt [Wed, 13 Jun 2007 02:07:43 +0000 (02:07 +0000)]
Add generation of html versions of source files for the examples webapp.

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

18 years agoLook for tools.jar in right place.
markt [Sat, 9 Jun 2007 00:18:22 +0000 (00:18 +0000)]
Look for tools.jar in right place.

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

18 years agoFix old reference to Jakarta.
markt [Wed, 6 Jun 2007 01:08:53 +0000 (01:08 +0000)]
Fix old reference to Jakarta.

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

18 years agoPort fix for 33774. Retry on ServiceUnavailableException
markt [Sat, 2 Jun 2007 01:42:17 +0000 (01:42 +0000)]
Port fix for 33774. Retry on ServiceUnavailableException

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

18 years agoFix compiler warnings in o.a.c.realm
markt [Sat, 2 Jun 2007 01:37:08 +0000 (01:37 +0000)]
Fix compiler warnings in o.a.c.realm

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

18 years agoFix compiler warnings
markt [Sat, 2 Jun 2007 00:42:59 +0000 (00:42 +0000)]
Fix compiler warnings

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

18 years agoPort fix for bug 42497. Include ETag header on 304 response as per RFC2616. Patch...
markt [Sat, 2 Jun 2007 00:42:36 +0000 (00:42 +0000)]
Port fix for bug 42497. Include ETag header on 304 response as per RFC2616. Patch provided by Len Popp.

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

18 years agoFix signatures
fhanik [Fri, 1 Jun 2007 07:38:39 +0000 (07:38 +0000)]
Fix signatures
BZ 42509
BZ 42515
Submitted by Paul McMahan

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

18 years ago- 42559: I did not make equivalent modifications (the isCommitted method was not...
remm [Thu, 31 May 2007 23:08:24 +0000 (23:08 +0000)]
- 42559: I did not make equivalent modifications (the isCommitted method was not invoked on the facade).

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

18 years agoPort fix for bug 39425. Add additional permission required for precompiled JSPs.
markt [Thu, 31 May 2007 02:44:55 +0000 (02:44 +0000)]
Port fix for bug 39425. Add additional permission required for precompiled JSPs.

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

18 years agoRemove the non blocking handling of the request, doesn't work well with the new non...
fhanik [Tue, 29 May 2007 20:41:53 +0000 (20:41 +0000)]
Remove the non blocking handling of the request, doesn't work well with the new non thread local processor handling

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

18 years ago- Typo.
remm [Sun, 27 May 2007 14:02:36 +0000 (14:02 +0000)]
- Typo.

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

18 years agoPorting fix to allow for a forward/include to call getAttributeNames on the Request...
billbarker [Sun, 27 May 2007 02:01:05 +0000 (02:01 +0000)]
Porting fix to allow for a forward/include to call getAttributeNames on the Request in a sandbox

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

18 years ago- Revert the API changes in the 6.0.x branch.
remm [Wed, 23 May 2007 15:49:36 +0000 (15:49 +0000)]
- Revert the API changes in the 6.0.x branch.

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

18 years ago- NPE check (when using JMX, if I remember correctly).
remm [Wed, 23 May 2007 15:44:33 +0000 (15:44 +0000)]
- NPE check (when using JMX, if I remember correctly).

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

18 years agoPort fix for bug 39875.
markt [Wed, 23 May 2007 02:44:56 +0000 (02:44 +0000)]
Port fix for bug 39875.
Fix genrics compiler warnings.

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

18 years agoPort fix for bug 42438. Duplicate temp variable was created. Patch provided by Brian...
markt [Wed, 23 May 2007 02:42:08 +0000 (02:42 +0000)]
Port fix for bug 42438. Duplicate temp variable was created. Patch provided by Brian Lenz.

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

18 years agoCorrection Bug 42436 patch from Paul McMahan
fcarrion [Tue, 22 May 2007 07:40:22 +0000 (07:40 +0000)]
Correction Bug 42436 patch from Paul McMahan

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

18 years agoFix demo
fhanik [Mon, 21 May 2007 13:32:46 +0000 (13:32 +0000)]
Fix demo

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

18 years agono need to pre initialize these values git-svn@540105
fhanik [Mon, 21 May 2007 10:25:46 +0000 (10:25 +0000)]
no need to pre initialize these values

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

18 years agoadd non block support
fhanik [Mon, 21 May 2007 09:56:48 +0000 (09:56 +0000)]
add non block support

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

18 years agoadd block/no block flag to flushing the SSL buffer
fhanik [Mon, 21 May 2007 09:54:46 +0000 (09:54 +0000)]
add block/no block flag to flushing the SSL buffer

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

18 years agolock in the right place
fhanik [Mon, 21 May 2007 09:27:15 +0000 (09:27 +0000)]
lock in the right place

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

18 years agoOnly lock when incrementing the counter on sending messages, can be further optimized...
fhanik [Mon, 21 May 2007 09:14:08 +0000 (09:14 +0000)]
Only lock when incrementing the counter on sending messages, can be further optimized to have a lock per member

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

18 years agominor change
fhanik [Mon, 21 May 2007 09:08:02 +0000 (09:08 +0000)]
minor change

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

18 years agoremove locking from memberAdded and memberDisappeared, as it can lock with sending...
fhanik [Mon, 21 May 2007 09:07:25 +0000 (09:07 +0000)]
remove locking from memberAdded and memberDisappeared, as it can lock with sending messages

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

18 years agoCorrect fix for removal of first read timeout, we are always using soTimeout, both...
fhanik [Mon, 21 May 2007 09:02:21 +0000 (09:02 +0000)]
Correct fix for removal of first read timeout, we are always using soTimeout, both for write and for read

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

18 years agoShave a couple of ms off of the time :)
billbarker [Sun, 20 May 2007 22:45:26 +0000 (22:45 +0000)]
Shave a couple of ms off of the time :)

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

18 years agoAlways reset the MB when doing getBytes
billbarker [Sun, 20 May 2007 22:28:47 +0000 (22:28 +0000)]
Always reset the MB when doing getBytes

Fix for bug #36155

1) an unconditional reset is cheap if I'm going to call MB.setBytes
2) the JK connector doesn't support any charset except iso-latin-1 anyway
3) This particular connector is on the fast track to deprecated

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

18 years agoJNDIRealm does not catch NullPointerException for Sun's LDAP provider
funkman [Sun, 20 May 2007 18:33:16 +0000 (18:33 +0000)]
JNDIRealm does not catch NullPointerException for Sun's LDAP provider

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

18 years agoFix BZ 42459: Manager webap table format error
rjung [Sun, 20 May 2007 17:12:08 +0000 (17:12 +0000)]
Fix BZ 42459: Manager webap table format error
for stopped and undeployed webapps.

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

18 years agobug 42444: prevent NPE
funkman [Sat, 19 May 2007 18:31:09 +0000 (18:31 +0000)]
bug 42444: prevent NPE
Patch provided by Nils Hammar (funkman)

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

18 years agoHups, Http11NioProcessor need FirstReadTimeout at strange way.. Sorry!
pero [Fri, 18 May 2007 18:05:40 +0000 (18:05 +0000)]
Hups, Http11NioProcessor need FirstReadTimeout at strange way.. Sorry!

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

18 years agoRemove unused local variable step
pero [Fri, 18 May 2007 18:01:34 +0000 (18:01 +0000)]
Remove unused local variable step

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

18 years agoRemove unsused firstReadTimeout attribute
pero [Fri, 18 May 2007 17:57:16 +0000 (17:57 +0000)]
Remove unsused firstReadTimeout attribute
Set correct default pollerThreadCount

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

18 years agoAdd selectorTimeout default and a lot of value formatings.
pero [Fri, 18 May 2007 08:50:57 +0000 (08:50 +0000)]
Add selectorTimeout default and a lot of value formatings.

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

18 years agoleft overs
fhanik [Thu, 17 May 2007 18:28:35 +0000 (18:28 +0000)]
left overs

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

18 years agominor optimizations
fhanik [Thu, 17 May 2007 15:43:49 +0000 (15:43 +0000)]
minor optimizations

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

18 years agoAdd locks instead of synchronized statements to avoid issues between receiving and...
fhanik [Thu, 17 May 2007 13:45:15 +0000 (13:45 +0000)]
Add locks instead of synchronized statements to avoid issues between receiving and sending

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

18 years agoAdded in a unit test for ordering messages
fhanik [Thu, 17 May 2007 13:19:59 +0000 (13:19 +0000)]
Added in a unit test for ordering messages

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

18 years agoAvoid concurrent mod exception, remove from the iterator instead
fhanik [Thu, 17 May 2007 11:47:50 +0000 (11:47 +0000)]
Avoid concurrent mod exception, remove from the iterator instead

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

18 years agoMake sure to respect the option flag, otherwise you must order everything
fhanik [Mon, 14 May 2007 12:25:21 +0000 (12:25 +0000)]
Make sure to respect the option flag, otherwise you must order everything

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

18 years agoFix bug 42401. Provide better JRE/JDK information.
markt [Sat, 12 May 2007 21:11:40 +0000 (21:11 +0000)]
Fix bug 42401. Provide better JRE/JDK information.

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

18 years agoUpdate context info
markt [Fri, 11 May 2007 23:06:47 +0000 (23:06 +0000)]
Update context info

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

18 years agoAdded in actions for the new Comet methods
fhanik [Thu, 10 May 2007 16:43:31 +0000 (16:43 +0000)]
Added in actions for the new Comet methods

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

18 years agoadded in unregister
fhanik [Thu, 10 May 2007 15:58:29 +0000 (15:58 +0000)]
added in unregister

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

18 years agoAdd in getters
fhanik [Thu, 10 May 2007 15:24:51 +0000 (15:24 +0000)]
Add in getters
Also change name from pluralis to CometOperation

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

18 years agofeedback incorporated
fhanik [Thu, 10 May 2007 12:41:42 +0000 (12:41 +0000)]
feedback incorporated

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

18 years agoUse "%r" and single quotes.
jfclere [Thu, 10 May 2007 12:29:41 +0000 (12:29 +0000)]
Use "%r" and single quotes.

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

18 years agooops, forgot these
fhanik [Thu, 10 May 2007 11:49:09 +0000 (11:49 +0000)]
oops, forgot these

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

18 years agoNew proposed API calls for Comet
fhanik [Thu, 10 May 2007 11:30:29 +0000 (11:30 +0000)]
New proposed API calls for Comet

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

18 years agoSeparate out read vs write latches, simplify implementation, avoid concurrency issues...
fhanik [Wed, 9 May 2007 16:46:06 +0000 (16:46 +0000)]
Separate out read vs write latches, simplify implementation, avoid concurrency issues and prepare for new comet strategies

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

18 years agobad link : s/tomcat-docs/docs/
funkman [Wed, 9 May 2007 14:53:40 +0000 (14:53 +0000)]
bad link : s/tomcat-docs/docs/

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

18 years agovolatile should ensure double locking to work properly
fhanik [Wed, 9 May 2007 14:18:25 +0000 (14:18 +0000)]
volatile should ensure double locking to work properly

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

18 years agoFix binaries by using /D_UNICODE for library as well.
mturk [Wed, 9 May 2007 13:54:04 +0000 (13:54 +0000)]
Fix binaries by using /D_UNICODE for library as well.

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