Github user ffcai commented on the pull request:

    https://github.com/apache/trafficserver/pull/216#issuecomment-111380014
  
    @sudheerv , as discussed some earlier, in transaction interception case, 
ATS would not have chance to handle the *"Expect: 100-continue"* header. Our 
sherpa plugin intercepts in the *TS_HTTP_READ_REQUEST_HDR_HOOK* point, whereas 
ATS handles "Expect" header in *HttpSM::state_send_server_request_header* call 
(old patch), which would not have chance to execute in interception case.
    *HttpTransact::HandleRequest* is called after *RemapRequest*, which is a 
later point of *TS_HTTP_READ_REQUEST_HDR_HOOK*. I think here we have to send 
the 100 continue response in *HttpSM::state_read_client_request_header*.
    
https://trafficserver.readthedocs.org/en/latest/sdk/http-hooks-and-transactions.en.html#http-txn-state-diagram


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to