tomcat7.0
18 years agoDon't write error on System.out, use log() instead.
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

18 years agoBZ 39813: Correct handling of new line characters in JMX attributes.
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

18 years agoBZ 42803
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

18 years agoForce closure of connections upon a server shutdown
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

18 years agoBugzilla 42753
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

18 years agotry setting equalness to false, see if we can do better
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

18 years agoSame fix as for 6.0 branch, invoke error if the read did not empty the buffer
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

18 years agoporting AJP large-file support from 5.5
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

18 years agofix formatting for latest added example
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

18 years agoAdded in AJAX with delayed response example
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

18 years agominor correction
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

18 years agoPorting large-file support for the AJP Connectors from 5.5
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

18 years agoadded simple example code snippets to comet usage
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

18 years agosimplify API a bit based on feedback
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

18 years agofix for BZ 42650
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

18 years agoFix for BZ 42648
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

18 years agooops, didn't mean to relax the close method
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

18 years agoAdded some doco
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

18 years agominor optimization to the blocking selector
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

18 years agoCancel the blocking key only, no need to cancel anything else here
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

18 years agoadded debug statement instead of swallowing
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

18 years agostraightened out buffer handling
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

18 years agonotes, still need some work on the write to socket
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

18 years agoSimplified the API, no need for the IOExceptions
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

18 years agoadded cleanup code
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

18 years agoThread safe handling of dealing with async writes and non blocking writes, needed...
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

18 years agoForward port of BZ 42509 and BZ 42515
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

18 years agoremove not used, at least until I've figured out the concurrency issue around the...
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

18 years agorestore original interest ops
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

18 years agoconsolidate the usage of the NioChannel buffers
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

18 years agorearrange
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

18 years ago1. Timeouts are now per connection, not using fixed timeouts anywhere. by default...
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

18 years agoreturn the amount of bytes written
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

18 years agoadd brackets to clarify what were trying to do
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

18 years agoimplement CALLBACK and WRITE events
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

18 years agosimplify register and poller interest for comet, all can be done in one call
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

18 years agono need to sync here, the poller will dispatch for handling anyway
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

18 years agosetup default operation
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

18 years agoWhen using a comet connection, register the requested operations instead of the defau...
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

18 years agoadded in some comments
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

18 years agoquestion mark has to be a global variable
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

18 years agoimplement non blocking reading of the request line
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

18 years agoThe protocol class will register the socket with the poller for another read event
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

18 years agoMake the new way of handling processors work with the ability to read headers in...
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

18 years agoimplement comet operation notification
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

18 years agoonly notify the poller if it is done async, otherwise we don't need to, it will be...
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

18 years agoBlocking and non blocking is the only configuration option right now,
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

18 years agosimplify isreadable and iswriteable
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

18 years agoadopted changes
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

18 years agoAdd the additional SocketStatus event types, its up to the connector implementation...
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

18 years agoAdded in the registration of comet interest operations
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

18 years agoadd in flags for readable or writeable
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

18 years agoimplement method callbacks
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

18 years agocleanup
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

18 years agoset timeout can be called any time, at least for now
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

18 years agoconfigure can be called as long as we are on a tomcat thread, not in the begin stage
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

18 years agoremove usage of timeout attribute
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

18 years agoImplement setTimeout using an Action instead of an attribute
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

18 years agoupdate to test cases, no change really
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

18 years agoCometProcessor should extend servlet, as they have the regular servlet lifecycle
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

18 years ago- Switch from AnnotationProcessor to InstanceManager.
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

18 years ago- Redo findSessions which was outdated (42530 claims concurrency problems that I...
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

18 years agoAdd in support to check if the current thread is a Tomcat 'worker' thread or not...
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

18 years agoAutomatically detect CPU and 64-bit JVM version. This allows to install the proper...
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

18 years agoAdd windows service binaries to the .zip distribution.
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

18 years agoCorrection Bug 42436 patch from Paul McMahan
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

18 years agoadded some docs around the maven stuff
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

18 years agoAdded in dbcp and cleanup for signatures, as signing fails when the file already...
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

18 years agoAdded in build package using Maven ANT tasks and that signs our JARs with GPG as...
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

18 years agoAdded domain membership test
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

18 years agoupdate docs
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

18 years agoupdate docs
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

18 years agoforward port
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

18 years ago- Create a new branch for HEAD development, to be
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

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