tomcat7.0
19 years ago- Also check the support attribute.
remm [Fri, 18 Aug 2006 11:33:12 +0000 (11:33 +0000)]
- Also check the support attribute.

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

19 years ago- Redo the class with a concurrent hash map (note: no idea at this point if it's...
remm [Thu, 17 Aug 2006 13:52:29 +0000 (13:52 +0000)]
- Redo the class with a concurrent hash map (note: no idea at this point if it's going to be faster) and generics.

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

19 years ago- Port docs updates.
remm [Thu, 17 Aug 2006 13:38:32 +0000 (13:38 +0000)]
- Port docs updates.

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

19 years ago- Remove the bug number.
remm [Thu, 17 Aug 2006 13:26:48 +0000 (13:26 +0000)]
- Remove the bug number.
- Add a temp folder in build.

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

19 years ago- Fix nearly all the servlet links.
remm [Thu, 17 Aug 2006 13:23:08 +0000 (13:23 +0000)]
- Fix nearly all the servlet links.

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

19 years ago- Calling allocate for no reason was not a very good idea (adding an accessor instead...
remm [Thu, 17 Aug 2006 13:22:44 +0000 (13:22 +0000)]
- Calling allocate for no reason was not a very good idea (adding an accessor instead for now, bleh).
- Simplify the event method.

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

19 years ago- Update the other connector.
remm [Thu, 17 Aug 2006 12:00:04 +0000 (12:00 +0000)]
- Update the other connector.

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

19 years ago- Update to use two action code.
remm [Thu, 17 Aug 2006 11:41:43 +0000 (11:41 +0000)]
- Update to use two action code.
- The attribute to advertise comet support remains for now.
- No update to the comet interface at this time.

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

19 years ago- Expose the closed flag.
remm [Wed, 16 Aug 2006 22:29:09 +0000 (22:29 +0000)]
- Expose the closed flag.

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

19 years ago- Build the examples classes.
remm [Wed, 16 Aug 2006 12:57:57 +0000 (12:57 +0000)]
- Build the examples classes.

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

19 years ago- Note: the paths are not completely correct.
remm [Wed, 16 Aug 2006 12:57:35 +0000 (12:57 +0000)]
- Note: the paths are not completely correct.

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

19 years agoFixed the poller destroy method
fhanik [Fri, 11 Aug 2006 16:25:18 +0000 (16:25 +0000)]
Fixed the poller destroy method

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

19 years agoMake sure we don't fill up the cache after pause has been initated
fhanik [Fri, 11 Aug 2006 16:22:52 +0000 (16:22 +0000)]
Make sure we don't fill up the cache after pause has been initated

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

19 years agofixed imports and removed not needed log message
fhanik [Thu, 10 Aug 2006 20:54:37 +0000 (20:54 +0000)]
fixed imports and removed not needed log message

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

19 years agoFixed close down, and degraded a message to debug
fhanik [Wed, 9 Aug 2006 21:22:24 +0000 (21:22 +0000)]
Fixed close down, and degraded a message to debug

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

19 years agoSSL byte buffers are cached as well
fhanik [Wed, 9 Aug 2006 19:41:02 +0000 (19:41 +0000)]
SSL byte buffers are cached as well

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

19 years agoAdded in a cache for byte buffers
fhanik [Wed, 9 Aug 2006 17:12:37 +0000 (17:12 +0000)]
Added in a cache for byte buffers

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

19 years agoFixed deadlock issue with thread pool
fhanik [Wed, 9 Aug 2006 14:44:50 +0000 (14:44 +0000)]
Fixed deadlock issue with thread pool
Fixed error catches for a known JDK bug on windows #5076772
Added in the ability to have more than one poller, although performance actually gets worse
Next steps: hand off setting socket options etc to the worker thread for faster acceptance of new socket

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

19 years agoTune the connector, next step is to add the ability to have more than one poller...
fhanik [Wed, 9 Aug 2006 12:26:11 +0000 (12:26 +0000)]
Tune the connector, next step is to add the ability to have more than one poller, this is achievable by simply having each poller have its own selector, exactly like it is done today

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

19 years agoStill some work needed on when to block and when to not block, SSL works well
fhanik [Tue, 8 Aug 2006 17:55:27 +0000 (17:55 +0000)]
Still some work needed on when to block and when to not block, SSL works well

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

19 years agoFixed the socket flush, since NIO SSL uses dual sockets, we need to be considerate...
fhanik [Mon, 7 Aug 2006 18:55:41 +0000 (18:55 +0000)]
Fixed the socket flush, since NIO SSL uses dual sockets, we need to be considerate of when the data is actually sent on the OS buffer

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

19 years agosupport for full xml namespaces according to spec, (<IDENTITY> (<IDENTITY>|<DOT>...
jhook [Sun, 6 Aug 2006 23:35:29 +0000 (23:35 +0000)]
support for full xml namespaces according to spec, (<IDENTITY> (<IDENTITY>|<DOT>|<MINUS>)*)

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

19 years ago- Fix the accept algorithm, that I had translated inaccurately in the new endpoints.
remm [Sat, 5 Aug 2006 13:57:54 +0000 (13:57 +0000)]
- Fix the accept algorithm, that I had translated inaccurately in the new endpoints.

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

19 years agoFixed unwrap
fhanik [Fri, 4 Aug 2006 22:19:38 +0000 (22:19 +0000)]
Fixed unwrap

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

19 years agoCorrect close down, now the close can be limited to 2 files if it needs to change
fhanik [Fri, 4 Aug 2006 21:52:51 +0000 (21:52 +0000)]
Correct close down, now the close can be limited to 2 files if it needs to change

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

19 years agoAdded documentation about the NIO connector and clarified how the protocol attribute...
fhanik [Fri, 4 Aug 2006 21:38:22 +0000 (21:38 +0000)]
Added documentation about the NIO connector and clarified how the protocol attribute is read.

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

19 years agoAdded HTTPS support to the NIO connector. Works exactly like the Http11Protocol does...
fhanik [Fri, 4 Aug 2006 21:13:05 +0000 (21:13 +0000)]
Added HTTPS support to the NIO connector. Works exactly like the Http11Protocol does, but uses JDK1.5 JSSE implementation.

Rollback info if this breaks something else, it should all be backwards compatible
revision:428882
Files:
  java/org/apache/coyote/http11/Http11NioProtocol.java
  java/org/apache/coyote/http11/Http11NioProcessor.java
  java/org/apache/coyote/http11/InternalNioInputBuffer.java
  java/org/apache/coyote/http11/InternalNioOutputBuffer.java
  java/org/apache/tomcat/util/net/SSLImplementation.java
  java/org/apache/tomcat/util/net/NioChannel.java
  java/org/apache/tomcat/util/net/jsse/JSSESupport.java
  java/org/apache/tomcat/util/net/jsse/JSSEImplementation.java
  java/org/apache/tomcat/util/net/jsse/JSSEFactory.java
  java/org/apache/tomcat/util/net/SecureNioChannel.java
  java/org/apache/tomcat/util/net/NioEndpoint.java

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

19 years ago- Use the classname as the servlet context attribute name for the annotation processor.
remm [Fri, 4 Aug 2006 14:04:42 +0000 (14:04 +0000)]
- Use the classname as the servlet context attribute name for the annotation processor.
- Fix init of the naming context used by the annotation processor.
- Jasper will now use the annotation processor from the servlet context.
- Remove the ignore annotation compile time parameter for Jasper, which was a temporary hack.

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

19 years ago- Cleanup the configuration (and fix the one used for the installer).
remm [Thu, 3 Aug 2006 23:30:17 +0000 (23:30 +0000)]
- Cleanup the configuration (and fix the one used for the installer).
- Tweak a bit the installer packaging.

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

19 years ago- Build the docs webapp.
remm [Thu, 3 Aug 2006 13:18:30 +0000 (13:18 +0000)]
- Build the docs webapp.
- Docs webapps fixes.
- Small NSIS update to version 2.18.

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

19 years ago- Unfortunately, the JMX removal does not work (parent is null if used from JMX)...
remm [Thu, 3 Aug 2006 08:34:21 +0000 (08:34 +0000)]
- Unfortunately, the JMX removal does not work (parent is null if used from JMX), so I'm reverting to using JMX for now.

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

19 years agooptimized imports
fhanik [Wed, 2 Aug 2006 19:34:39 +0000 (19:34 +0000)]
optimized imports

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

19 years ago- Now use an interface and a pluggable mechanism for annotation processing.
remm [Wed, 2 Aug 2006 11:21:46 +0000 (11:21 +0000)]
- Now use an interface and a pluggable mechanism for annotation processing.
- I'm using the org.apache package due to the need to use this stuff in Jasper ...

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

19 years ago- Use a single reference to the cache during lookup (the cache array could be concurr...
remm [Wed, 2 Aug 2006 00:39:28 +0000 (00:39 +0000)]
- Use a single reference to the cache during lookup (the cache array could be concurrently replaced).

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

19 years ago- Stop wrappers a bit earlier.
remm [Tue, 1 Aug 2006 11:57:41 +0000 (11:57 +0000)]
- Stop wrappers a bit earlier.

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

19 years ago- JSP 2.1 API fixes.
remm [Fri, 28 Jul 2006 13:57:53 +0000 (13:57 +0000)]
- JSP 2.1 API fixes.

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

19 years agoPort of fix for bug 39592. Stop stack traces for HEAD requests.
markt [Thu, 27 Jul 2006 00:34:35 +0000 (00:34 +0000)]
Port of fix for bug 39592. Stop stack traces for HEAD requests.

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

19 years ago- Experiment with using concurrent maps in places which may be concurrently accessed.
remm [Tue, 25 Jul 2006 14:19:32 +0000 (14:19 +0000)]
- Experiment with using concurrent maps in places which may be concurrently accessed.

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

19 years agoPort fix for bug 40053. Correct app deployment doc with respect to shared lib and...
markt [Sat, 22 Jul 2006 22:04:22 +0000 (22:04 +0000)]
Port fix for bug 40053. Correct app deployment doc with respect to shared lib and CATALINA_BASE.

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

19 years agoPort fix bug 39689. Allow same quoting for SSI attribute values as httpd.
markt [Sat, 22 Jul 2006 21:48:51 +0000 (21:48 +0000)]
Port fix bug 39689. Allow same quoting for SSI attribute values as httpd.

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

19 years agoPort partial fix for 34801
markt [Sat, 22 Jul 2006 00:19:59 +0000 (00:19 +0000)]
Port partial fix for 34801

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

19 years agoRemove old APR references
fhanik [Fri, 21 Jul 2006 20:15:35 +0000 (20:15 +0000)]
Remove old APR references

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

19 years agoMake sure the key is valid before processing it
fhanik [Fri, 21 Jul 2006 19:30:31 +0000 (19:30 +0000)]
Make sure the key is valid before processing it

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

19 years agoDereference socket after its been used
fhanik [Fri, 21 Jul 2006 16:27:42 +0000 (16:27 +0000)]
Dereference socket after its been used

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

19 years agoAdd eol-style property for non-common extensions
mturk [Fri, 21 Jul 2006 06:22:30 +0000 (06:22 +0000)]
Add eol-style property for non-common extensions
that were not set by script.

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

19 years agoAdd missing executable properties.
mturk [Fri, 21 Jul 2006 06:17:16 +0000 (06:17 +0000)]
Add missing executable properties.
This time without lock/unlock.

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

19 years ago- Changes to session id parsing so that it is done (as well as ";" path parameter...
remm [Thu, 20 Jul 2006 16:01:41 +0000 (16:01 +0000)]
- Changes to session id parsing so that it is done (as well as ";" path parameter stripping) before
  decoding, making it possible to %xx encode ";" in the URL.
- This can probably be backported to 5.5.x.

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

19 years agoPhase 1: Setting eol and mime types
mturk [Thu, 20 Jul 2006 12:50:34 +0000 (12:50 +0000)]
Phase 1: Setting eol and mime types
@echo off
if "%OS%" == "Windows_NT" setlocal

if "%1" == "" (
set SCRIPT_NAME=%~f0
) else (
set SCRIPT_NAME=%~f1
)

for /D %%i in (*) do (
cd %%i
svn propset svn:eol-style native *.java
svn propset svn:eol-style native *.properties
svn propset svn:eol-style native *.xml
svn propset svn:eol-style native *.xsd
svn propset svn:eol-style native *.xsl
svn propset svn:eol-style native *.dtd
svn propset svn:eol-style native *.tld
svn propset svn:eol-style native *.html
svn propset svn:eol-style native *.txt
svn propset svn:eol-style native *.jsp
svn propset svn:eol-style native *.jspx
svn propset svn:eol-style native *.jspf
svn propset svn:eol-style native *.sh
svn propset svn:eol-style native *.bat
svn propset svn:eol-style native *.svg
svn propset svn:mime-type image/gif *.gif
svn propset svn:mime-type image/jpeg *.jpg
svn propset svn:mime-type image/bmp *.bmp
svn propset svn:mime-type application/pdf *.pdf
svn propset svn:mime-type application/pdf *.pdf
svn propset svn:mime-type image/x-icon *.ico

call %SCRIPT_NAME% %SCRIPT_NAME%
cd ..
)

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

19 years agoAdjusted comment
fhanik [Wed, 19 Jul 2006 18:03:23 +0000 (18:03 +0000)]
Adjusted comment

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

19 years agoComet connection handling. When the response.getWriter().close() method has been...
fhanik [Wed, 19 Jul 2006 17:49:47 +0000 (17:49 +0000)]
Comet connection handling. When the response.getWriter().close() method has been called,
the comet connection is setup for closure instead of waiting for a timeout.
This is necessary since the servlet could have set a long timeout.
Also, improve on timeout checking. Only use the optimization for how frequently we need to check the keys if there has been no activity on the selector. During heavy activity, the optimization takes into effect.

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

19 years agoThumbs.db is not part of the servlet spec
mturk [Wed, 19 Jul 2006 16:53:59 +0000 (16:53 +0000)]
Thumbs.db is not part of the servlet spec
I suppose. Seems someone committed that from the
Windows with folder image thumbnail cache.

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

19 years agoFixed chunked input filter to parse the header correctly. Performs strict parsing...
fhanik [Wed, 19 Jul 2006 13:00:42 +0000 (13:00 +0000)]
Fixed chunked input filter to parse the header correctly. Performs strict parsing according to the RFC2616, so if the header is invalid it bails out.

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

19 years ago- get/setProperty are used by IntrospectionUtils. Oops.
remm [Wed, 19 Jul 2006 07:05:45 +0000 (07:05 +0000)]
- get/setProperty are used by IntrospectionUtils. Oops.

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

19 years agoAdd svn:eol-style:native.
mturk [Tue, 18 Jul 2006 15:38:14 +0000 (15:38 +0000)]
Add svn:eol-style:native.
We'll probably need to do that for the entire repository.

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

19 years agoAdd svn:eol-style:native
mturk [Tue, 18 Jul 2006 15:16:38 +0000 (15:16 +0000)]
Add svn:eol-style:native

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

19 years agoWhile this change made my linux box go faster, I could constantly crash my windows...
fhanik [Fri, 14 Jul 2006 05:14:31 +0000 (05:14 +0000)]
While this change made my linux box go faster, I could constantly crash my windows VM, so it will have to wait

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

19 years agoTake advantage of Java 5 concurrent classes
fhanik [Fri, 14 Jul 2006 04:49:46 +0000 (04:49 +0000)]
Take advantage of Java 5 concurrent classes

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

19 years agoOptimize timeout handling, thanks to a suggestion from Jeanfrancois.Arcand@Sun.COM,
fhanik [Fri, 14 Jul 2006 03:27:06 +0000 (03:27 +0000)]
Optimize timeout handling, thanks to a suggestion from Jeanfrancois.Arcand@Sun.COM,
although this does put a gap in the timeout check, even in those cases where there shouldn't be, ie, a socket can be closed immediately

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

19 years agoSet a per connection timeout
fhanik [Thu, 13 Jul 2006 19:51:56 +0000 (19:51 +0000)]
Set a per connection timeout

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

19 years agoAdd optional comet timeout support
fhanik [Thu, 13 Jul 2006 15:12:56 +0000 (15:12 +0000)]
Add optional comet timeout support

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

19 years ago- Comment out storeconfig for now.
remm [Thu, 13 Jul 2006 14:00:17 +0000 (14:00 +0000)]
- Comment out storeconfig for now.
- Port patch.
- Add logging.properties.

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

19 years ago- Add the set of scripts.
remm [Thu, 13 Jul 2006 12:48:04 +0000 (12:48 +0000)]
- Add the set of scripts.

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

19 years ago- Add the set of scripts.
remm [Thu, 13 Jul 2006 12:46:40 +0000 (12:46 +0000)]
- Add the set of scripts.

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

19 years agoDelete unused classes deprecated in TC5.
markt [Thu, 13 Jul 2006 02:36:06 +0000 (02:36 +0000)]
Delete unused classes deprecated in TC5.

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

19 years agoPort CGI parameter and POST fixes from TC5
markt [Thu, 13 Jul 2006 02:12:34 +0000 (02:12 +0000)]
Port CGI parameter and POST fixes from TC5

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

19 years agoThe NIO connector uses only one poller, so the poller doesn't need to be comet or...
fhanik [Wed, 12 Jul 2006 23:29:52 +0000 (23:29 +0000)]
The NIO connector uses only one poller, so the poller doesn't need to be comet or non comet.
Instead the comet status is kept with the key/socket for future reference.
This can enable us to end the comet request on the server side in the future, yet maintain the keep alive.

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

19 years ago- Fix src packaging.
remm [Wed, 12 Jul 2006 21:39:49 +0000 (21:39 +0000)]
- Fix src packaging.

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

19 years ago- More release scripts work.
remm [Wed, 12 Jul 2006 17:18:35 +0000 (17:18 +0000)]
- More release scripts work.
- Note: webapps are not built yet (I think I will give up on precompilation, though, since the
  benefits are a bit small).

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

19 years ago40012 - Legacy EL Support not resolving variables correctly
funkman [Tue, 11 Jul 2006 17:51:14 +0000 (17:51 +0000)]
40012 - Legacy EL Support not resolving variables correctly

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

19 years agoRemove sendfile support, this is a native called, this will be a pure java connector
fhanik [Tue, 11 Jul 2006 14:57:16 +0000 (14:57 +0000)]
Remove sendfile support, this is a native called, this will be a pure java connector

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

19 years ago- Fix some obvious problems with the packaging.
remm [Tue, 11 Jul 2006 14:13:13 +0000 (14:13 +0000)]
- Fix some obvious problems with the packaging.

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

19 years agosince we are writing on a piggy back thread, better make it thread safe in case there...
fhanik [Mon, 10 Jul 2006 14:20:00 +0000 (14:20 +0000)]
since we are writing on a piggy back thread, better make it thread safe in case there are multiple backend threads writing (async or comet)

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

19 years agoAdd open office mime-types. Port of fix for bug 39865 from TC5.
markt [Sat, 8 Jul 2006 22:55:15 +0000 (22:55 +0000)]
Add open office mime-types. Port of fix for bug 39865 from TC5.

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

19 years ago- Should improve handling of the root logger (sorry, I don't know who submitted this...
remm [Fri, 7 Jul 2006 22:42:46 +0000 (22:42 +0000)]
- Should improve handling of the root logger (sorry, I don't know who submitted this, it was a while
  ago).

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

19 years ago- Add the base webapps and stuff, so they're there (not built yet).
remm [Fri, 7 Jul 2006 22:40:04 +0000 (22:40 +0000)]
- Add the base webapps and stuff, so they're there (not built yet).

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

19 years ago- Start work on a dist script (that I will keep separate to avoid having a bloated...
remm [Fri, 7 Jul 2006 22:37:03 +0000 (22:37 +0000)]
- Start work on a dist script (that I will keep separate to avoid having a bloated main script).

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

19 years ago- Remove the spare threads attributes.
remm [Fri, 7 Jul 2006 22:35:57 +0000 (22:35 +0000)]
- Remove the spare threads attributes.

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

19 years ago- If there is a security manager, the map should be reset (otherwise, references...
remm [Fri, 7 Jul 2006 22:35:25 +0000 (22:35 +0000)]
- If there is a security manager, the map should be reset (otherwise, references could be kept).

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

19 years ago- Update to JDT 3.2 (I think TC 5.5 should be updated too).
remm [Tue, 4 Jul 2006 15:43:28 +0000 (15:43 +0000)]
- Update to JDT 3.2 (I think TC 5.5 should be updated too).

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

19 years ago- Redo the session activity check (which prevents expiring a session if there is...
remm [Thu, 29 Jun 2006 11:37:30 +0000 (11:37 +0000)]
- Redo the session activity check (which prevents expiring a session if there is an extremely
  long request and a short timeout) as optional, and using an atomic integer.

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

19 years ago- As redoing the encoders and decoders won't happen immediately, save some memory...
remm [Tue, 27 Jun 2006 13:48:36 +0000 (13:48 +0000)]
- As redoing the encoders and decoders won't happen immediately, save some memory by cleaning the
  cache when starting a Comet request (which is supposed to last for a while).

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

19 years agoChange the compiler to the lastest version.
jfclere [Mon, 26 Jun 2006 18:25:51 +0000 (18:25 +0000)]
Change the compiler to the lastest version.

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

19 years ago- Catch everything, as any unexpected exception would kill the server.
remm [Mon, 26 Jun 2006 17:48:32 +0000 (17:48 +0000)]
- Catch everything, as any unexpected exception would kill the server.

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

19 years agoDont do the not needed operations, if they are not needed.
fhanik [Thu, 22 Jun 2006 22:02:23 +0000 (22:02 +0000)]
Dont do the not needed operations, if they are not needed.
Performance is just a tad under java.io, which is expected as we need to poll, as opposed to constantly wait for data.

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

19 years agoTwo fixes,
fhanik [Thu, 22 Jun 2006 20:28:27 +0000 (20:28 +0000)]
Two fixes,
process timeouts last, no need to check a timeout on a valid read. hence we do it after we process the actual operations
Throw an IO exception if we reach end of stream so that the sockets can get properly closed down
Speed is the same for nio and io right now, nio seems just a tad faster without keep alives

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

19 years agoCatch the cancelled key exceptions and act appropriately
fhanik [Thu, 22 Jun 2006 19:59:39 +0000 (19:59 +0000)]
Catch the cancelled key exceptions and act appropriately

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

19 years agoFix so that we don't do a busy read, instead we are properly doing a NIO poller wait
fhanik [Thu, 22 Jun 2006 19:05:02 +0000 (19:05 +0000)]
Fix so that we don't do a busy read, instead we are properly doing a NIO poller wait
This way, we can achieve blocking read, without wasting CPU cycles.
Since we are using Java 5, I will be changing this implementation from using synchronized to using the Exchanger, this is also to avoid anyi locks that can happen. For example, in the current implementation the poller can call notify before we have had a chance to call wait

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

19 years agomust come up with a better sleep, this brings the nio connector up to the same speed...
fhanik [Thu, 22 Jun 2006 17:09:14 +0000 (17:09 +0000)]
must come up with a better sleep, this brings the nio connector up to the same speed as the io connector however, there is a risk for cpu contention on slow clients, fix will be coming

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

19 years agoReverted last nights checkin, until I fix the line ending story, and this also makes...
fhanik [Thu, 22 Jun 2006 16:10:17 +0000 (16:10 +0000)]
Reverted last nights checkin, until I fix the line ending story, and this also makes the connector work again

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

19 years agoReverted checkin, we can use a fully qualified class name inside of the protocol
fhanik [Thu, 22 Jun 2006 16:03:32 +0000 (16:03 +0000)]
Reverted checkin, we can use a fully qualified class name inside of the protocol

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

19 years ago- Add new files.
remm [Thu, 22 Jun 2006 10:11:41 +0000 (10:11 +0000)]
- Add new files.

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

19 years agoKeep track of whether the socket is in use or not. The same can of course be done...
fhanik [Thu, 22 Jun 2006 01:45:58 +0000 (01:45 +0000)]
Keep track of whether the socket is in use or not. The same can of course be done using
key.interestOps() as a socket in use would not be returning OP_READ

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

19 years agoNon blocking polling information.
fhanik [Thu, 22 Jun 2006 00:48:53 +0000 (00:48 +0000)]
Non blocking polling information.
This implementation in pure Java NIO is almost a mimic of the APR implementation. It blocks on read and write, but has non blocking polling capabilities. Currently the read/write blocking is "busy" blocking, but I will see if I can simply configure blocking for the socket and if that would still allow the poller to work as expected.
This makes it a suitable connector for comet style protocols and where APR is not desired or available.

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

19 years ago- Fix annotation names.
remm [Wed, 21 Jun 2006 09:21:32 +0000 (09:21 +0000)]
- Fix annotation names.

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

19 years agoUpdate the modeler with the sandbox version, using dynamic mbeans instead of model...
costin [Tue, 20 Jun 2006 21:31:42 +0000 (21:31 +0000)]
Update the modeler with the sandbox version, using dynamic mbeans instead of model mbeans.

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

19 years agoAdd a quick comment.
costin [Tue, 20 Jun 2006 20:46:23 +0000 (20:46 +0000)]
Add a quick comment.

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

19 years agoDead code, nobody seems to be using it.
costin [Tue, 20 Jun 2006 20:45:36 +0000 (20:45 +0000)]
Dead code, nobody seems to be using it.

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

19 years agoDirect calls instead of introspection via JMX
costin [Tue, 20 Jun 2006 20:43:37 +0000 (20:43 +0000)]
Direct calls instead of introspection via JMX

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

19 years agoRemove JMX warning message since java5 is required
funkman [Tue, 20 Jun 2006 11:12:30 +0000 (11:12 +0000)]
Remove JMX warning message since java5 is required

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

19 years agoRevert, if Content-Length: <some large value> is an acceptable work around
fhanik [Sat, 17 Jun 2006 00:12:20 +0000 (00:12 +0000)]
Revert, if Content-Length: <some large value> is an acceptable work around

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