tomcat7.0
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

18 years agoUpdate fixed binaries that will do a thread dump on stdout redirected file even if...
mturk [Wed, 9 May 2007 13:32:57 +0000 (13:32 +0000)]
Update fixed binaries that will do a thread dump on stdout redirected file even if the log level is < INFO

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

18 years agoArrange the default value of pattern.
jfclere [Wed, 9 May 2007 08:14:37 +0000 (08:14 +0000)]
Arrange the default value of pattern.

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

18 years agoFix bug 42361. Handle multi-part forms when saving request during FORM auth. Patch...
markt [Tue, 8 May 2007 23:58:24 +0000 (23:58 +0000)]
Fix bug 42361. Handle multi-part forms when saving request during FORM auth. Patch provided by Peter Runge.

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

18 years agoFix generics related warnings in o.a.c.authenticator package
markt [Tue, 8 May 2007 23:49:56 +0000 (23:49 +0000)]
Fix generics related warnings in o.a.c.authenticator package

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

18 years agomimic APR behavior and do stuff according to document, TIMEOUT should not close the...
fhanik [Tue, 8 May 2007 11:00:06 +0000 (11:00 +0000)]
mimic APR behavior and do stuff according to document, TIMEOUT should not close the connection

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

18 years ago- Avoid casting (no functional change).
remm [Mon, 7 May 2007 16:06:56 +0000 (16:06 +0000)]
- Avoid casting (no functional change).

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

18 years agoSet correct soLinger time
fhanik [Mon, 7 May 2007 13:44:13 +0000 (13:44 +0000)]
Set correct soLinger time

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

18 years agoset the correct so linger attribute
fhanik [Mon, 7 May 2007 11:35:38 +0000 (11:35 +0000)]
set the correct so linger attribute

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

18 years agoFix direct connect, which apparently happens on Solaris
fhanik [Mon, 7 May 2007 11:30:17 +0000 (11:30 +0000)]
Fix direct connect, which apparently happens on Solaris

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

18 years ago- Add back missing socketBuffer attribute.
remm [Sun, 6 May 2007 13:35:54 +0000 (13:35 +0000)]
- Add back missing socketBuffer attribute.

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

18 years agoPort updates for path usage limitations
markt [Sat, 5 May 2007 17:04:51 +0000 (17:04 +0000)]
Port updates for path usage limitations

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

18 years ago- Extras build update.
remm [Sat, 5 May 2007 01:26:05 +0000 (01:26 +0000)]
- Extras build update.
- Year update.

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

18 years ago- Use the main xml file for tasks.
remm [Fri, 4 May 2007 23:57:58 +0000 (23:57 +0000)]
- Use the main xml file for tasks.
- Submitted by Daniel Santos.

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

18 years ago- Changelog update.
remm [Fri, 4 May 2007 16:49:06 +0000 (16:49 +0000)]
- Changelog update.

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

18 years ago- Small javadoc update.
remm [Fri, 4 May 2007 16:46:47 +0000 (16:46 +0000)]
- Small javadoc update.

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

18 years ago- Add some xsds to the constants.
remm [Fri, 4 May 2007 00:19:56 +0000 (00:19 +0000)]
- Add some xsds to the constants.

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

18 years ago- Use the better IOException type (any other exception is totally unexpected).
remm [Fri, 4 May 2007 00:04:39 +0000 (00:04 +0000)]
- Use the better IOException type (any other exception is totally unexpected).

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

18 years ago- Remove the didRead flag (an error checking hack).
remm [Thu, 3 May 2007 23:54:31 +0000 (23:54 +0000)]
- Remove the didRead flag (an error checking hack).
- If there is a read event, do at least one read on the connector (the buffer is necessarily empty, otherwise
  there would have been an error during the previous read event).
- Side effect: EOFs can be reported using the END event, and exceptions can be reported as ERROR.

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

18 years agoFix the bug in AprLifecycleListener, the value of SSLEngine is never transferred...
fhanik [Thu, 3 May 2007 16:43:35 +0000 (16:43 +0000)]
Fix the bug in AprLifecycleListener, the value of SSLEngine is never transferred to the listener.
Patch submitted by mturk

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

18 years agoAbility to create a connector using a custom protocol specification for embedded.
fhanik [Thu, 3 May 2007 15:49:09 +0000 (15:49 +0000)]
Ability to create a connector using a custom protocol specification for embedded.
Fix for bug 42309

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

18 years agoSame fix as for the APR processor, although wouldn't this flag be set on the "recycle...
fhanik [Thu, 3 May 2007 02:35:56 +0000 (02:35 +0000)]
Same fix as for the APR processor, although wouldn't this flag be set on the "recycle" method

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

18 years ago- Recycle the comet flag (pretty large glitch ...).
remm [Thu, 3 May 2007 00:11:35 +0000 (00:11 +0000)]
- Recycle the comet flag (pretty large glitch ...).

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

18 years ago- Fix paths.
remm [Wed, 2 May 2007 14:51:32 +0000 (14:51 +0000)]
- Fix paths.
- Submitted by Frank McCown.

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

18 years ago- Add a flag to work around the double start problem for embedded (the most usual...
remm [Tue, 1 May 2007 16:31:58 +0000 (16:31 +0000)]
- Add a flag to work around the double start problem for embedded (the most usual problem is with contexts).

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

18 years ago- 42308: nextRequest recycles the request.
remm [Tue, 1 May 2007 12:46:12 +0000 (12:46 +0000)]
- 42308: nextRequest recycles the request.

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

18 years ago- Obvious typo in didRead. Ooops. Maybe Eclipse did that.
remm [Mon, 30 Apr 2007 23:39:41 +0000 (23:39 +0000)]
- Obvious typo in didRead. Ooops. Maybe Eclipse did that.
- Return 1 for available when using a Comet read and no real read was done (actually, it could well be good enough
  to only use didRead to get an "accurate" available() method, but it could probably be useful for blocking IO).

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

18 years ago- New read loop (much more conventional using the more accurate InputStream.available...
remm [Mon, 30 Apr 2007 23:36:10 +0000 (23:36 +0000)]
- New read loop (much more conventional using the more accurate InputStream.available() method).

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

18 years ago- Add socket to the poller after cleanup in the connection handler event method ...
remm [Sat, 28 Apr 2007 00:49:06 +0000 (00:49 +0000)]
- Add socket to the poller after cleanup in the connection handler event method (possible memory leak).

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