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

Alan M. Carroll edited comment on TS-3058 at 6/17/15 9:50 PM:
--------------------------------------------------------------

I still can't replicate this behavior even after consulting with Daniel 
Morilha. I think the original report was in error, I think this never worked 
correctly for a {{PluginVC}} which is what {{TSHttpConnect}} returns. I have 
tweaked {{PluginVC}} and {{UnixNetVConnection}} to return a reasonable value 
(their {{closed}} member) in response to {{TSVConnClosedGet}}, added some 
additional tests in the internal regression tests and put a debug assert in to 
check for failure. The original {{TSVConnClosedGet}} had a comment about how 
the {{get_data}} call couldn't fail but as far as I could tell it almost always 
failed. Only a few types of VCs had the correct support (only 
{{INKVConnInternal}}, used for things like transforms).


was (Author: amc):
I still can't replicate this behavior. I think the original report was in 
error, I think this never worked correctly for a {{PluginVC}} which is what 
{{TSHttpConnect}} returns. I have tweaked {{PluginVC}} and 
{{UnixNetVConnection}} to return a reasonable value (their {{closed}} member) 
in response to {{TSVConnClosedGet}}, added some additional tests in the 
internal regression tests and put a debug assert in to check for failure. The 
original {{TSVConnClosedGet}} had a comment about how the {{get_data}} call 
couldn't fail but as far as I could tell it almost always failed. Only a few 
types of VCs had the correct support (only {{INKVConnInternal}}, used for 
things like transforms).

> TSVConnClosedGet() broken in 5.0.1
> ----------------------------------
>
>                 Key: TS-3058
>                 URL: https://issues.apache.org/jira/browse/TS-3058
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Plugins, TS API
>    Affects Versions: 5.0.1
>            Reporter: Sudheer Vinukonda
>            Assignee: Alan M. Carroll
>              Labels: yahoo
>             Fix For: 6.0.0
>
>
> One of our ATS users that uses TSVConnClosedGet() noticed that it's broken in 
> ats5. Below's his email:
> "It looks like something changed on ATS that now a connection opened with 
> TSHttpConnect, the call to TSVConnClosedGet(continuation) returns closed 
> before being able to read anything. I am able to successfully write (101 and 
> 103) but I am not able to get any reading event as I check if the connection 
> is closed."



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

Reply via email to