[jira] [Commented] (TS-1807) shutdown on a write VIO to TSHttpConnect() doesn't propogate

2016-08-15 Thread Bryan Call (JIRA)

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

Bryan Call commented on TS-1807:


[~wbardwel]
Can you make a github pull request for this one in a couple weeks?  If not push 
out the release version.

> shutdown on a write VIO to TSHttpConnect() doesn't propogate
> 
>
> Key: TS-1807
> URL: https://issues.apache.org/jira/browse/TS-1807
> Project: Traffic Server
>  Issue Type: Bug
>  Components: HTTP
>Reporter: William Bardwell
>Assignee: William Bardwell
>  Labels: review
> Fix For: 7.0.0
>
> Attachments: TS-1807.diff
>
>
> In a plugin I am doing a TSHttpConnect() and then sending HTTP requests and 
> getting responses.  But when I try to do TSVIONBytesSet() and 
> TSVConnShutdown() on the write vio (due to the client side being done sending 
> requests) the write vio just sits there and never wakes up the other side, 
> and the response side doesn't try to close up until an inactivity timeout 
> happens.
> I think that PluginVC::do_io_shutdown() needs to do  
> other_side->read_state.vio.reenable(); when a shutdown for write shows up.  
> Then the otherside wakes up and sees the EOF due to the shutdown.



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


[jira] [Commented] (TS-1807) shutdown on a write VIO to TSHttpConnect() doesn't propogate

2015-03-17 Thread William Bardwell (JIRA)

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

William Bardwell commented on TS-1807:
--

Yeah until I can button-hole someone to look at that change and see if it is 
reasonable or an early sign of madness I don't want to check it in.

> shutdown on a write VIO to TSHttpConnect() doesn't propogate
> 
>
> Key: TS-1807
> URL: https://issues.apache.org/jira/browse/TS-1807
> Project: Traffic Server
>  Issue Type: Bug
>  Components: HTTP
>Reporter: William Bardwell
>  Labels: review
> Fix For: 6.0.0
>
> Attachments: TS-1807.diff
>
>
> In a plugin I am doing a TSHttpConnect() and then sending HTTP requests and 
> getting responses.  But when I try to do TSVIONBytesSet() and 
> TSVConnShutdown() on the write vio (due to the client side being done sending 
> requests) the write vio just sits there and never wakes up the other side, 
> and the response side doesn't try to close up until an inactivity timeout 
> happens.
> I think that PluginVC::do_io_shutdown() needs to do  
> other_side->read_state.vio.reenable(); when a shutdown for write shows up.  
> Then the otherside wakes up and sees the EOF due to the shutdown.



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


[jira] [Commented] (TS-1807) shutdown on a write VIO to TSHttpConnect() doesn't propogate

2015-03-16 Thread Phil Sorber (JIRA)

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

Phil Sorber commented on TS-1807:
-

[~wbardwel], should I just push this out further?

> shutdown on a write VIO to TSHttpConnect() doesn't propogate
> 
>
> Key: TS-1807
> URL: https://issues.apache.org/jira/browse/TS-1807
> Project: Traffic Server
>  Issue Type: Bug
>  Components: HTTP
>Reporter: William Bardwell
>  Labels: review
> Fix For: 5.3.0
>
> Attachments: TS-1807.diff
>
>
> In a plugin I am doing a TSHttpConnect() and then sending HTTP requests and 
> getting responses.  But when I try to do TSVIONBytesSet() and 
> TSVConnShutdown() on the write vio (due to the client side being done sending 
> requests) the write vio just sits there and never wakes up the other side, 
> and the response side doesn't try to close up until an inactivity timeout 
> happens.
> I think that PluginVC::do_io_shutdown() needs to do  
> other_side->read_state.vio.reenable(); when a shutdown for write shows up.  
> Then the otherside wakes up and sees the EOF due to the shutdown.



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


[jira] [Commented] (TS-1807) shutdown on a write VIO to TSHttpConnect() doesn't propogate

2013-10-12 Thread Leif Hedstrom (JIRA)

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

Leif Hedstrom commented on TS-1807:
---

Great! Mark it for 4.2 then , which we will release mid February.



> shutdown on a write VIO to TSHttpConnect() doesn't propogate
> 
>
> Key: TS-1807
> URL: https://issues.apache.org/jira/browse/TS-1807
> Project: Traffic Server
>  Issue Type: Bug
>  Components: HTTP
>Reporter: William Bardwell
>Assignee: William Bardwell
> Fix For: 5.0.0
>
>
> In a plugin I am doing a TSHttpConnect() and then sending HTTP requests and 
> getting responses.  But when I try to do TSVIONBytesSet() and 
> TSVConnShutdown() on the write vio (due to the client side being done sending 
> requests) the write vio just sits there and never wakes up the other side, 
> and the response side doesn't try to close up until an inactivity timeout 
> happens.
> I think that PluginVC::do_io_shutdown() needs to do  
> other_side->read_state.vio.reenable(); when a shutdown for write shows up.  
> Then the otherside wakes up and sees the EOF due to the shutdown.



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Commented] (TS-1807) shutdown on a write VIO to TSHttpConnect() doesn't propogate

2013-10-12 Thread William Bardwell (JIRA)

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

William Bardwell commented on TS-1807:
--

I have some tentative fixes, not sure about a release...some time in the next 
couple months...

> shutdown on a write VIO to TSHttpConnect() doesn't propogate
> 
>
> Key: TS-1807
> URL: https://issues.apache.org/jira/browse/TS-1807
> Project: Traffic Server
>  Issue Type: Bug
>  Components: HTTP
>Reporter: William Bardwell
>Assignee: William Bardwell
> Fix For: 5.0.0
>
>
> In a plugin I am doing a TSHttpConnect() and then sending HTTP requests and 
> getting responses.  But when I try to do TSVIONBytesSet() and 
> TSVConnShutdown() on the write vio (due to the client side being done sending 
> requests) the write vio just sits there and never wakes up the other side, 
> and the response side doesn't try to close up until an inactivity timeout 
> happens.
> I think that PluginVC::do_io_shutdown() needs to do  
> other_side->read_state.vio.reenable(); when a shutdown for write shows up.  
> Then the otherside wakes up and sees the EOF due to the shutdown.



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Commented] (TS-1807) shutdown on a write VIO to TSHttpConnect() doesn't propogate

2013-10-12 Thread Leif Hedstrom (JIRA)

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

Leif Hedstrom commented on TS-1807:
---

William: Is this a bug you plan on working on? If so, can you please assign it 
to yourself, and give it a Fix Version.

> shutdown on a write VIO to TSHttpConnect() doesn't propogate
> 
>
> Key: TS-1807
> URL: https://issues.apache.org/jira/browse/TS-1807
> Project: Traffic Server
>  Issue Type: Bug
>  Components: HTTP
>Reporter: William Bardwell
> Fix For: 5.0.0
>
>
> In a plugin I am doing a TSHttpConnect() and then sending HTTP requests and 
> getting responses.  But when I try to do TSVIONBytesSet() and 
> TSVConnShutdown() on the write vio (due to the client side being done sending 
> requests) the write vio just sits there and never wakes up the other side, 
> and the response side doesn't try to close up until an inactivity timeout 
> happens.
> I think that PluginVC::do_io_shutdown() needs to do  
> other_side->read_state.vio.reenable(); when a shutdown for write shows up.  
> Then the otherside wakes up and sees the EOF due to the shutdown.



--
This message was sent by Atlassian JIRA
(v6.1#6144)