[jira] [Commented] (PROTON-2338) Allow proactor raw connections to be half closed

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

[jira] [Commented] (PROTON-2338) Allow proactor raw connections to be half closed

Ganesh Murthy (Jira)

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

ASF subversion and git services commented on PROTON-2338:

Commit addf35b355983f00057530447d235d1521426aa9 in qpid-proton's branch refs/heads/master from Andrew Stitcher
[ https://gitbox.apache.org/repos/asf?p=qpid-proton.git;h=addf35b ]

PROTON-2338: Implement proactor raw connection half close operations

The raw connection state machine has been rejigged to encompass half closed
states. The previous separate read/write state booleans have been
combined into a single state. This should allow for clearer connection
state tracking.

> Allow proactor raw connections to be half closed
> ------------------------------------------------
>                 Key: PROTON-2338
>                 URL: https://issues.apache.org/jira/browse/PROTON-2338
>             Project: Qpid Proton
>          Issue Type: Improvement
>          Components: proton-c
>            Reporter: Andrew Stitcher
>            Assignee: Andrew Stitcher
>            Priority: Major
> The current API for raw connections only allows the connection to be fully closed
> One of the applications for this API is to proxy existing connections. These connections can be half closed (ie the remote end could call {{shutdown(fd , SHUT_RD)}} on their end in which case the proxy should do the same to its proxied connection.
> This is currently impossible with the existing API. So it is necessary to introduce APIs for half closing for both read and write.

This message was sent by Atlassian Jira

To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]