You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@trafficserver.apache.org by "Raghav Jeyaraman (JIRA)" <ji...@apache.org> on 2010/04/02 20:32:27 UTC

[jira] Created: (TS-288) the state machine should provide APIs that identify whether the state machine is an internal or external sm

 the state machine should provide APIs that identify whether the state machine is an internal or external sm 
-------------------------------------------------------------------------------------------------------------

                 Key: TS-288
                 URL: https://issues.apache.org/jira/browse/TS-288
             Project: Traffic Server
          Issue Type: Improvement
            Reporter: Raghav Jeyaraman
            Assignee: Raghav Jeyaraman


Plugins like StaleWhileRevalidate  need to know whether the current state machine that they are running within was originated by an external connection (through the http port) or as an internal one such as one created by something like InkHTTPConnect.

Currently, there is no way for 
   - the state machine to know whether its a state machine created by an external connection or one that is internal
   - since the SM itself doesnt know how it was created, plugins have no way of knowing either

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (TS-288) the state machine should provide APIs that identify whether the state machine is an internal or external sm

Posted by "Raghav Jeyaraman (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TS-288?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Raghav Jeyaraman updated TS-288:
--------------------------------

    Attachment: PluginVC.h.diff
                I_NetVConnection.h.diff

Changes to core to check if state machine is internal or not

>  the state machine should provide APIs that identify whether the state machine is an internal or external sm 
> -------------------------------------------------------------------------------------------------------------
>
>                 Key: TS-288
>                 URL: https://issues.apache.org/jira/browse/TS-288
>             Project: Traffic Server
>          Issue Type: Improvement
>            Reporter: Raghav Jeyaraman
>            Assignee: Raghav Jeyaraman
>         Attachments: I_NetVConnection.h.diff, InkAPI.cc.diff, PluginVC.h.diff, ts.h.diff
>
>
> Plugins like StaleWhileRevalidate  need to know whether the current state machine that they are running within was originated by an external connection (through the http port) or as an internal one such as one created by something like InkHTTPConnect.
> Currently, there is no way for 
>    - the state machine to know whether its a state machine created by an external connection or one that is internal
>    - since the SM itself doesnt know how it was created, plugins have no way of knowing either

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (TS-288) the state machine should provide APIs that identify whether the state machine is an internal or external sm

Posted by "Raghav Jeyaraman (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TS-288?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Raghav Jeyaraman resolved TS-288.
---------------------------------

    Resolution: Fixed

Code committed through Vijay.
Thanks,
--raghav

>  the state machine should provide APIs that identify whether the state machine is an internal or external sm 
> -------------------------------------------------------------------------------------------------------------
>
>                 Key: TS-288
>                 URL: https://issues.apache.org/jira/browse/TS-288
>             Project: Traffic Server
>          Issue Type: Improvement
>            Reporter: Raghav Jeyaraman
>            Assignee: Raghav Jeyaraman
>         Attachments: I_NetVConnection.h.diff, InkAPI.cc.diff, PluginVC.h.diff, ts.h.diff
>
>
> Plugins like StaleWhileRevalidate  need to know whether the current state machine that they are running within was originated by an external connection (through the http port) or as an internal one such as one created by something like InkHTTPConnect.
> Currently, there is no way for 
>    - the state machine to know whether its a state machine created by an external connection or one that is internal
>    - since the SM itself doesnt know how it was created, plugins have no way of knowing either

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Work started: (TS-288) the state machine should provide APIs that identify whether the state machine is an internal or external sm

Posted by "Raghav Jeyaraman (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TS-288?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Work on TS-288 started by Raghav Jeyaraman.

>  the state machine should provide APIs that identify whether the state machine is an internal or external sm 
> -------------------------------------------------------------------------------------------------------------
>
>                 Key: TS-288
>                 URL: https://issues.apache.org/jira/browse/TS-288
>             Project: Traffic Server
>          Issue Type: Improvement
>            Reporter: Raghav Jeyaraman
>            Assignee: Raghav Jeyaraman
>
> Plugins like StaleWhileRevalidate  need to know whether the current state machine that they are running within was originated by an external connection (through the http port) or as an internal one such as one created by something like InkHTTPConnect.
> Currently, there is no way for 
>    - the state machine to know whether its a state machine created by an external connection or one that is internal
>    - since the SM itself doesnt know how it was created, plugins have no way of knowing either

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (TS-288) the state machine should provide APIs that identify whether the state machine is an internal or external sm

Posted by "Raghav Jeyaraman (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TS-288?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Raghav Jeyaraman updated TS-288:
--------------------------------

    Attachment: InkAPI.cc.diff
                ts.h.diff

New API to check if state machine is internal or not.

>  the state machine should provide APIs that identify whether the state machine is an internal or external sm 
> -------------------------------------------------------------------------------------------------------------
>
>                 Key: TS-288
>                 URL: https://issues.apache.org/jira/browse/TS-288
>             Project: Traffic Server
>          Issue Type: Improvement
>            Reporter: Raghav Jeyaraman
>            Assignee: Raghav Jeyaraman
>         Attachments: InkAPI.cc.diff, ts.h.diff
>
>
> Plugins like StaleWhileRevalidate  need to know whether the current state machine that they are running within was originated by an external connection (through the http port) or as an internal one such as one created by something like InkHTTPConnect.
> Currently, there is no way for 
>    - the state machine to know whether its a state machine created by an external connection or one that is internal
>    - since the SM itself doesnt know how it was created, plugins have no way of knowing either

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.