You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Ethan Lai (JIRA)" <ji...@apache.org> on 2013/12/03 02:03:36 UTC
[jira] [Updated] (TS-2397) Transaction State diagram is out-dated
[ https://issues.apache.org/jira/browse/TS-2397?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ethan Lai updated TS-2397:
--------------------------
Attachment: http-hooks-and-transactions_adding-hooks.en.rst.patch
http-hooks-and-transactions.en.rst.patch
http_state.png
Hello,
I'd want to add 2 more API hooks, TS_HTTP_POST_REMAP_HOOK & TS_HTTP_PRE_REMAP_HOOK, into state diagram based on Heitor's great contribution.
TS_HTTP_PRE_REMAP_HOOK is new name of TS_HTTP_READ_REQUEST_PRE_REMAP_HOOK since v2.1.5
> Transaction State diagram is out-dated
> --------------------------------------
>
> Key: TS-2397
> URL: https://issues.apache.org/jira/browse/TS-2397
> Project: Traffic Server
> Issue Type: Bug
> Components: Documentation
> Reporter: Igor Galić
> Attachments: http-hooks-and-transactions.en.rst.patch, http-hooks-and-transactions_adding-hooks.en.rst.patch, http_state.png
>
>
> as reported by [~yzlai] to users@
> {quote}
> I've found that the State transition in HTTP Transaction State Diagram may be incorrect.
> Per my http.* debug log,
> {code}
> (http) [0] State Transition: STATE_UNDEFINED -> API_READ_REQUEST_HDR
> (http) [0] State Transition: API_READ_REQUEST_HDR -> HTTP_API_PRE_REMAP
> (http) [0] State Transition: HTTP_API_PRE_REMAP -> HTTP_REMAP_REQUEST
> (http) [0] State Transition: HTTP_REMAP_REQUEST -> HTTP_API_POST_REMAP
> (http) [0] State Transition: HTTP_API_POST_REMAP -> CACHE_LOOKUP
> (http) [0] State Transition: CACHE_LOOKUP -> DNS_LOOKUP
> (http) [0] State Transition: DNS_LOOKUP -> API_OS_DNS
> {code}
> {{CACHE_LOOKUP}} is just after {{POST_REMAP}} and is ahead of {{DNS_LOOKUP}}.
> But in the State Diagram, {{CACHE_LOOKUP}} is after {{OS_DNS_HOOK}}.
> I'm using ats-4.0.1, it would be great if some body can correct the diagram. :)
> Many Thanks!
> -Ethan
> {quote}
> It would be really awesome if someone could update that. It would be even more awesome if that update it such that it's generated from "code", see
> http://www.opsschool.org/en/latest/meta/conventions.html and
> its code: https://raw.github.com/opsschool/curriculum/master/meta/conventions.rst as an example.
--
This message was sent by Atlassian JIRA
(v6.1#6144)