DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=32781>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=32781

           Summary: attribute scheme not being recognized
           Product: Tomcat 5
           Version: 5.5.4
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Connector:Coyote
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


The scheme attribute for the default CoyoteConnector (which i believe is
org.apache.coyote.tomcat4.CoyoteConnector) is not being recognized right away.
Right away sounds ambiguous, and it is annoying.  But right after starting
the server, the scheme will be returned (request.getScheme()) will be returned
as http instead of https.

For example, with a connector like
    <Connector port="80"
               maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
               enableLookups="false" redirectPort="443" acceptCount="100"
               debug="0" connectionTimeout="20000"
               scheme="https" secure="false"
               disableUploadTimeout="true" />

Immediately after starting tomcat running a jsp such as:
<html><head></head><body>
getScheme=<%= request.getScheme() %>
</body></html>

gives the result of:
<html><head></head><body>
getScheme=http
</body></html>

That all is very reproducable.  The ambiguousness comes in later.  After letting
the server run for awhile, it'll start returning https as expected.  I have no
concrete data on "awhile".

I have run into this problem with tomcat:
 4.1.31 on AIX and Linux.
 5.0.25 on AIX
 5.5.4 on Linux

The tomcat-users list did not bite on this problem after I posted it last week,
and I can't seem to find any reference to it in bugzilla.

Please contact me if you have any questions or are having difficulty 
reproducing.

Thanks,

Eric

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

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to