tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 45977] New: Duplicate comment in code - CoyoteAdapter.java
Date Thu, 09 Oct 2008 15:28:03 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=45977

           Summary: Duplicate comment in code - CoyoteAdapter.java
           Product: Tomcat 6
           Version: 6.0.18
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Catalina
        AssignedTo: dev@tomcat.apache.org
        ReportedBy: futung.cheng@yahoo.com


The XXX comments below seem to say the same thing.  Not sure what the XXX
represents.


    /**
     * Parse additional request parameters.
     */
    protected boolean postParseRequest(org.apache.coyote.Request req, 
                                       Request request,
                                       org.apache.coyote.Response res, 
                                       Response response)
            throws Exception {

        // XXX the processor needs to set a correct scheme and port prior to
this point, 
        // in ajp13 protocols dont make sense to get the port from the
connector..
        // XXX the processor may have set a correct scheme and port prior to
this point, 
        // in ajp13 protocols dont make sense to get the port from the
connector...
        // otherwise, use connector configuration
        if (! req.scheme().isNull()) {
            // use processor specified scheme to determine secure state
            request.setSecure(req.scheme().equals("https"));


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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


Mime
View raw message