fhanik [Thu, 9 Aug 2007 23:44:52 +0000 (23:44 +0000)]
Make sure when a session becomes primary that its timeout value is reset, otherwise we can have unexpected session expirations
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@564426
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Thu, 9 Aug 2007 23:24:20 +0000 (23:24 +0000)]
must set the primary in all locations
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@564420
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Thu, 9 Aug 2007 19:54:51 +0000 (19:54 +0000)]
more fixes, same bz
http://issues.apache.org/bugzilla/show_bug.cgi?id=43053
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@564360
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Thu, 9 Aug 2007 19:52:08 +0000 (19:52 +0000)]
make the backup node become the primary so that we can still expire sessions
http://issues.apache.org/bugzilla/show_bug.cgi?id=43053
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@564358
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Thu, 9 Aug 2007 19:45:53 +0000 (19:45 +0000)]
If there is no primary node, then let the expiration time apply to the backup node
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@564356
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Thu, 9 Aug 2007 19:40:31 +0000 (19:40 +0000)]
remove proxies without primary or backups, only backup expiration handling left
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@564354
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Thu, 9 Aug 2007 18:47:22 +0000 (18:47 +0000)]
if primary member disappears, remove the entry in the hashmap
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@564337
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Thu, 9 Aug 2007 18:43:12 +0000 (18:43 +0000)]
Publish primary node information as well
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@564335
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Thu, 9 Aug 2007 02:06:32 +0000 (02:06 +0000)]
remove throwing of exceptions, handle everything inside the JMX helper
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@564074
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Thu, 9 Aug 2007 01:58:50 +0000 (01:58 +0000)]
remove not used fields
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@564071
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Thu, 9 Aug 2007 01:54:34 +0000 (01:54 +0000)]
Setup framework for cluster JMX operations
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@564069
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Wed, 8 Aug 2007 16:00:07 +0000 (16:00 +0000)]
forward port from 6.0
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@563925
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Tue, 7 Aug 2007 15:48:08 +0000 (15:48 +0000)]
Don't send out if there are no members
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@563534
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Mon, 6 Aug 2007 23:49:46 +0000 (23:49 +0000)]
forward port from markt bug fixes in 6.0.x branch
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@563344
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Mon, 6 Aug 2007 23:19:17 +0000 (23:19 +0000)]
Improve upon poller timeout handling, to not waste cycles running the timeout setting too often
same fix as 6.0.x
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@563330
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Fri, 3 Aug 2007 21:40:20 +0000 (21:40 +0000)]
Forward port from 6.0
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@562594
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Tue, 31 Jul 2007 13:38:23 +0000 (13:38 +0000)]
forward port from 6.0
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@561328
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Fri, 27 Jul 2007 23:38:19 +0000 (23:38 +0000)]
Added missing attribute to the docs
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@560422
13f79535-47bb-0310-9956-
ffa450edef68
rjung [Sun, 22 Jul 2007 18:29:59 +0000 (18:29 +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/trunk@558522
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Fri, 20 Jul 2007 22:41:17 +0000 (22:41 +0000)]
missing import
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@558184
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Fri, 20 Jul 2007 22:36:07 +0000 (22:36 +0000)]
upsync from 6.0
http://svn.apache.org/viewvc?view=rev&rev=557454
http://svn.apache.org/viewvc?view=rev&rev=557467
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@558182
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Fri, 20 Jul 2007 22:31:38 +0000 (22:31 +0000)]
up sync from 6.0
http://svn.apache.org/viewvc?view=rev&rev=556453
http://svn.apache.org/viewvc?view=rev&rev=556489
http://svn.apache.org/viewvc?view=rev&rev=556767
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@558181
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Fri, 20 Jul 2007 22:29:12 +0000 (22:29 +0000)]
up sync from 6.0
http://svn.apache.org/viewvc?view=rev&rev=555310
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@558179
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Fri, 20 Jul 2007 22:28:05 +0000 (22:28 +0000)]
up sync from 6.0
http://svn.apache.org/viewvc?view=rev&rev=554814
http://svn.apache.org/viewvc?view=rev&rev=555304
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@558178
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Fri, 20 Jul 2007 22:24:26 +0000 (22:24 +0000)]
sync up from 6.0
http://svn.apache.org/viewvc?view=rev&rev=553716
http://svn.apache.org/viewvc?view=rev&rev=554109
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@558177
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Fri, 20 Jul 2007 22:18:27 +0000 (22:18 +0000)]
syncing up from 6.0
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@558176
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Fri, 20 Jul 2007 20:44:08 +0000 (20:44 +0000)]
synch from 6.0
http://svn.apache.org/viewvc?view=rev&rev=543307
http://svn.apache.org/viewvc?view=rev&rev=553410
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@558127
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Fri, 20 Jul 2007 00:21:23 +0000 (00:21 +0000)]
forward port from 6.0
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@557822
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Thu, 19 Jul 2007 16:28:04 +0000 (16:28 +0000)]
forward port from 6.0
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@557679
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Thu, 19 Jul 2007 14:21:35 +0000 (14:21 +0000)]
BZ 42937, forward port from 6.0
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@557638
13f79535-47bb-0310-9956-
ffa450edef68
rjung [Sun, 15 Jul 2007 17:03:25 +0000 (17:03 +0000)]
Correct j.u.l log levels in JULI docs.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@556431
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Mon, 9 Jul 2007 20:52:52 +0000 (20:52 +0000)]
Fix BZ 42840
http://issues.apache.org/bugzilla/show_bug.cgi?id=42840
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@554762
13f79535-47bb-0310-9956-
ffa450edef68
rjung [Mon, 9 Jul 2007 09:49:18 +0000 (09:49 +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/trunk@554588
13f79535-47bb-0310-9956-
ffa450edef68
rjung [Mon, 9 Jul 2007 09:05:54 +0000 (09:05 +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/trunk@554577
13f79535-47bb-0310-9956-
ffa450edef68
rjung [Mon, 9 Jul 2007 08:59:33 +0000 (08:59 +0000)]
Don't write error on System.out, use log() instead.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@554571
13f79535-47bb-0310-9956-
ffa450edef68
rjung [Mon, 9 Jul 2007 08:45:22 +0000 (08:45 +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/trunk@554563
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Tue, 3 Jul 2007 13:31:05 +0000 (13:31 +0000)]
BZ 42803
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@552838
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Mon, 2 Jul 2007 18:46:20 +0000 (18:46 +0000)]
Force closure of connections upon a server shutdown
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@552560
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Fri, 29 Jun 2007 13:07:27 +0000 (13:07 +0000)]
Bugzilla 42753
Same fix as 6.0 branch
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@551881
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Thu, 28 Jun 2007 21:21:37 +0000 (21:21 +0000)]
try setting equalness to false, see if we can do better
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@551702
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Thu, 28 Jun 2007 18:41:00 +0000 (18:41 +0000)]
Same fix as for 6.0 branch, invoke error if the read did not empty the buffer
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@551656
13f79535-47bb-0310-9956-
ffa450edef68
billbarker [Sun, 24 Jun 2007 23:27:57 +0000 (23:27 +0000)]
porting AJP large-file support from 5.5
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@550299
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Fri, 15 Jun 2007 21:35:57 +0000 (21:35 +0000)]
fix formatting for latest added example
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@547794
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Fri, 15 Jun 2007 21:31:45 +0000 (21:31 +0000)]
Added in AJAX with delayed response example
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@547792
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Fri, 15 Jun 2007 21:27:12 +0000 (21:27 +0000)]
minor correction
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@547788
13f79535-47bb-0310-9956-
ffa450edef68
billbarker [Thu, 14 Jun 2007 02:55:26 +0000 (02:55 +0000)]
Porting large-file support for the AJP Connectors from 5.5
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@547096
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Wed, 13 Jun 2007 22:51:56 +0000 (22:51 +0000)]
added simple example code snippets to comet usage
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@547055
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Wed, 13 Jun 2007 18:51:38 +0000 (18:51 +0000)]
simplify API a bit based on feedback
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@546999
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Wed, 13 Jun 2007 17:05:14 +0000 (17:05 +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/trunk@546958
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Wed, 13 Jun 2007 16:55:27 +0000 (16:55 +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/trunk@546952
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Mon, 11 Jun 2007 12:11:20 +0000 (12:11 +0000)]
oops, didn't mean to relax the close method
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@546117
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Mon, 11 Jun 2007 11:53:47 +0000 (11:53 +0000)]
Added some doco
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@546108
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Fri, 8 Jun 2007 11:27:42 +0000 (11:27 +0000)]
minor optimization to the blocking selector
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@545479
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Fri, 8 Jun 2007 10:52:49 +0000 (10:52 +0000)]
Cancel the blocking key only, no need to cancel anything else here
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@545474
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Fri, 8 Jun 2007 10:22:50 +0000 (10:22 +0000)]
added debug statement instead of swallowing
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@545470
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Fri, 8 Jun 2007 10:18:21 +0000 (10:18 +0000)]
straightened out buffer handling
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@545469
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Thu, 7 Jun 2007 13:48:07 +0000 (13:48 +0000)]
notes, still need some work on the write to socket
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@545180
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Thu, 7 Jun 2007 12:15:22 +0000 (12:15 +0000)]
Simplified the API, no need for the IOExceptions
Updated documentation, added in some notes about life cycle, more source code examples to come
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@545151
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Fri, 1 Jun 2007 18:55:10 +0000 (18:55 +0000)]
added cleanup code
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@543576
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Fri, 1 Jun 2007 17:20:06 +0000 (17:20 +0000)]
Thread safe handling of dealing with async writes and non blocking writes, needed to separate it into a poller for incoming events and one poller for outgoing data
Not thread safe for multiple async servlet threads writing at the same time, up to the comet developer to set it straight
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@543538
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Fri, 1 Jun 2007 07:40:37 +0000 (07:40 +0000)]
Forward port of BZ 42509 and BZ 42515
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@543414
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Thu, 31 May 2007 19:55:12 +0000 (19:55 +0000)]
remove not used, at least until I've figured out the concurrency issue around the read/write
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@543237
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Thu, 31 May 2007 19:53:25 +0000 (19:53 +0000)]
restore original interest ops
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@543235
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Thu, 31 May 2007 19:44:27 +0000 (19:44 +0000)]
consolidate the usage of the NioChannel buffers
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@543228
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Thu, 31 May 2007 19:34:05 +0000 (19:34 +0000)]
rearrange
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@543227
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Thu, 31 May 2007 19:32:33 +0000 (19:32 +0000)]
1. Timeouts are now per connection, not using fixed timeouts anywhere. by default the connection gets the timeout defined in server.xml
2. Implemented all Comet operations, including the ability to have none
3. Implemented CometEvent.isReadable and isWriteable
isAvailable - means data is available to the servlet
isReadable - means there is data from the socket also checks the socket, by doing a read, in a non blocking fashion to verify this to be true
isWriteable - the last write attempted on this socket was 0, hence we are probably blocking
4. simplified CometEvent.register/unregister, they are now just one call and no syncs
5. After each event, the connection is registered with the same operations it had before
6. CoyoteAdapter respects when the servlet doesn't want to be notified of the READ event, hence it doesn't invoke it automatically
7. Let me know if MutableBoolean and MutableInteger should be elsewhere(in terms of package), they are used since ActionHook doesn't have a return value and also valuable in the output buffers since SSL writing is two steps, one through the engine and the other to the socket
I'm pretty happy with how isReadable,isWriteable works, they are completly non blocking and very accurate
True non blocking in the buffers and filters seems like a major surgery, still holding off on that.
Need to fix the NioBlockingSelector as it is almost impossible to make the poller interest declaration thread safe
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@543226
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Thu, 31 May 2007 11:51:34 +0000 (11:51 +0000)]
return the amount of bytes written
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@543117
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Thu, 31 May 2007 10:34:27 +0000 (10:34 +0000)]
add brackets to clarify what were trying to do
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@543107
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Thu, 31 May 2007 09:09:04 +0000 (09:09 +0000)]
implement CALLBACK and WRITE events
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@543091
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Thu, 31 May 2007 08:48:01 +0000 (08:48 +0000)]
simplify register and poller interest for comet, all can be done in one call
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@543086
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Wed, 30 May 2007 08:44:40 +0000 (08:44 +0000)]
no need to sync here, the poller will dispatch for handling anyway
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@542779
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Tue, 29 May 2007 22:23:36 +0000 (22:23 +0000)]
setup default operation
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@542678
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Tue, 29 May 2007 22:13:26 +0000 (22:13 +0000)]
When using a comet connection, register the requested operations instead of the default read
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@542674
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Tue, 29 May 2007 22:08:19 +0000 (22:08 +0000)]
added in some comments
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@542673
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Tue, 29 May 2007 22:04:24 +0000 (22:04 +0000)]
question mark has to be a global variable
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@542671
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Tue, 29 May 2007 21:53:52 +0000 (21:53 +0000)]
implement non blocking reading of the request line
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@542666
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Tue, 29 May 2007 20:52:25 +0000 (20:52 +0000)]
The protocol class will register the socket with the poller for another read event
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@542649
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Tue, 29 May 2007 20:26:49 +0000 (20:26 +0000)]
Make the new way of handling processors work with the ability to read headers in a non blocking way
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@542644
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Tue, 29 May 2007 18:41:07 +0000 (18:41 +0000)]
implement comet operation notification
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@542618
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Tue, 29 May 2007 18:04:51 +0000 (18:04 +0000)]
only notify the poller if it is done async, otherwise we don't need to, it will be done at the end of the request
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@542603
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Tue, 29 May 2007 17:52:36 +0000 (17:52 +0000)]
Blocking and non blocking is the only configuration option right now,
no need for the NO_IO option, as it can be controlled using the register/unregister options
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@542600
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Tue, 29 May 2007 16:54:27 +0000 (16:54 +0000)]
simplify isreadable and iswriteable
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@542589
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Tue, 29 May 2007 16:46:23 +0000 (16:46 +0000)]
adopted changes
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@542586
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Tue, 29 May 2007 10:44:51 +0000 (10:44 +0000)]
Add the additional SocketStatus event types, its up to the connector implementation to send the correct one.
Currently the functionality is backwards compatible as OPEN changed to OPEN_READ
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@542482
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Tue, 29 May 2007 10:29:25 +0000 (10:29 +0000)]
Added in the registration of comet interest operations
Added in PollerInterest enumeration to satisfy different socket implementations and to decouple org.apache.tomcat from org.apache.catalina
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@542479
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Mon, 28 May 2007 15:20:46 +0000 (15:20 +0000)]
add in flags for readable or writeable
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@542250
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Mon, 28 May 2007 15:16:13 +0000 (15:16 +0000)]
implement method callbacks
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@542247
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Mon, 28 May 2007 15:01:08 +0000 (15:01 +0000)]
cleanup
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@542244
13f79535-47bb-0310-9956-
ffa450edef68
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