tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jfarc...@apache.org
Subject cvs commit: jakarta-tomcat-connectors/http11/src/java/org/apache/coyote/http11 Http11Processor.java
Date Mon, 01 Dec 2003 23:58:53 GMT
jfarcand    2003/12/01 15:58:53

  Modified:    http11/src/java/org/apache/coyote/http11
                        Http11Processor.java
  Log:
  Revert my last commit based on Remy's feedback.
  
  Revision  Changes    Path
  1.90      +4 -4      jakarta-tomcat-connectors/http11/src/java/org/apache/coyote/http11/Http11Processor.java
  
  Index: Http11Processor.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/http11/src/java/org/apache/coyote/http11/Http11Processor.java,v
  retrieving revision 1.89
  retrieving revision 1.90
  diff -u -r1.89 -r1.90
  --- Http11Processor.java	1 Dec 2003 20:44:14 -0000	1.89
  +++ Http11Processor.java	1 Dec 2003 23:58:53 -0000	1.90
  @@ -1294,11 +1294,11 @@
   
           if (colonPos < 0) {
               if (sslSupport == null) {
  -                // Default HTTTP port
  -                request.setServerPort(socket.getLocalPort());
  +                // 80 - Default HTTTP port
  +                request.setServerPort(80);
               } else {
  -                // Default HTTPS port
  -                request.setServerPort(socket.getLocalPort());
  +                // 443 - Default HTTPS port
  +                request.setServerPort(443);
               }
               request.serverName().setChars(hostNameC, 0, valueL);
           } else {
  
  
  

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


Mime
View raw message