tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rj...@apache.org
Subject svn commit: r1726991 - in /tomcat/trunk/java/org/apache/coyote/ajp: AbstractAjpProtocol.java AjpProcessor.java
Date Wed, 27 Jan 2016 10:56:12 GMT
Author: rjung
Date: Wed Jan 27 10:56:11 2016
New Revision: 1726991

URL: http://svn.apache.org/viewvc?rev=1726991&view=rev
Log:
Adjust javadoc phrasing since the attributes
finally have another name.

Followup to r1726972.

Modified:
    tomcat/trunk/java/org/apache/coyote/ajp/AbstractAjpProtocol.java
    tomcat/trunk/java/org/apache/coyote/ajp/AjpProcessor.java

Modified: tomcat/trunk/java/org/apache/coyote/ajp/AbstractAjpProtocol.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/coyote/ajp/AbstractAjpProtocol.java?rev=1726991&r1=1726990&r2=1726991&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/coyote/ajp/AbstractAjpProtocol.java (original)
+++ tomcat/trunk/java/org/apache/coyote/ajp/AbstractAjpProtocol.java Wed Jan 27 10:56:11 2016
@@ -86,11 +86,15 @@ public abstract class AbstractAjpProtoco
     // ------------------------------------------ managed in the ProtocolHandler
 
     /**
-     * Ignore explicit flush?
-     * An explicit flush will send a zero byte AJP13 SEND_BODY_CHUNK
-     * package. AJP does flush at the and of the response, so if
+     * Send AJP flush packet when flushing.
+     * An flush packet is a zero byte AJP13 SEND_BODY_CHUNK
+     * packet. mod_jk and mod_proxy_ajp interprete this as
+     * a request to flush data to the client.
+     * AJP always does flush at the and of the response, so if
      * it is not important, that the packets get streamed up to
-     * the client, do not use explicit flush.
+     * the client, do not use extra flush packets.
+     * For compatibility and to stay on the safe side, flush
+     * packets are enabled by default.
      */
     protected boolean ajpFlush = true;
     public boolean getAjpFlush() { return ajpFlush; }

Modified: tomcat/trunk/java/org/apache/coyote/ajp/AjpProcessor.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/coyote/ajp/AjpProcessor.java?rev=1726991&r1=1726990&r2=1726991&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/coyote/ajp/AjpProcessor.java (original)
+++ tomcat/trunk/java/org/apache/coyote/ajp/AjpProcessor.java Wed Jan 27 10:56:11 2016
@@ -282,11 +282,15 @@ public class AjpProcessor extends Abstra
 
 
     /**
-     * Ignore explicit flush?
-     * An explicit flush will send a zero byte AJP13 SEND_BODY_CHUNK
-     * package. AJP does flush at the and of the response, so if
+     * Send AJP flush packet when flushing.
+     * An flush packet is a zero byte AJP13 SEND_BODY_CHUNK
+     * packet. mod_jk and mod_proxy_ajp interprete this as
+     * a request to flush data to the client.
+     * AJP always does flush at the and of the response, so if
      * it is not important, that the packets get streamed up to
-     * the client, do not use explicit flush.
+     * the client, do not use extra flush packets.
+     * For compatibility and to stay on the safe side, flush
+     * packets are enabled by default.
      */
     protected boolean ajpFlush = true;
     public boolean getAjpFlush() { return ajpFlush; }



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message