You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "weijin (JIRA)" <ji...@apache.org> on 2013/04/14 17:42:15 UTC

[jira] [Created] (TS-1816) active_timeout may lead TS crash

weijin created TS-1816:
--------------------------

             Summary: active_timeout may lead TS crash
                 Key: TS-1816
                 URL: https://issues.apache.org/jira/browse/TS-1816
             Project: Traffic Server
          Issue Type: Bug
          Components: HTTP
            Reporter: weijin


1: client request with 'If-Modified-Since'
2: ts has no copy in the cache and prepare for cache write
3: ts send server without the field 'If-Modified-Since'
4: server response hdr is back (200 0K)
5: suppose the request`s If-Modified-Since < reponse`s Last-Modified, ts will send client 304 back(HttpSM::setup_internal_transfer)
6: ts will do the tunnel_handler_cache_fill to write the response to cache

the is a problem in step 5 and step 6. In step 5, all the event`s associated by server_session is also handled by HttpSM::state_read_server_response_header rather than the tunnel, which may lead to serious problems.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira