cvs commit: jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/net AprEndpoint.java

2005-07-29 Thread remm
remm2005/07/29 03:23:56 Modified:jk/java/org/apache/coyote/ajp AjpAprProcessor.java LocalStrings.properties AjpMessage.java http11/src/java/org/apache/coyote/http11 LocalStrings.properties Http11Processor.java

cvs commit: jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/net AprEndpoint.java

2005-07-16 Thread mturk
mturk 2005/07/16 05:11:11 Modified:util/java/org/apache/tomcat/util/net AprEndpoint.java Log: Add APR_SO_REUSEADDR and APR_SO_KEEPALIVE to the listening socket. This resolves 'address in use exception', and is the way how the Apache HTTPD is using the APR. See the:

cvs commit: jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/net AprEndpoint.java

2005-07-16 Thread mturk
mturk 2005/07/16 05:22:42 Modified:util/java/org/apache/tomcat/util/net AprEndpoint.java Log: Add a missing SO_KEEPALIVE option. See the previous commit for an explanation. Revision ChangesPath 1.67 +2 -0

cvs commit: jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/net AprEndpoint.java

2005-07-15 Thread remm
remm2005/07/15 08:40:00 Modified:util/java/org/apache/tomcat/util/net/res LocalStrings.properties util/java/org/apache/tomcat/util/net AprEndpoint.java Log: - Some localization. Revision ChangesPath 1.11 +2 -0

cvs commit: jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/net AprEndpoint.java

2005-07-14 Thread remm
remm2005/07/14 10:45:25 Modified:util/java/org/apache/tomcat/util/net AprEndpoint.java Log: - Cosmetic change. Set socket to 0. Revision ChangesPath 1.63 +1 -0 jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/net/AprEndpoint.java Index:

cvs commit: jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/net AprEndpoint.java

2005-07-14 Thread jfclere
jfclere 2005/07/14 15:35:21 Modified:util/java/org/apache/tomcat/util/net AprEndpoint.java Log: throw an exception if listen or bind fails. Revision ChangesPath 1.64 +6 -2 jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/net/AprEndpoint.java

cvs commit: jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/net AprEndpoint.java

2005-07-08 Thread remm
remm2005/07/08 08:43:23 Modified:util/java/org/apache/tomcat/util/net AprEndpoint.java Log: - Add extra value. Revision ChangesPath 1.62 +2 -0 jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/net/AprEndpoint.java Index: AprEndpoint.java

cvs commit: jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/net AprEndpoint.java

2005-07-07 Thread remm
remm2005/07/07 07:26:25 Modified:util/java/org/apache/tomcat/util/net AprEndpoint.java Log: - Fix init a little. Revision ChangesPath 1.60 +1 -1 jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/net/AprEndpoint.java Index: AprEndpoint.java

cvs commit: jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/net AprEndpoint.java

2005-07-02 Thread mturk
mturk 2005/07/02 03:55:35 Modified:util/java/org/apache/tomcat/util/net AprEndpoint.java Log: Couple of fixes for Sendfile. The major is to remove the double call to the Socket.destroy if the return from senfile is ECONNRESET or similar. The socket will be destroyed on

cvs commit: jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/net AprEndpoint.java

2005-07-02 Thread mturk
mturk 2005/07/02 10:18:46 Modified:http11/src/java/org/apache/coyote/http11 Http11AprProcessor.java util/java/org/apache/tomcat/util/net AprEndpoint.java Log: Fix the Sendfile implementation. The APR sendfile always make it's internal full

Re: cvs commit: jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/net AprEndpoint.java

2005-07-02 Thread Natasha Hasmani
Thank-you for your e-mail. Please note that i will be away from the office starting Wednesday June 29th, returning Thursday July 7th, with no access to email. In my absence, kindly contact Cheri Dueck at [EMAIL PROTECTED] Kind Regards, Natasha Hasmani Senior Event Manager

cvs commit: jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/net AprEndpoint.java

2005-06-29 Thread remm
remm2005/06/29 10:32:22 Modified:util/java/org/apache/tomcat/util/net AprEndpoint.java Log: - Add back the two dummy properties (used for JMX). Revision ChangesPath 1.52 +12 -0 jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/net/AprEndpoint.java

cvs commit: jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/net AprEndpoint.java

2005-06-24 Thread remm
remm2005/06/24 06:14:29 Modified:util/java/org/apache/tomcat/util/net AprEndpoint.java Log: - Better default maxThreads (20 is likely a bit too low). - Use wait/notify when running out of threads rather than sleep, as it does not mean the same as for the regular connector.

cvs commit: jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/net AprEndpoint.java

2005-06-18 Thread mturk
mturk 2005/06/18 01:03:21 Modified:jni/examples/org/apache/tomcat/jni Echo.java SSLServer.java jni/java/org/apache/tomcat/jni Poll.java SSLSocket.java Socket.java jni/native/include tcn.h jni/native/src network.c

cvs commit: jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/net AprEndpoint.java

2005-06-17 Thread mturk
mturk 2005/06/17 02:43:35 Modified:http11/src/java/org/apache/coyote/http11 Http11AprProcessor.java Http11AprProtocol.java jk/java/org/apache/coyote/ajp AjpAprProcessor.java AjpAprProtocol.java

cvs commit: jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/net AprEndpoint.java

2005-06-14 Thread mturk
mturk 2005/06/13 23:55:20 Modified:util/java/org/apache/tomcat/util/net AprEndpoint.java Log: Use the same locking object for add and maintain. Also make sure that sockets in the add queue are closed on destroy. Revision ChangesPath 1.42 +5 -1

cvs commit: jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/net AprEndpoint.java

2005-06-14 Thread remm
remm2005/06/14 00:43:29 Modified:util/java/org/apache/tomcat/util/net AprEndpoint.java Log: - Fix typo. Revision ChangesPath 1.43 +1 -1 jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/net/AprEndpoint.java Index: AprEndpoint.java

cvs commit: jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/net AprEndpoint.java

2005-06-14 Thread mturk
mturk 2005/06/14 01:23:25 Modified:util/java/org/apache/tomcat/util/net AprEndpoint.java Log: Change the way how maintain is called. There is no need to call the maintain on each TIMEUP. Revision ChangesPath 1.44 +9 -10

cvs commit: jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/net AprEndpoint.java

2005-06-14 Thread remm
remm2005/06/14 06:14:19 Modified:util/java/org/apache/tomcat/util/net/res LocalStrings.properties util/java/org/apache/tomcat/util/net AprEndpoint.java Log: - Add status codes on errors. - Close remaining sockets on destroy. Revision

cvs commit: jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/net AprEndpoint.java

2005-06-10 Thread remm
remm2005/06/10 04:03:32 Modified:util/java/org/apache/tomcat/util/net AprEndpoint.java Log: - Use the new Status constants. Revision ChangesPath 1.38 +3 -3 jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/net/AprEndpoint.java Index:

cvs commit: jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/net AprEndpoint.java

2005-06-10 Thread remm
remm2005/06/10 05:55:12 Modified:util/java/org/apache/tomcat/util/net AprEndpoint.java Log: - Start with the end of the socket list. Revision ChangesPath 1.40 +2 -2 jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/net/AprEndpoint.java Index:

cvs commit: jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/net AprEndpoint.java

2005-06-10 Thread remm
remm2005/06/10 05:49:56 Modified:util/java/org/apache/tomcat/util/net AprEndpoint.java Log: - Fix bad address usage. Revision ChangesPath 1.39 +1 -1 jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/net/AprEndpoint.java Index:

cvs commit: jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/net AprEndpoint.java

2005-05-27 Thread remm
remm2005/05/27 01:26:38 Modified:util/java/org/apache/tomcat/util/net AprEndpoint.java Log: - If not using sendfile, don't allocate sebdfile resources. Revision ChangesPath 1.36 +11 -7

[MSK-31466]: cvs commit: jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/net AprEndpoint.java

2005-05-27 Thread Technical Support
are details of this ticket. You will need to use the ticket key listed below to update the status of this ticket from web. Ticket ID: MSK-31466 Ticket Key: 48e8f695 Subject: cvs commit: jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/net AprEndpoint.java

cvs commit: jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/net AprEndpoint.java

2005-05-27 Thread mturk
mturk 2005/05/27 09:45:56 Modified:util/java/org/apache/tomcat/util/net AprEndpoint.java Log: Just a comment change for TCP_DEFER_ACCEPT. No functional change. Revision ChangesPath 1.37 +2 -1

cvs commit: jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/net AprEndpoint.java

2005-05-26 Thread funkman
funkman 2005/05/26 08:21:04 Modified:util/java/org/apache/tomcat/util/net AprEndpoint.java Log: String concatentation (of InetAddress) doesn't work to bind to specific IP address Revision ChangesPath 1.33 +17 -17

cvs commit: jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/net AprEndpoint.java

2005-05-26 Thread funkman
funkman 2005/05/26 08:29:55 Modified:util/java/org/apache/tomcat/util/net AprEndpoint.java Log: bonehead move - I don't need to concatenate an empty string to a string Revision ChangesPath 1.34 +1 -1

cvs commit: jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/net AprEndpoint.java

2005-05-26 Thread mturk
mturk 2005/05/26 11:34:50 Modified:util/java/org/apache/tomcat/util/net AprEndpoint.java Log: Set TCP_DEFER_ACCEPT socket option. This dramatically improves performance on linux by more then 20% for small files because the accept is not fired untill data is present.

Re: cvs commit: jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/net AprEndpoint.java

2005-05-26 Thread Remy Maucherat
[EMAIL PROTECTED] wrote: mturk 2005/05/26 11:34:50 Modified:util/java/org/apache/tomcat/util/net AprEndpoint.java Log: Set TCP_DEFER_ACCEPT socket option. This dramatically improves performance on linux by more then 20% for small files because the accept is not fired untill

cvs commit: jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/net AprEndpoint.java

2005-05-23 Thread mturk
mturk 2005/05/22 23:04:02 Modified:util/java/org/apache/tomcat/util/net AprEndpoint.java Log: Fix checking for return value from Poll.poll. Now when the native is fixed the correct value is returned in case of timeup. Also reset the addCount if the poller is recycled.

cvs commit: jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/net AprEndpoint.java

2005-05-18 Thread remm
remm2005/05/18 02:02:32 Modified:util/java/org/apache/tomcat/util/net AprEndpoint.java Log: - Remove a useless synchronized, and add some javadoc. Revision ChangesPath 1.28 +31 -4

cvs commit: jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/net AprEndpoint.java

2005-05-18 Thread mturk
mturk 2005/05/18 09:01:46 Modified:util/java/org/apache/tomcat/util/net AprEndpoint.java Log: Fix typo. data.fdpool is APR pool not APR pollset. Revision ChangesPath 1.29 +1 -1 jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/net/AprEndpoint.java

Re: cvs commit: jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/net AprEndpoint.java

2005-05-18 Thread Remy Maucherat
[EMAIL PROTECTED] wrote: mturk 2005/05/18 09:01:46 Modified:util/java/org/apache/tomcat/util/net AprEndpoint.java Log: Fix typo. data.fdpool is APR pool not APR pollset. -Poll.destroy(data.fdpool); +

cvs commit: jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/net AprEndpoint.java

2005-05-17 Thread remm
remm2005/05/17 05:20:20 Modified:util/java/org/apache/tomcat/util/net AprEndpoint.java Log: - Add javadocs. - Fix sync on the arrylist for sendfile (in the case where stuff is added to the array list, which I haven't seen happen yet). Revision ChangesPath 1.27

cvs commit: jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/net AprEndpoint.java

2005-05-14 Thread remm
remm2005/05/14 08:42:30 Modified:util/java/org/apache/tomcat/util/net/res LocalStrings.properties util/java/org/apache/tomcat/util/net AprEndpoint.java Log: - Disable sendfile if not supported, as submitted by Bill and Mladen. Revision

cvs commit: jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/net AprEndpoint.java

2005-05-03 Thread remm
remm2005/05/03 02:36:58 Modified:util/java/org/apache/tomcat/util/net/res LocalStrings.properties util/java/org/apache/tomcat/util/net AprEndpoint.java Log: - Add missing logging. Revision ChangesPath 1.8 +1 -0

cvs commit: jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/net AprEndpoint.java

2005-04-28 Thread remm
remm2005/04/28 05:29:51 Modified:catalina/src/share/org/apache/catalina/connector Connector.java LocalStrings.properties util/java/org/apache/tomcat/util/net AprEndpoint.java Log: - Use APR if present (oops for SSL mode, where right now the

cvs commit: jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/net AprEndpoint.java

2005-04-24 Thread remm
remm2005/04/24 03:28:38 Modified:util/java/org/apache/tomcat/util/net AprEndpoint.java Log: - Negativa values are now ok (apparently) for poll. (fixes a regression caused by yesterday's poll.c change) Revision ChangesPath 1.20 +0 -14

cvs commit: jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/net AprEndpoint.java

2005-04-24 Thread remm
remm2005/04/24 03:40:48 Modified:util/java/org/apache/tomcat/util/net AprEndpoint.java Log: - Probably a more sensible fix :) Revision ChangesPath 1.21 +14 -0 jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/net/AprEndpoint.java Index:

cvs commit: jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/net AprEndpoint.java

2005-04-24 Thread remm
remm2005/04/24 06:18:28 Modified:util/java/org/apache/tomcat/util/net/res LocalStrings.properties util/java/org/apache/tomcat/util/net AprEndpoint.java Log: - Proper logging. Revision ChangesPath 1.7 +8 -1

cvs commit: jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/net AprEndpoint.java

2005-04-23 Thread mturk
mturk 2005/04/23 08:57:24 Modified:util/java/org/apache/tomcat/util/net AprEndpoint.java Log: Make Senfile usable. Sendfile should be added to the poller, only if it returns EAGAIN status. In any other case the poller will break. Revision ChangesPath 1.15 +31 -9

cvs commit: jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/net AprEndpoint.java

2005-04-23 Thread mturk
mturk 2005/04/23 10:05:31 Modified:util/java/org/apache/tomcat/util/net AprEndpoint.java Log: Fix partial results from sendfile. Do not break the loop while the sendfile will not block. Revision ChangesPath 1.16 +18 -17

cvs commit: jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/net AprEndpoint.java

2005-04-23 Thread remm
remm2005/04/23 10:36:57 Modified:util/java/org/apache/tomcat/util/net AprEndpoint.java Log: - It works great (very good performance, seems reliable seen from ab), so attempt to use sendfile by default. - So far, I haven't seen a socket going to the poller, but as I'm doing

cvs commit: jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/net AprEndpoint.java

2005-04-23 Thread remm
remm2005/04/23 11:59:52 Modified:util/java/org/apache/tomcat/util/net AprEndpoint.java Log: - Convert to long. Revision ChangesPath 1.19 +6 -7 jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/net/AprEndpoint.java Index: AprEndpoint.java

cvs commit: jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/net AprEndpoint.java

2005-04-19 Thread mturk
mturk 2005/04/19 09:36:19 Modified:util/java/org/apache/tomcat/util/net AprEndpoint.java Log: Use Poll.maintain for removing timed out sockets. Also use remove flag for Poll.poll to skip calling extra JNI function for common case. Revision ChangesPath 1.10 +65

cvs commit: jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/net AprEndpoint.java

2005-04-19 Thread remm
remm2005/04/19 09:46:12 Modified:util/java/org/apache/tomcat/util/net AprEndpoint.java Log: - Add a few FIXME about polling. - Copy over the poller initialization code for sendfile. Revision ChangesPath 1.11 +18 -3

cvs commit: jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/net AprEndpoint.java

2005-04-19 Thread mturk
mturk 2005/04/19 11:56:58 Modified:util/java/org/apache/tomcat/util/net AprEndpoint.java Log: Update keepAliveCount after poll and maintain. Revision ChangesPath 1.12 +2 -0 jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/net/AprEndpoint.java

cvs commit: jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/net AprEndpoint.java

2005-04-19 Thread remm
remm2005/04/19 17:13:25 Modified:util/java/org/apache/tomcat/util/net AprEndpoint.java Log: - Sendfile fixes (does not work yet, as the poller does really weird things). Revision ChangesPath 1.13 +15 -17

cvs commit: jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/net AprEndpoint.java

2005-04-18 Thread mturk
mturk 2005/04/18 06:57:12 Modified:util/java/org/apache/tomcat/util/net AprEndpoint.java Log: Fix pool usage. Use indexed descriptors for obtaining poll params and data. It spares 3 JNI calls for each polled socket. Revision ChangesPath 1.8 +83 -91

cvs commit: jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/net AprEndpoint.java

2005-04-15 Thread remm
remm2005/04/15 02:23:37 Modified:util/java/org/apache/tomcat/util/net AprEndpoint.java Log: - Fix package name for the bundle (caused by a last minute move of the class). Revision ChangesPath 1.3 +1 -1

cvs commit: jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/net AprEndpoint.java

2005-04-15 Thread remm
remm2005/04/15 09:37:40 Modified:util/java/org/apache/tomcat/util/net AprEndpoint.java Log: - The events are not a good way to check for EOFed sockets. This fixes looping. New problem: failed requests. Revision ChangesPath 1.6 +37 -33