[jira] [Commented] (TS-4960) Undo internal request tunnelling hacks

2016-10-12 Thread James Peach (JIRA)

[ 
https://issues.apache.org/jira/browse/TS-4960?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15569456#comment-15569456
 ] 

James Peach commented on TS-4960:
-

AFAICT TS-3777 doesn't fix the underlying problem, which I expect is related to 
the way PluginVC works. It looks to me like TS-3777 works around the lack of 
event delivery probably caused by TS-3404?

> Undo internal request tunnelling hacks
> --
>
> Key: TS-4960
> URL: https://issues.apache.org/jira/browse/TS-4960
> Project: Traffic Server
>  Issue Type: Bug
>  Components: Core
>Reporter: James Peach
>
> {noformat}
> proxy/http/HttpSM.cc:is_eligible_post_request &= 
> !vc->get_is_internal_request();
> {noformat}
> {{HttpSM::tunnel_handler_ua}} does shenanigans based on whether this is an 
> internal transaction or not. This is a complete hack. Internal transactions 
> are no supposed to behave differently.
> AFAICT, this hack from  TS-3404 led to TS-3777, which led to TS-4924, which 
> makes it impossible for protocol plugins to use keepalive.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (TS-4960) Undo internal request tunnelling hacks

2016-10-12 Thread Thomas Jackson (JIRA)

[ 
https://issues.apache.org/jira/browse/TS-4960?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15569429#comment-15569429
 ] 

Thomas Jackson commented on TS-4960:


There is a fairly long chain of bugs around this-- so I'll attempt to dump as 
much context here as I can.

Originally we had an issue with internal transactions were getting stuck on 
inactivity timers because they'd get into a half-close state-- at the time 
plugin VC stuff didn't fire the appropriate events for the half-close state to 
ever end. Later (seemingly unrelated and unknown that they interact) TS-3777 
came around and added missing events from the pluginVC.

To [~jpe...@apache.org]'s point-- the plugin VCs shouldn't be treated any 
differently-- the original patch was to workaround the fact that they *where* 
different in the code, which seems to be fixed now with TS-3777. So, assuming 
pluginVCs now fire all the same events-- we *should* be able to remove the 
patch from TS-3404 

> Undo internal request tunnelling hacks
> --
>
> Key: TS-4960
> URL: https://issues.apache.org/jira/browse/TS-4960
> Project: Traffic Server
>  Issue Type: Bug
>  Components: Core
>Reporter: James Peach
>
> {noformat}
> proxy/http/HttpSM.cc:is_eligible_post_request &= 
> !vc->get_is_internal_request();
> {noformat}
> {{HttpSM::tunnel_handler_ua}} does shenanigans based on whether this is an 
> internal transaction or not. This is a complete hack. Internal transactions 
> are no supposed to behave differently.
> AFAICT, this hack from  TS-3404 led to TS-3777, which led to TS-4924, which 
> makes it impossible for protocol plugins to use keepalive.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)