fhanik [Tue, 21 Nov 2006 17:02:55 +0000 (17:02 +0000)]
Make the pool impl compile for JDK 1.5 by swapping out the enum keyword.
Another fix is to simply put source="1.4" for the dbcp javac target.
Let me know if you prefer one over the other.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@477747
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Tue, 21 Nov 2006 16:35:19 +0000 (16:35 +0000)]
Fix the logic of the checkSameObjects method.
The method did not take into account that the lastServiceRequest/Response could be wrapped themselves.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@477737
13f79535-47bb-0310-9956-
ffa450edef68
markt [Mon, 20 Nov 2006 23:37:43 +0000 (23:37 +0000)]
Port relevant parts of fix for bug 40999.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@477409
13f79535-47bb-0310-9956-
ffa450edef68
remm [Mon, 20 Nov 2006 22:31:37 +0000 (22:31 +0000)]
- I suppose I can remove the method then.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@477369
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Mon, 20 Nov 2006 20:19:30 +0000 (20:19 +0000)]
Fix output stream to not use the converter in the buffer, but do a simple hard coded conversion.
This makes the TCK test pass
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@477315
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Mon, 20 Nov 2006 18:31:11 +0000 (18:31 +0000)]
revert fix until root cause has been found
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@477276
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Mon, 20 Nov 2006 16:47:03 +0000 (16:47 +0000)]
TCK correction, depending on the sequence of the tests, the converter turns out to be null at certain times.
Added in a check to create the converter even when getting the output stream.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@477251
13f79535-47bb-0310-9956-
ffa450edef68
markt [Mon, 20 Nov 2006 00:27:23 +0000 (00:27 +0000)]
Port fix for bug 38198. Improve context name aspect of host documentation.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@476995
13f79535-47bb-0310-9956-
ffa450edef68
markt [Mon, 20 Nov 2006 00:17:55 +0000 (00:17 +0000)]
Port fix for bug 40901. Encode directory listing output. Based on a patch by Chris Halstead.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@476992
13f79535-47bb-0310-9956-
ffa450edef68
markt [Mon, 20 Nov 2006 00:13:26 +0000 (00:13 +0000)]
Port fix for bug 40929. Update JavaDoc
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@476989
13f79535-47bb-0310-9956-
ffa450edef68
markt [Mon, 20 Nov 2006 00:10:03 +0000 (00:10 +0000)]
Port fix bug 40860. Additional logging if parameter processing fails.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@476988
13f79535-47bb-0310-9956-
ffa450edef68
markt [Mon, 20 Nov 2006 00:04:23 +0000 (00:04 +0000)]
Tabs to 8 spaces.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@476985
13f79535-47bb-0310-9956-
ffa450edef68
markt [Mon, 20 Nov 2006 00:01:37 +0000 (00:01 +0000)]
Port fix for bug 37509.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@476983
13f79535-47bb-0310-9956-
ffa450edef68
markt [Sun, 19 Nov 2006 23:52:52 +0000 (23:52 +0000)]
Port fix for bug 40844. Missing syncs.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@476979
13f79535-47bb-0310-9956-
ffa450edef68
markt [Sun, 19 Nov 2006 22:14:15 +0000 (22:14 +0000)]
Fix Gump. Removing the new class (PoolUtil) that requires the other pool classes causes other failures.
This fix isn't strictly necessary whilst we still use the current release but once we upgrade to the next release the build will fail.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@476945
13f79535-47bb-0310-9956-
ffa450edef68
remm [Thu, 16 Nov 2006 12:32:06 +0000 (12:32 +0000)]
- Also filter the release notes that go in the docs.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@475713
13f79535-47bb-0310-9956-
ffa450edef68
remm [Thu, 16 Nov 2006 11:17:41 +0000 (11:17 +0000)]
- Port memory optimizations to the classic HTTP connector.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@475686
13f79535-47bb-0310-9956-
ffa450edef68
remm [Wed, 15 Nov 2006 23:20:19 +0000 (23:20 +0000)]
- Changelog update.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@475488
13f79535-47bb-0310-9956-
ffa450edef68
remm [Wed, 15 Nov 2006 15:53:27 +0000 (15:53 +0000)]
- Sync the installer's config files.
- Cosmetic fixes.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@475270
13f79535-47bb-0310-9956-
ffa450edef68
funkman [Wed, 15 Nov 2006 13:51:16 +0000 (13:51 +0000)]
Link to the manager howto.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@475237
13f79535-47bb-0310-9956-
ffa450edef68
funkman [Wed, 15 Nov 2006 13:37:51 +0000 (13:37 +0000)]
tomcat - s/5.5/6/
servlet spec s/2.3/2.4/
jsp verion s/2.0/2.1/
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@475232
13f79535-47bb-0310-9956-
ffa450edef68
funkman [Wed, 15 Nov 2006 13:31:39 +0000 (13:31 +0000)]
Added a 401 page to let the user know what file to change to gain
access to the manager app in a stock install.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@475229
13f79535-47bb-0310-9956-
ffa450edef68
remm [Wed, 15 Nov 2006 12:58:15 +0000 (12:58 +0000)]
- Update version numbers.
- Update Eclipse to 3.2.1.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@475221
13f79535-47bb-0310-9956-
ffa450edef68
yoavs [Tue, 14 Nov 2006 16:00:27 +0000 (16:00 +0000)]
add my new key
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@474836
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Mon, 13 Nov 2006 23:35:02 +0000 (23:35 +0000)]
password property did not go through
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@474577
13f79535-47bb-0310-9956-
ffa450edef68
mturk [Mon, 13 Nov 2006 12:48:02 +0000 (12:48 +0000)]
Use tomcat-native 1.1.7
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@474289
13f79535-47bb-0310-9956-
ffa450edef68
remm [Sat, 11 Nov 2006 07:41:42 +0000 (07:41 +0000)]
- Fix API.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@473661
13f79535-47bb-0310-9956-
ffa450edef68
mturk [Fri, 10 Nov 2006 14:45:01 +0000 (14:45 +0000)]
Add version info to the build.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@473358
13f79535-47bb-0310-9956-
ffa450edef68
remm [Fri, 10 Nov 2006 14:36:49 +0000 (14:36 +0000)]
- Fix version number.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@473353
13f79535-47bb-0310-9956-
ffa450edef68
mturk [Fri, 10 Nov 2006 14:26:11 +0000 (14:26 +0000)]
Backport from tomcat-connectors.
Fix coredump when the client socket is inside read/write
operation (not closed), and the Tomcat is shutdown.
The pool was destroyed twice in that case.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@473349
13f79535-47bb-0310-9956-
ffa450edef68
mturk [Fri, 10 Nov 2006 14:23:52 +0000 (14:23 +0000)]
Add version control flags like in 5.5
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@473346
13f79535-47bb-0310-9956-
ffa450edef68
remm [Fri, 10 Nov 2006 00:08:19 +0000 (00:08 +0000)]
- Some more polish.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@473143
13f79535-47bb-0310-9956-
ffa450edef68
remm [Fri, 10 Nov 2006 00:04:34 +0000 (00:04 +0000)]
- Polish, as reported by Yoav.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@473141
13f79535-47bb-0310-9956-
ffa450edef68
remm [Wed, 8 Nov 2006 12:47:27 +0000 (12:47 +0000)]
- Update my key.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@472478
13f79535-47bb-0310-9956-
ffa450edef68
remm [Tue, 7 Nov 2006 22:43:41 +0000 (22:43 +0000)]
- Changelog update.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@472313
13f79535-47bb-0310-9956-
ffa450edef68
remm [Tue, 7 Nov 2006 12:41:29 +0000 (12:41 +0000)]
- The page wasn't explicit enough about the requirements, I think.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@472087
13f79535-47bb-0310-9956-
ffa450edef68
remm [Tue, 7 Nov 2006 10:45:01 +0000 (10:45 +0000)]
- 40913: Fix the second test when an expression is used.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@472057
13f79535-47bb-0310-9956-
ffa450edef68
markt [Sat, 4 Nov 2006 22:35:15 +0000 (22:35 +0000)]
Port fix for bug 34956. Enforce requirements of SRV.8.2 / SRV.14.2.5.1
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@471281
13f79535-47bb-0310-9956-
ffa450edef68
markt [Sat, 4 Nov 2006 21:40:59 +0000 (21:40 +0000)]
Port fix for bug 40817.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@471267
13f79535-47bb-0310-9956-
ffa450edef68
markt [Sat, 4 Nov 2006 21:37:20 +0000 (21:37 +0000)]
Port fix bug 40823. Better context docs.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@471266
13f79535-47bb-0310-9956-
ffa450edef68
markt [Sat, 4 Nov 2006 21:24:01 +0000 (21:24 +0000)]
Port fix bug 37439. Update engine docs with name uniqueness requirement.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@471264
13f79535-47bb-0310-9956-
ffa450edef68
markt [Sat, 4 Nov 2006 21:21:07 +0000 (21:21 +0000)]
Port fix bug 37458. Remove the possibility of some NPE and IAE issues.
Note for Remy - you had some ideas to improve this patch.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@471263
13f79535-47bb-0310-9956-
ffa450edef68
remm [Sat, 4 Nov 2006 02:11:17 +0000 (02:11 +0000)]
- Expose the EL type through the Root node to be able to determine the EL type for JspAttribute.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@471096
13f79535-47bb-0310-9956-
ffa450edef68
remm [Fri, 3 Nov 2006 10:56:25 +0000 (10:56 +0000)]
- Remove an extra throwable.
- Add a specific flag for recycling facades (when security is on, recycling will always be done, obviously).
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@470756
13f79535-47bb-0310-9956-
ffa450edef68
remm [Fri, 3 Nov 2006 10:13:00 +0000 (10:13 +0000)]
- Add back jsvc in the build. I don't think commons-daemon needs any package renaming.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@470746
13f79535-47bb-0310-9956-
ffa450edef68
remm [Fri, 3 Nov 2006 00:05:34 +0000 (00:05 +0000)]
- Fix a regression on classic EL expressions inside elements.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@470609
13f79535-47bb-0310-9956-
ffa450edef68
remm [Thu, 2 Nov 2006 22:56:45 +0000 (22:56 +0000)]
- Add translation time type checks for String.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@470584
13f79535-47bb-0310-9956-
ffa450edef68
remm [Thu, 2 Nov 2006 14:30:39 +0000 (14:30 +0000)]
- Redo the checkXmlAttributes method, as I could not sneak in the type checking for litterals that are passed to
methods (or values, right ?). Unfortunately, some translation time (rather than runtime) errors are needed for these.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@470373
13f79535-47bb-0310-9956-
ffa450edef68
remm [Thu, 2 Nov 2006 11:06:03 +0000 (11:06 +0000)]
- Indentation.
- Fix a woops which led to ignoring the jsp config for the encoding.
- Send an error for a 2.0 version for the 2.1 tag attributes.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@470325
13f79535-47bb-0310-9956-
ffa450edef68
remm [Thu, 2 Nov 2006 03:50:14 +0000 (03:50 +0000)]
- i18n handling fixes (according to what the spec authors think is what should be done, at least).
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@470216
13f79535-47bb-0310-9956-
ffa450edef68
remm [Wed, 1 Nov 2006 12:56:33 +0000 (12:56 +0000)]
- Fix woops.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@469893
13f79535-47bb-0310-9956-
ffa450edef68
remm [Wed, 1 Nov 2006 12:42:53 +0000 (12:42 +0000)]
- Check for some of the errors.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@469890
13f79535-47bb-0310-9956-
ffa450edef68
remm [Wed, 1 Nov 2006 10:59:20 +0000 (10:59 +0000)]
- For tag files, also put attributes in the wrapped jspContext.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@469855
13f79535-47bb-0310-9956-
ffa450edef68
remm [Wed, 1 Nov 2006 10:04:21 +0000 (10:04 +0000)]
- Always call jspInit (some work in always done there, now).
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@469842
13f79535-47bb-0310-9956-
ffa450edef68
remm [Wed, 1 Nov 2006 01:20:18 +0000 (01:20 +0000)]
- Adjust the tests for deferred expressions evaluation.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@469739
13f79535-47bb-0310-9956-
ffa450edef68
remm [Tue, 31 Oct 2006 21:47:45 +0000 (21:47 +0000)]
- Better impl of JSP id consumer: actually this was implemented for regular custom tags, but not for simple tags.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@469669
13f79535-47bb-0310-9956-
ffa450edef68
remm [Tue, 31 Oct 2006 16:28:55 +0000 (16:28 +0000)]
- Add parsing of implicit.tld for tag files.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@469542
13f79535-47bb-0310-9956-
ffa450edef68
remm [Tue, 31 Oct 2006 14:27:22 +0000 (14:27 +0000)]
- Taglibs have their own version number, so isExpression gets an adjustment allowing not checking for deferred
expressions.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@469498
13f79535-47bb-0310-9956-
ffa450edef68
remm [Tue, 31 Oct 2006 12:53:43 +0000 (12:53 +0000)]
- Add two allowed directives.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@469468
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Mon, 30 Oct 2006 18:09:38 +0000 (18:09 +0000)]
after close has been called we are no longer a comet thingy
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@469213
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Mon, 30 Oct 2006 18:07:22 +0000 (18:07 +0000)]
cancel the keys
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@469212
13f79535-47bb-0310-9956-
ffa450edef68
pero [Mon, 30 Oct 2006 18:06:52 +0000 (18:06 +0000)]
Fix some html smells
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@469211
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Mon, 30 Oct 2006 17:47:26 +0000 (17:47 +0000)]
Fixed null pointer exception on comet socket timeout
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@469207
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Mon, 30 Oct 2006 16:47:10 +0000 (16:47 +0000)]
Fixed bug where OP interest is different for the first time the key is used, hence a key that never has been read would never timeout.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@469189
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Mon, 30 Oct 2006 16:15:35 +0000 (16:15 +0000)]
Revert fix, suggestion was incorrect and can lead to memory leaks
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@469178
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Mon, 30 Oct 2006 15:53:19 +0000 (15:53 +0000)]
If the key is null, channel is closed,not sure this is the correct fix, since the key potentially had an attachment this could lead to NIO mem leak, must track down how this happens
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@469168
13f79535-47bb-0310-9956-
ffa450edef68
pero [Mon, 30 Oct 2006 13:10:02 +0000 (13:10 +0000)]
fix small html smells
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@469141
13f79535-47bb-0310-9956-
ffa450edef68
funkman [Sun, 29 Oct 2006 19:28:37 +0000 (19:28 +0000)]
There is no org.apache.catalina.Logger or setLogger anymore
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@468957
13f79535-47bb-0310-9956-
ffa450edef68
mturk [Sun, 29 Oct 2006 16:50:56 +0000 (16:50 +0000)]
On explicit flush, create an empty (8 bytes)
SEND_BODY_CHUNK message, that can be used by
web server to flush the packet.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@468937
13f79535-47bb-0310-9956-
ffa450edef68
remm [Fri, 27 Oct 2006 00:24:37 +0000 (00:24 +0000)]
- Implement the JspIdConsumer feature.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@468205
13f79535-47bb-0310-9956-
ffa450edef68
remm [Thu, 26 Oct 2006 23:19:13 +0000 (23:19 +0000)]
- Some deferred expressions handling fixes.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@468186
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Thu, 26 Oct 2006 22:04:24 +0000 (22:04 +0000)]
Cleaned up imports
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@468166
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Thu, 26 Oct 2006 20:57:28 +0000 (20:57 +0000)]
Ooops, forgot to pass in the double buffered channel to the selector pool for write and read operations
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@468132
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Thu, 26 Oct 2006 20:37:40 +0000 (20:37 +0000)]
Make sure the socket buffer is not bigger than anticipated header size
Reuse the key attachment objects properly
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@468124
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Thu, 26 Oct 2006 15:24:24 +0000 (15:24 +0000)]
Reverted the removal of the "socket buffer", writing to a ByteBuffer is extremely slow, so it should only be done in chunks
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@468035
13f79535-47bb-0310-9956-
ffa450edef68
remm [Thu, 26 Oct 2006 13:24:22 +0000 (13:24 +0000)]
- Also use the parent constructor here.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@467995
13f79535-47bb-0310-9956-
ffa450edef68
remm [Thu, 26 Oct 2006 13:08:58 +0000 (13:08 +0000)]
- Refactor exception reporting using Throwable.getCause, since TC 6 does not have the restrictions for modifications
to the API implementation classes.
- ServletException.getRootCause now calls getCause.
- Also add some tweaks for robustness to cap recursion.
- Let me know if I did it wrong.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@467989
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Wed, 25 Oct 2006 23:20:35 +0000 (23:20 +0000)]
Zero GC objects. everything gets cached.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@467808
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Wed, 25 Oct 2006 22:11:10 +0000 (22:11 +0000)]
Documented socket properties
Added in the ability to cache bytebuffers based on number of channels or number of bytes
Added in nonGC poller events to lower CPU usage during high traffic
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@467787
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Wed, 25 Oct 2006 14:31:25 +0000 (14:31 +0000)]
Code clean up, last pieces to make is a the KeyAttachment object and the Runnable used for addEvent to be non GC objects, as these events happen very frequently
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@467669
13f79535-47bb-0310-9956-
ffa450edef68
jfclere [Wed, 25 Oct 2006 10:18:02 +0000 (10:18 +0000)]
Allow variable size of AJP message via packetSize=n in <Connector/>.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@467599
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Tue, 24 Oct 2006 22:32:49 +0000 (22:32 +0000)]
don't cancel, only do that within the selector thread, as this is a synchronized call
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@467514
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Tue, 24 Oct 2006 22:31:51 +0000 (22:31 +0000)]
Make the buffer pool configurable, still need to make it configurable based on size
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@467513
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Tue, 24 Oct 2006 19:01:00 +0000 (19:01 +0000)]
adjust default properties
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@467441
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Tue, 24 Oct 2006 14:46:13 +0000 (14:46 +0000)]
Add a socket properties class so that we can configure every single socket option, currently only on NIO.
Remove redundant byte[] buffer in the NIO OutputBuffer, this avoids double copy from byte[] to byte[] to ByteBuffer
Add in the ability to configure the selector pool, as this be dependent on JVM and OS settings
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@467349
13f79535-47bb-0310-9956-
ffa450edef68
markt [Tue, 24 Oct 2006 03:17:11 +0000 (03:17 +0000)]
Correct props.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@467222
13f79535-47bb-0310-9956-
ffa450edef68
markt [Tue, 24 Oct 2006 03:16:33 +0000 (03:16 +0000)]
Correct props.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@467221
13f79535-47bb-0310-9956-
ffa450edef68
markt [Tue, 24 Oct 2006 03:15:02 +0000 (03:15 +0000)]
Correct props.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@467219
13f79535-47bb-0310-9956-
ffa450edef68
markt [Tue, 24 Oct 2006 03:14:41 +0000 (03:14 +0000)]
Correct props.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@467218
13f79535-47bb-0310-9956-
ffa450edef68
markt [Tue, 24 Oct 2006 03:14:34 +0000 (03:14 +0000)]
Correct props.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@467217
13f79535-47bb-0310-9956-
ffa450edef68
markt [Tue, 24 Oct 2006 03:14:00 +0000 (03:14 +0000)]
Correct props.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@467216
13f79535-47bb-0310-9956-
ffa450edef68
markt [Tue, 24 Oct 2006 03:12:55 +0000 (03:12 +0000)]
Correct props.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@467215
13f79535-47bb-0310-9956-
ffa450edef68
markt [Tue, 24 Oct 2006 03:11:45 +0000 (03:11 +0000)]
Correct props.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@467214
13f79535-47bb-0310-9956-
ffa450edef68
markt [Tue, 24 Oct 2006 03:11:12 +0000 (03:11 +0000)]
Correct props.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@467213
13f79535-47bb-0310-9956-
ffa450edef68
markt [Tue, 24 Oct 2006 03:10:47 +0000 (03:10 +0000)]
Correct props.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@467212
13f79535-47bb-0310-9956-
ffa450edef68
markt [Mon, 23 Oct 2006 23:47:06 +0000 (23:47 +0000)]
Correct props.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@467182
13f79535-47bb-0310-9956-
ffa450edef68
markt [Mon, 23 Oct 2006 23:12:17 +0000 (23:12 +0000)]
Fix properties.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@467173
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Mon, 23 Oct 2006 18:24:59 +0000 (18:24 +0000)]
remy is right, lets not sacrifice performance to protect against bad servlet code
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@467065
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Mon, 23 Oct 2006 17:39:28 +0000 (17:39 +0000)]
Added in blocking logic to the NIO connector. This logic ensures that if there is a slow client, we will not be wasting CPU cycles doing endless spinning.
Ideas for this implementation can be credited to the Tribes implementation where we have a pool of selectors, so that each sending thread uses its own selector and from Jeanfrancois Arcand's blog about wrapping a NIO channel in a blocking inputstream.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@467044
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Mon, 23 Oct 2006 17:20:43 +0000 (17:20 +0000)]
added my pee stain :)
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@467036
13f79535-47bb-0310-9956-
ffa450edef68