tomcat7.0
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

19 years agoFixed comet processing.
fhanik [Fri, 16 Jun 2006 20:55:06 +0000 (20:55 +0000)]
Fixed comet processing.
The following bug was existing:
When a comet request had begun, and the browser sent some more data, the Tomcat APR component was never reading the data from the socket and lead to two kinds of failures
1. The CometServlet.read returned false, cause no data was read, and the socket closed
2. If the CometServlet.read was overwritten and return true, the thread got stuck in a loop, forever hanging.

The solution was to read the incoming data from the socket, update the content length of the request, and make sure that the input filters would still allow to read the data.

I think the following features still need to be fixed:
1. If CometServlet.read return false, the adapter should call CometServlet.end, not CometServlet.error
2. If CometServlet.read throws an error, then the adapter should call CometServlet.error
3. When CometServlet.read returns false, don't close the socket, keep alive should still work and we should still be able to process more HTTP requests on that connection

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

19 years agoPort fix for bug 39769. Remove the classloader switching from unload. It was removed...
markt [Sun, 11 Jun 2006 21:53:53 +0000 (21:53 +0000)]
Port fix for bug 39769. Remove the classloader switching from unload. It was removed from load some time ago. Patch provided by David Gagnon.

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

19 years agoPort fix for bug 39752 from 5.5.x.
markt [Fri, 9 Jun 2006 23:09:40 +0000 (23:09 +0000)]
Port fix for bug 39752 from 5.5.x.

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

19 years agoSet line endings to native
markt [Fri, 9 Jun 2006 23:06:52 +0000 (23:06 +0000)]
Set line endings to native

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

19 years ago- Add the manager classes and a package renamed fileupload.
remm [Thu, 8 Jun 2006 15:35:56 +0000 (15:35 +0000)]
- Add the manager classes and a package renamed fileupload.
- I think there should be basic multipart handling in the core, although maybe the manager doesn't
  belong here (so I would remove it later on).

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

19 years ago- While it wouldn't be a completely bad idea to switch to an executor, the black...
remm [Thu, 8 Jun 2006 15:00:12 +0000 (15:00 +0000)]
- While it wouldn't be a completely bad idea to switch to an executor, the black box behavior of an
  executor makes it a bit bad to be used with a default lame implementation, while the fancy
  implementations are more "big server" ready with far more overhead and complexity.

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

19 years ago- Create clustered managers with the Catalina CL set as the context CL (as classloadi...
remm [Thu, 8 Jun 2006 14:50:07 +0000 (14:50 +0000)]
- Create clustered managers with the Catalina CL set as the context CL (as classloading may occur).
- Should fix 39699.

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

19 years agoAdd missing method to stop Gump from nagging
billbarker [Thu, 8 Jun 2006 05:06:37 +0000 (05:06 +0000)]
Add missing method to stop Gump from nagging

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

19 years ago- Remove usage of the CharChunk buffer (converters already use buffers). C2B converte...
remm [Sun, 4 Jun 2006 15:05:19 +0000 (15:05 +0000)]
- Remove usage of the CharChunk buffer (converters already use buffers). C2B converters could most
  likely be optimized (since they should probably rely on the byte chunk that they are writing to).
  This does not seem to reduce performance in a noticeable way, but I did not benchmark that much.

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

19 years ago- With Comet support, it is necessary to optimize the amount of memory used by individual
remm [Sun, 4 Jun 2006 15:01:39 +0000 (15:01 +0000)]
- With Comet support, it is necessary to optimize the amount of memory used by individual
  processors. This removes most of the buffers that are being used, without reducing performance
  in many cases.
- Note: I'm not sure the algorithm in InternalAprInputBuffer.nextRequest, which is used when
  pipelining, is correct. It also could use free space in the buffer more efficiently when trimming
  it.

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

19 years ago- Add a brain dead executor.
remm [Tue, 30 May 2006 09:58:41 +0000 (09:58 +0000)]
- Add a brain dead executor.
- Submitted by Vincenc Beltran Querol.

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

19 years ago- Port root webapp.
remm [Mon, 29 May 2006 16:17:01 +0000 (16:17 +0000)]
- Port root webapp.

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

19 years ago- Add trivial exclude.
remm [Mon, 29 May 2006 16:02:14 +0000 (16:02 +0000)]
- Add trivial exclude.

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

19 years ago- I had some problems when shutting down pollers which had active connections in...
remm [Mon, 29 May 2006 14:09:13 +0000 (14:09 +0000)]
- I had some problems when shutting down pollers which had active connections in them. I can't
  reproduce any problem anymore, unfortunately, but I think it was because there was a poll going
  on while the sockets in the poller were being destroyed, which could then lead to these sockets
  being destroyed again. So I'm adding code to wait until the poll call is done before doing the
  poller stop.

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

19 years ago- Add examples webapp.
remm [Mon, 29 May 2006 11:51:34 +0000 (11:51 +0000)]
- Add examples webapp.
- New chat example, which doesn't work properly yet (I suck at HTML). For some reason, it works with
  a telnet, but not with a browser, which doesn't do any rendering until the whole page is received.

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

19 years ago- Some small comet fixes.
remm [Fri, 26 May 2006 16:39:08 +0000 (16:39 +0000)]
- Some small comet fixes.

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

19 years ago- Fix some bugs with annotation support.
remm [Fri, 26 May 2006 16:38:24 +0000 (16:38 +0000)]
- Fix some bugs with annotation support.

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

19 years agoPort the fix for MODELER-3 from [modeler] (minus some of the fluff :).
billbarker [Thu, 25 May 2006 04:07:25 +0000 (04:07 +0000)]
Port the fix for MODELER-3 from [modeler] (minus some of the fluff :).

It's mostly non-critical path stuff, so it shouldn't be that much of a performance hit.

Also throw in some Generics cleanups.

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

19 years agoPort RMI fix from 5.5
billbarker [Wed, 24 May 2006 05:04:20 +0000 (05:04 +0000)]
Port RMI fix from 5.5

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

19 years ago- Use getDeclaredMethods/Fields here.
remm [Mon, 22 May 2006 23:37:24 +0000 (23:37 +0000)]
- Use getDeclaredMethods/Fields here.

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

19 years ago- Fix cut & paste bug, submitted by Stan Silvert.
remm [Sat, 20 May 2006 00:04:55 +0000 (00:04 +0000)]
- Fix cut & paste bug, submitted by Stan Silvert.

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

19 years ago- Some javadoc.
remm [Sat, 20 May 2006 00:04:08 +0000 (00:04 +0000)]
- Some javadoc.

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

19 years agoSuppress deprecation warnings on the implementation classes.
billbarker [Fri, 19 May 2006 07:33:35 +0000 (07:33 +0000)]
Suppress deprecation warnings on the implementation classes.

Sun's brain-dead compiler seems to require that I put these at Class level instead of method level.  I'm more than happy to change it if they ever manage to pull their collective heads out of their collective a**s.

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

19 years agoAFAIK mod_jk2 is deprecated - and I doubt anyone is using this. If they do - can be
costin [Fri, 19 May 2006 00:57:15 +0000 (00:57 +0000)]
AFAIK mod_jk2 is deprecated - and I doubt anyone is using this. If they do - can be
reverted.

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

19 years agoDowngrade to DynamicMBeans in method signatures - there is no need to use Model here,
costin [Fri, 19 May 2006 00:56:28 +0000 (00:56 +0000)]
Downgrade to DynamicMBeans in method signatures - there is no need to use Model here,
the mbean server doesn't care.

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

19 years ago- Add example read method.
remm [Fri, 19 May 2006 00:44:04 +0000 (00:44 +0000)]
- Add example read method.
- Return value for read errors (as an option compared with throwing an exception).
- Add some javadocs.

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

19 years ago- Ok, it seems to work at least a little bit (hopefully, nobody tried it before this...
remm [Thu, 18 May 2006 18:29:07 +0000 (18:29 +0000)]
- Ok, it seems to work at least a little bit (hopefully, nobody tried it before this). Overall, the
  changes are fairly limited.
- In the end, I prefer adding a new method in Adapter, although it is easy to change back.
- I'll try to add the examples webapp back, and add the obligatory chat servlet (so lame ...).

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

19 years ago- Start work on comet support. Note: it doesn't work yet, I think (I didn't test...
remm [Wed, 17 May 2006 12:55:39 +0000 (12:55 +0000)]
- Start work on comet support. Note: it doesn't work yet, I think (I didn't test), and most of this
  is very preliminary. It is relatively straightforward, though.

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

19 years ago- Use Integer.valueOf.
remm [Wed, 17 May 2006 12:51:41 +0000 (12:51 +0000)]
- Use Integer.valueOf.
- Update restricted list a bit.

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

19 years agoUse APR_UNSPEC for IPv6 and address=null. Backport from 5.5 branch.
mturk [Wed, 17 May 2006 06:33:41 +0000 (06:33 +0000)]
Use APR_UNSPEC for IPv6 and address=null. Backport from 5.5 branch.

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

19 years agoUse APR_UNSPEC only if the provided address
mturk [Tue, 16 May 2006 07:14:46 +0000 (07:14 +0000)]
Use APR_UNSPEC only if the provided address
actually is the IPV6 address.

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

19 years ago- Use the ignore annotation flag.
remm [Tue, 9 May 2006 14:05:23 +0000 (14:05 +0000)]
- Use the ignore annotation flag.
- It needs recompilation in case the value is changed. It could do without, but would need
  additional code in the generated servlets (a field, read a servlet context param), so
  it would generally be (even) more intrusive :(

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

19 years ago- Pass the ignore annotation flag to Jasper.
remm [Tue, 9 May 2006 14:02:01 +0000 (14:02 +0000)]
- Pass the ignore annotation flag to Jasper.

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

19 years ago- Fix indentation.
remm [Fri, 5 May 2006 13:50:29 +0000 (13:50 +0000)]
- Fix indentation.
- jspDestroy didn't need any modification (the instances are tag handler instances, not tag
  instances).

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

19 years ago- Use separate build folders for the dependencies.
remm [Thu, 4 May 2006 14:39:23 +0000 (14:39 +0000)]
- Use separate build folders for the dependencies.
- Update to Eclipse 3.2 (RC 2 right now).

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

19 years agoEnable Annotation processing for Tags even when pooling is disabled.
billbarker [Thu, 4 May 2006 04:49:09 +0000 (04:49 +0000)]
Enable Annotation processing for Tags even when pooling is disabled.

Of course, this will be horrible slow at least until Jasper looks for metadata-complete.

Also style fixes on the tagPoolHandler Vector.

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

19 years ago- Injection should occur before the setters (BTW, since simple tags are not pooled...
remm [Wed, 3 May 2006 20:26:35 +0000 (20:26 +0000)]
- Injection should occur before the setters (BTW, since simple tags are not pooled, performance
  will be bad; most likely some sort of caching is needed).

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

19 years ago- Add resource injection for tags (listeners are being handled in the servlet container).
remm [Wed, 3 May 2006 09:11:13 +0000 (09:11 +0000)]
- Add resource injection for tags (listeners are being handled in the servlet container).

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

19 years ago- As suggested by Mladen, add a more robust mechanism for restricted servlets.
remm [Wed, 3 May 2006 08:07:02 +0000 (08:07 +0000)]
- As suggested by Mladen, add a more robust mechanism for restricted servlets.

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

19 years ago- Change some locations.
remm [Wed, 3 May 2006 06:21:27 +0000 (06:21 +0000)]
- Change some locations.

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

19 years ago- Remove usage of TWA (otherwise, executor support cannot work).
remm [Sat, 29 Apr 2006 00:23:12 +0000 (00:23 +0000)]
- Remove usage of TWA (otherwise, executor support cannot work).

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

19 years ago- Port (not tested yet) the APR AJP code to java.io. I don't think it will be used...
remm [Fri, 28 Apr 2006 13:22:08 +0000 (13:22 +0000)]
- Port (not tested yet) the APR AJP code to java.io. I don't think it will be used in Tomcat unless
  people configure it explicitly.

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

19 years ago- Harmonize a bit more (the java.io HTTP 1.1 is the template: in the comments for...
remm [Fri, 28 Apr 2006 13:19:23 +0000 (13:19 +0000)]
- Harmonize a bit more (the java.io HTTP 1.1 is the template: in the comments for the methods,
  "*" means this method should be common to all protocols, and "HTTP" means the method should be
  common to all HTTP protocols).

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

19 years ago- Experiment with an endpoint superclass (which will only hold common fields, though).
remm [Fri, 28 Apr 2006 13:07:54 +0000 (13:07 +0000)]
- Experiment with an endpoint superclass (which will only hold common fields, though).

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

19 years ago- Remove JSP related resources.
remm [Thu, 27 Apr 2006 13:33:39 +0000 (13:33 +0000)]
- Remove JSP related resources.

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

19 years ago- Update to descriptors.
remm [Thu, 27 Apr 2006 13:30:58 +0000 (13:30 +0000)]
- Update to descriptors.

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

19 years agoFix that StandardSession#getLastAccessedTime() uses correct exception message
pero [Wed, 26 Apr 2006 06:10:53 +0000 (06:10 +0000)]
Fix that StandardSession#getLastAccessedTime() uses correct exception message

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

19 years ago- Refactor using the new java.io endpoint. Hopefully, I did not make any mistake.
remm [Mon, 24 Apr 2006 15:32:40 +0000 (15:32 +0000)]
- Refactor using the new java.io endpoint. Hopefully, I did not make any mistake.
- I will now test a bit, and will attempt to extract superclasses (most likely BaseEndpoint,
  BaseProtocol, BaseHttpProtocol).

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

19 years agoClean up the default algorithm handling, now that JSSE 1.0 is no longer supported.
billbarker [Mon, 24 Apr 2006 00:37:32 +0000 (00:37 +0000)]
Clean up the default algorithm handling, now that JSSE 1.0 is no longer supported.

At least now, you should be able to run SSL on a non-Sun JVM out of the box :).

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

19 years ago- Further sync the two endpoints.
remm [Sun, 23 Apr 2006 21:37:32 +0000 (21:37 +0000)]
- Further sync the two endpoints.

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