fhanik [Mon, 28 May 2007 14:34:09 +0000 (14:34 +0000)]
set timeout can be called any time, at least for now
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@542238
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Mon, 28 May 2007 14:18:04 +0000 (14:18 +0000)]
configure can be called as long as we are on a tomcat thread, not in the begin stage
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@542235
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Mon, 28 May 2007 11:40:28 +0000 (11:40 +0000)]
remove usage of timeout attribute
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@542209
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Mon, 28 May 2007 11:39:15 +0000 (11:39 +0000)]
Implement setTimeout using an Action instead of an attribute
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@542208
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Mon, 28 May 2007 11:38:30 +0000 (11:38 +0000)]
update to test cases, no change really
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@542207
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Mon, 28 May 2007 11:04:00 +0000 (11:04 +0000)]
CometProcessor should extend servlet, as they have the regular servlet lifecycle
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@542195
13f79535-47bb-0310-9956-
ffa450edef68
remm [Mon, 28 May 2007 10:35:32 +0000 (10:35 +0000)]
- Switch from AnnotationProcessor to InstanceManager.
- Submitted by David Jecks, with some modifications: package names, addition of an extra method to allow
injecting already instantiated objects, and a system property in Jasper (to specify to use the instance manager
to create tag instances).
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@542189
13f79535-47bb-0310-9956-
ffa450edef68
remm [Mon, 28 May 2007 10:06:31 +0000 (10:06 +0000)]
- Redo findSessions which was outdated (42530 claims concurrency problems that I can't reproduce).
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@542185
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Thu, 24 May 2007 15:47:29 +0000 (15:47 +0000)]
Add in support to check if the current thread is a Tomcat 'worker' thread or not, that way we can decide if the invokations are appropriate or not
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@541337
13f79535-47bb-0310-9956-
ffa450edef68
mturk [Thu, 24 May 2007 06:56:59 +0000 (06:56 +0000)]
Automatically detect CPU and 64-bit JVM version. This allows to install the proper service wrapper for the JVM and CPU used.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@541206
13f79535-47bb-0310-9956-
ffa450edef68
mturk [Thu, 24 May 2007 06:54:44 +0000 (06:54 +0000)]
Add windows service binaries to the .zip distribution.
The rule can be excluded by defining exclude.service.binaries in build.properties file.
Service binaries included are for all platforms WIN32 and WIN64.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@541204
13f79535-47bb-0310-9956-
ffa450edef68
fcarrion [Wed, 23 May 2007 03:56:10 +0000 (03:56 +0000)]
Correction Bug 42436 patch from Paul McMahan
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@540832
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Tue, 22 May 2007 20:04:23 +0000 (20:04 +0000)]
added some docs around the maven stuff
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@540729
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Tue, 22 May 2007 18:40:23 +0000 (18:40 +0000)]
Added in dbcp and cleanup for signatures, as signing fails when the file already exists
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@540692
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Tue, 22 May 2007 16:26:02 +0000 (16:26 +0000)]
Added in build package using Maven ANT tasks and that signs our JARs with GPG as well.
Almost there
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@540638
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Tue, 22 May 2007 15:52:14 +0000 (15:52 +0000)]
Added domain membership test
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@540616
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Tue, 22 May 2007 09:55:05 +0000 (09:55 +0000)]
update docs
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@540513
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Tue, 22 May 2007 09:54:20 +0000 (09:54 +0000)]
update docs
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@540512
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Mon, 21 May 2007 14:08:04 +0000 (14:08 +0000)]
forward port
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@540149
13f79535-47bb-0310-9956-
ffa450edef68
remm [Mon, 21 May 2007 10:46:17 +0000 (10:46 +0000)]
- Create a new branch for HEAD development, to be
branched later to https://svn.apache.org/repos/asf/tomcat/tcX.Y.x/trunk.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@540106
13f79535-47bb-0310-9956-
ffa450edef68
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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