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

18 years ago- Add code to check that at least one read is made that goes down to the connector...
remm [Fri, 27 Apr 2007 22:03:57 +0000 (22:03 +0000)]
- Add code to check that at least one read is made that goes down to the connector for each read event.
- It is an error to not read bytes as long as some are reported as available.
- Generate a read event if bytes are available after processing the begin event (for API lawyers out there).
- Not tested yet, sorry. In theory, previously working code shouldn't have to be modified at all.

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

18 years ago- Add an explicit check for null (it's there in the facades ...).
remm [Fri, 27 Apr 2007 22:00:40 +0000 (22:00 +0000)]
- Add an explicit check for null (it's there in the facades ...).

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

18 years agoUndo Pero's checkin, sorry Peter, just can't have it in there until the solution...
fhanik [Fri, 27 Apr 2007 19:40:21 +0000 (19:40 +0000)]
Undo Pero's checkin, sorry Peter, just can't have it in there until the solution is more robust, although I don't think it will ever be implemented in association with memberships
For now, senders that are no longer connected on the remote end, will be removed during the keepalive heartbeat

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

18 years ago- Add more accurate available() method, using a new action (still very cheap to invok...
remm [Fri, 27 Apr 2007 17:04:36 +0000 (17:04 +0000)]
- Add more accurate available() method, using a new action (still very cheap to invoke, and quite simple).
- This is mostly useful for Comet, since it can be difficult to know for sure if reading is possible without
  blocking if the beginning of the entity body was sent along with the request header in a single packet.

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

18 years agoRemove call to remove clear connections upon a member disappeared event, this call...
fhanik [Fri, 27 Apr 2007 03:14:58 +0000 (03:14 +0000)]
Remove call to remove clear connections upon a member disappeared event, this call is exposed higher in the API and should be controlled by the application

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

18 years agoRemove senders as member disappeared..
pero [Thu, 26 Apr 2007 21:41:47 +0000 (21:41 +0000)]
Remove senders as member disappeared..

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

18 years agoAdd heartbeatBackgroundEnabled to enable channel heartbeat call.
pero [Thu, 26 Apr 2007 21:09:41 +0000 (21:09 +0000)]
Add heartbeatBackgroundEnabled to enable channel heartbeat call.
Don't forget to disable the GroupChannel heartbeat thread.
Default is false.

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

18 years agoChange the name to a more appropriate name
fhanik [Thu, 26 Apr 2007 16:52:29 +0000 (16:52 +0000)]
Change the name to a more appropriate name

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

18 years agoremove unused flag!
pero [Thu, 26 Apr 2007 04:58:20 +0000 (04:58 +0000)]
remove unused flag!

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

18 years ago- Changelog update for 6.0.12.
remm [Wed, 25 Apr 2007 19:57:45 +0000 (19:57 +0000)]
- Changelog update for 6.0.12.

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

18 years ago- Session expiration and statistics tools.
remm [Wed, 25 Apr 2007 19:56:25 +0000 (19:56 +0000)]
- Session expiration and statistics tools.
- Submitted by Rainer Jung.

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

18 years ago- Update for the timeout configuration.
remm [Wed, 25 Apr 2007 19:35:34 +0000 (19:35 +0000)]
- Update for the timeout configuration.

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

18 years agoImplement keep alive timeout logic
fhanik [Wed, 25 Apr 2007 18:29:50 +0000 (18:29 +0000)]
Implement keep alive timeout logic

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

18 years agofix heartbeat
fhanik [Wed, 25 Apr 2007 18:03:18 +0000 (18:03 +0000)]
fix heartbeat

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

18 years agoChange latch behavior so that it can coexist with other IO events
fhanik [Wed, 25 Apr 2007 17:19:18 +0000 (17:19 +0000)]
Change latch behavior so that it can coexist with other IO events

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

18 years ago- Remove fixme for the timeout hack. I think this timeout has a lot in common with...
remm [Wed, 25 Apr 2007 16:48:19 +0000 (16:48 +0000)]
- Remove fixme for the timeout hack. I think this timeout has a lot in common with the keep alive value in terms of
  resource use, so the normal behavior seems good enough.

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

18 years agoFix error handling when a single failure occurs
fhanik [Wed, 25 Apr 2007 16:16:37 +0000 (16:16 +0000)]
Fix error handling when a single failure occurs

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

18 years agoreset timeout counter upon registration
fhanik [Tue, 24 Apr 2007 21:42:00 +0000 (21:42 +0000)]
reset timeout counter upon registration

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

18 years ago- This error shouldn't happen, and it's out of the servlet, so it is not going to...
remm [Tue, 24 Apr 2007 16:53:00 +0000 (16:53 +0000)]
- This error shouldn't happen, and it's out of the servlet, so it is not going to be possible to send another event.

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

18 years ago- 42202: Fix a problem handling %xx encoded URLs (unfortunately, some are encoded...
remm [Tue, 24 Apr 2007 13:42:07 +0000 (13:42 +0000)]
- 42202: Fix a problem handling %xx encoded URLs (unfortunately, some are encoded - the webapp CL and the system CL -
  and some are not - the URL CL).

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

18 years ago- Port Mark's patch.
remm [Tue, 24 Apr 2007 12:24:34 +0000 (12:24 +0000)]
- Port Mark's patch.

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

18 years agoadd enabled attribute to support JMX enable/disable logging.
pero [Mon, 23 Apr 2007 14:17:49 +0000 (14:17 +0000)]
add enabled attribute to support JMX enable/disable logging.

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

18 years agomove to correct release, sorry!
pero [Mon, 23 Apr 2007 14:15:42 +0000 (14:15 +0000)]
move to correct release, sorry!

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

18 years agoAdd toString method to better logging support.
pero [Mon, 23 Apr 2007 14:11:44 +0000 (14:11 +0000)]
Add toString method to better logging support.

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

18 years ago- Proposed refactoring of dispatcher logging (remove some "I can't use a debugger...
remm [Mon, 23 Apr 2007 10:30:02 +0000 (10:30 +0000)]
- Proposed refactoring of dispatcher logging (remove some "I can't use a debugger" style logging as well).

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

18 years ago- Fix license headers.
remm [Mon, 23 Apr 2007 00:26:39 +0000 (00:26 +0000)]
- Fix license headers.
- Submitted by Niall Pemberton.

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

18 years ago- Fix license headers.
remm [Mon, 23 Apr 2007 00:26:10 +0000 (00:26 +0000)]
- Fix license headers.
- Submitted by Niall Pemberton.

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

18 years ago- Fix license headers.
remm [Mon, 23 Apr 2007 00:24:01 +0000 (00:24 +0000)]
- Fix license headers.
- Submitted by Niall Pemberton.

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

18 years ago- Fix license headers.
remm [Mon, 23 Apr 2007 00:19:33 +0000 (00:19 +0000)]
- Fix license headers.
- Submitted by Niall Pemberton.

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

18 years agoAdd Missing isInfoEnabled checks
pero [Sat, 21 Apr 2007 21:51:19 +0000 (21:51 +0000)]
Add Missing isInfoEnabled checks
No functional change

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

18 years agoRemove unused field and at copyright!
pero [Sat, 21 Apr 2007 20:07:17 +0000 (20:07 +0000)]
Remove unused field and at copyright!

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

18 years agofix :-)
pero [Sat, 21 Apr 2007 18:56:27 +0000 (18:56 +0000)]
fix :-)

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

18 years agoAdd Missing isInfoEnabled checks
pero [Sat, 21 Apr 2007 18:54:48 +0000 (18:54 +0000)]
Add Missing isInfoEnabled checks
No functional change

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

18 years agoAdd Missing isInfoEnabled checks
pero [Sat, 21 Apr 2007 18:53:12 +0000 (18:53 +0000)]
Add Missing isInfoEnabled checks
No functional change

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

18 years ago- Add the comet valve (commented out).
remm [Thu, 19 Apr 2007 21:45:30 +0000 (21:45 +0000)]
- Add the comet valve (commented out).

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

18 years agoComplete fix for 41655.
markt [Thu, 19 Apr 2007 02:58:35 +0000 (02:58 +0000)]
Complete fix for 41655.

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

18 years agoFix bug 42071 - ISE on multiple UnavailableExceptions.
markt [Thu, 19 Apr 2007 02:28:08 +0000 (02:28 +0000)]
Fix bug 42071 - ISE on multiple UnavailableExceptions.
Allow recovery after an UnavailableException

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

18 years ago- Remove some attributes.
remm [Thu, 19 Apr 2007 02:18:33 +0000 (02:18 +0000)]
- Remove some attributes.

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

18 years agodefault is not javac but the JDT compiler (See doc).
jfclere [Wed, 18 Apr 2007 12:44:41 +0000 (12:44 +0000)]
default is not javac but the JDT compiler (See doc).

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

18 years agoRevert previous fix for 41869 and apply Remy's suggested fix.
markt [Wed, 18 Apr 2007 01:30:25 +0000 (01:30 +0000)]
Revert previous fix for 41869 and apply Remy's suggested fix.

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

18 years agoFix bug 41869. TagData.getAttribute() should return TagData.REQUEST_TIME_VALUE when...
markt [Wed, 18 Apr 2007 00:32:36 +0000 (00:32 +0000)]
Fix bug 41869. TagData.getAttribute() should return TagData.REQUEST_TIME_VALUE when the attribute value is an EL expression.

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

18 years ago- Protect about possible issues calling toString in escapeXml(Object).
remm [Tue, 17 Apr 2007 14:10:07 +0000 (14:10 +0000)]
- Protect about possible issues calling toString in escapeXml(Object).

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

18 years ago- Code cleanup (less thread local manipulation).
remm [Tue, 17 Apr 2007 01:52:50 +0000 (01:52 +0000)]
- Code cleanup (less thread local manipulation).
- Submitted by Arvind Srinivasan.

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

18 years ago- Merge changes to the other protocols, to fix leaking when using an executor (for...
remm [Tue, 17 Apr 2007 01:50:35 +0000 (01:50 +0000)]
- Merge changes to the other protocols, to fix leaking when using an executor (for java.io, not using a thread local
  has no performance impact).
- Harmonize properties between the 4 protocols.

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

18 years ago- Add session browser capabilities in the manager. Let me know if it creates problems...
remm [Mon, 16 Apr 2007 23:30:55 +0000 (23:30 +0000)]
- Add session browser capabilities in the manager. Let me know if it creates problems (I checked XSS to some extent to,
  but please double check if you can).
- Submitted by Cédrik Lime.

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

18 years ago- Add session browser capabilities in the manager. Let me know if it creates problems...
remm [Mon, 16 Apr 2007 23:30:24 +0000 (23:30 +0000)]
- Add session browser capabilities in the manager. Let me know if it creates problems (I checked XSS to some extent to,
  but please double check if you can).
- Submitted by Cédrik Lime.

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

18 years ago- Add session browser capabilities in the manager. Let me know if it creates problems...
remm [Mon, 16 Apr 2007 23:30:03 +0000 (23:30 +0000)]
- Add session browser capabilities in the manager. Let me know if it creates problems (I checked XSS to some extent to,
  but please double check if you can).
- Submitted by Cédrik Lime.

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

18 years ago- Fix links (42130).
remm [Mon, 16 Apr 2007 22:59:24 +0000 (22:59 +0000)]
- Fix links (42130).

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

18 years ago- Fix links (42130).
remm [Mon, 16 Apr 2007 22:59:03 +0000 (22:59 +0000)]
- Fix links (42130).

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

18 years ago- Update path (part of 42130).
remm [Mon, 16 Apr 2007 21:01:16 +0000 (21:01 +0000)]
- Update path (part of 42130).

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

18 years ago- Update path (part of 42130).
remm [Mon, 16 Apr 2007 21:00:52 +0000 (21:00 +0000)]
- Update path (part of 42130).

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

18 years ago- Port changes from the NIO connector to the APR connector, to resolve memory leaking...
remm [Mon, 16 Apr 2007 16:14:47 +0000 (16:14 +0000)]
- Port changes from the NIO connector to the APR connector, to resolve memory leaking when using an executor (note:
  when not using an executor, no memory leak could occur).
- Discard thread local usage altogether, as my testing did not show a measurable performance difference. I don't know
  if this would change when scaling up the number of CPUs (if anyone wants to test).
- No size limit by default, since this is mechanically limited (amount of threads + open comet connections).
- Harmonize code with the HTTP/1.1 connector.

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

18 years agoFix bug 41990. Add some new mime-type mappings.
markt [Sun, 15 Apr 2007 20:04:25 +0000 (20:04 +0000)]
Fix bug 41990. Add some new mime-type mappings.

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

18 years agoFix bug 42025. Refer to correct regular expression implementation
markt [Sun, 15 Apr 2007 19:26:34 +0000 (19:26 +0000)]
Fix bug 42025. Refer to correct regular expression implementation

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

18 years agoUpdate change log. Move post 6.0.11 change to correct section.
markt [Sun, 15 Apr 2007 17:46:17 +0000 (17:46 +0000)]
Update change log. Move post 6.0.11 change to correct section.

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

18 years agoFix bug 42039. Log a stack trace if a servlet throws an UnavailableException. Patch...
markt [Sun, 15 Apr 2007 17:45:34 +0000 (17:45 +0000)]
Fix bug 42039. Log a stack trace if a servlet throws an UnavailableException. Patch provided by Kawasima Kazuh
Remove some unused code.

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

18 years agoRemove old, unused utility methods.
markt [Sun, 15 Apr 2007 00:24:49 +0000 (00:24 +0000)]
Remove old, unused utility methods.

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

18 years agoFix bug 42119 using approach suggested by Leigh L Klotz Jr of using RequestUtil imple...
markt [Sun, 15 Apr 2007 00:22:47 +0000 (00:22 +0000)]
Fix bug 42119 using approach suggested by Leigh L Klotz Jr of using RequestUtil implementation.

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

18 years agoremove comments
fhanik [Sat, 14 Apr 2007 17:06:10 +0000 (17:06 +0000)]
remove comments

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

18 years agoremove duplicate code, cause of all my headaches
fhanik [Sat, 14 Apr 2007 16:47:20 +0000 (16:47 +0000)]
remove duplicate code, cause of all my headaches

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

18 years agoRevert to revision 528735, something is broken and I'm losing my mind
fhanik [Sat, 14 Apr 2007 16:31:45 +0000 (16:31 +0000)]
Revert to revision 528735, something is broken and I'm losing my mind

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

18 years agooops, didn't mean to make that into the prev commit
fhanik [Sat, 14 Apr 2007 15:02:21 +0000 (15:02 +0000)]
oops, didn't mean to make that into the prev commit

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

18 years agoconsolidate methods into one
fhanik [Sat, 14 Apr 2007 15:02:02 +0000 (15:02 +0000)]
consolidate methods into one

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

18 years agoapply the right exit condition
fhanik [Sat, 14 Apr 2007 14:39:22 +0000 (14:39 +0000)]
apply the right exit condition

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

18 years agominor optimization, go directly to the poller, chances of another request being prese...
fhanik [Sat, 14 Apr 2007 03:45:41 +0000 (03:45 +0000)]
minor optimization, go directly to the poller, chances of another request being present at that very time is very slim

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

18 years agoMinor optimizations
fhanik [Sat, 14 Apr 2007 02:48:45 +0000 (02:48 +0000)]
Minor optimizations

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

18 years agoSmarter executor, only create threads if no threads are available
fhanik [Sat, 14 Apr 2007 01:41:35 +0000 (01:41 +0000)]
Smarter executor, only create threads if no threads are available

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

18 years agoAdded a TCP ping for membership, to be used with static memberships and with the...
fhanik [Fri, 13 Apr 2007 23:26:07 +0000 (23:26 +0000)]
Added a TCP ping for membership, to be used with static memberships and with the TCP failure detector

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

18 years agoremove redundant calls, easier to track usage
fhanik [Fri, 13 Apr 2007 19:16:08 +0000 (19:16 +0000)]
remove redundant calls, easier to track usage

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

18 years agoconsolidate usage between executor runnables and worker threads
fhanik [Fri, 13 Apr 2007 19:05:01 +0000 (19:05 +0000)]
consolidate usage between executor runnables and worker threads

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

18 years agoUse the remaining for the byte buffer as the capacity is the total capacity and not...
fhanik [Fri, 13 Apr 2007 18:08:43 +0000 (18:08 +0000)]
Use the remaining for the byte buffer as the capacity is the total capacity and not the limit

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

18 years agoprevent a timeout when a servlet write is issued, but not flushed
fhanik [Fri, 13 Apr 2007 16:51:54 +0000 (16:51 +0000)]
prevent a timeout when a servlet write is issued, but not flushed

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

18 years agoPrevent NPE on a key that was cancelled by the poller
fhanik [Fri, 13 Apr 2007 15:39:44 +0000 (15:39 +0000)]
Prevent NPE on a key that was cancelled by the poller

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

18 years agoif the flush is not guaranteed, then try again
fhanik [Fri, 13 Apr 2007 15:33:44 +0000 (15:33 +0000)]
if the flush is not guaranteed, then try again

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

18 years agoThis write has to be synchronized since comet can write to the buffer and cause a...
fhanik [Fri, 13 Apr 2007 15:32:19 +0000 (15:32 +0000)]
This write has to be synchronized since comet can write to the buffer and cause a buffer overflow if more than one thread is writing

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