tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kkoli...@apache.org
Subject svn commit: r1486968 - in /tomcat/trunk/java/org/apache: coyote/spdy/SpdyAprNpnHandler.java coyote/spdy/SpdyProxyProtocol.java tomcat/spdy/SpdyContext.java
Date Tue, 28 May 2013 15:28:27 GMT
Author: kkolinko
Date: Tue May 28 15:28:27 2013
New Revision: 1486968

URL: http://svn.apache.org/r1486968
Log:
Correct typo in method name. (Noted when reviewing r1486884 ).

Though I think it might be clearer to split this method into two separate setters, setTls()
and setCompression().

Modified:
    tomcat/trunk/java/org/apache/coyote/spdy/SpdyAprNpnHandler.java
    tomcat/trunk/java/org/apache/coyote/spdy/SpdyProxyProtocol.java
    tomcat/trunk/java/org/apache/tomcat/spdy/SpdyContext.java

Modified: tomcat/trunk/java/org/apache/coyote/spdy/SpdyAprNpnHandler.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/coyote/spdy/SpdyAprNpnHandler.java?rev=1486968&r1=1486967&r2=1486968&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/coyote/spdy/SpdyAprNpnHandler.java (original)
+++ tomcat/trunk/java/org/apache/coyote/spdy/SpdyAprNpnHandler.java Tue May 28 15:28:27 2013
@@ -70,7 +70,7 @@ public class SpdyAprNpnHandler implement
         spdyContext = new SpdyContext();
         if (sslContext == 0) {
             // Apr endpoint without SSL - proxy mode.
-            spdyContext.setTlsComprression(false, false);
+            spdyContext.setTlsCompression(false, false);
             return;
         }
         if (0 != SSLExt.setNPN(sslContext, SpdyContext.SPDY_NPN_OUT)) {

Modified: tomcat/trunk/java/org/apache/coyote/spdy/SpdyProxyProtocol.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/coyote/spdy/SpdyProxyProtocol.java?rev=1486968&r1=1486967&r2=1486968&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/coyote/spdy/SpdyProxyProtocol.java (original)
+++ tomcat/trunk/java/org/apache/coyote/spdy/SpdyProxyProtocol.java Tue May 28 15:28:27 2013
@@ -89,7 +89,7 @@ public class SpdyProxyProtocol extends A
     public void start() throws Exception {
         super.start();
         spdyContext = new SpdyContext();
-        spdyContext.setTlsComprression(false, compress);
+        spdyContext.setTlsCompression(false, compress);
         spdyContext.setHandler(new SpdyHandler() {
             @Override
             public void onStream(SpdyConnection con, SpdyStream ch) throws IOException {

Modified: tomcat/trunk/java/org/apache/tomcat/spdy/SpdyContext.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/spdy/SpdyContext.java?rev=1486968&r1=1486967&r2=1486968&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/tomcat/spdy/SpdyContext.java (original)
+++ tomcat/trunk/java/org/apache/tomcat/spdy/SpdyContext.java Tue May 28 15:28:27 2013
@@ -80,7 +80,7 @@ public final class SpdyContext {
     public SpdyContext() {
     }
 
-    public void setTlsComprression(boolean tls, boolean compress) {
+    public void setTlsCompression(boolean tls, boolean compress) {
         this.tls = tls;
         this.compression = compress;
     }



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


Mime
View raw message