[ 
https://issues.apache.org/jira/browse/PROTON-2368?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Robbie Gemmell updated PROTON-2368:
-----------------------------------
        Fix Version/s:     (was: proton-c-0.35.0)
                       proton-c-0.36.0
    Affects Version/s: proton-c-0.35.0

> Add API to force close raw connections
> --------------------------------------
>
>                 Key: PROTON-2368
>                 URL: https://issues.apache.org/jira/browse/PROTON-2368
>             Project: Qpid Proton
>          Issue Type: New Feature
>          Components: proton-c
>    Affects Versions: proton-c-0.35.0, proton-c-0.34.0
>            Reporter: Ken Giusti
>            Priority: Major
>             Fix For: proton-c-0.36.0
>
>
> The raw connection API needs a way to force the underlying socket to close 
> immediately, releasing any pending un-sent write buffers.
>  
> The current API (pn_raw_connection_close()) will delay closing the underlying 
> socket until all pending write buffers have been written to the socket.  This 
> is ideal behavior for a well functioning remote client.  However if a client 
> stops consuming from the socket due to an error condition, etc.  then the 
> socket will never close (no PN_RAW_CONNECTION_DISCONNECTED is generated) if 
> pending write buffers cannot be written to the socket (blocked).
>  
> In the case of a misbehaving client the API needs a way to force close the 
> connection immediately, returning any unsent write buffers to the application.
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

Reply via email to