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

Rajith Attapattu updated QPID-1571:
-----------------------------------

    Attachment: qpid-1571.patch

The following patch tries to solve the issue with minimum impact to the 
existing code.
However we would need to revisit this logic after M4 and provide a more cleaner 
solution.
With this patch it passes all the ant tests run using the ssl test profile 
checked in QPID-1572

> SSL connection close does not shutdown the connection cleanly
> -------------------------------------------------------------
>
>                 Key: QPID-1571
>                 URL: https://issues.apache.org/jira/browse/QPID-1571
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Client
>    Affects Versions: M4
>            Reporter: Rajith Attapattu
>            Assignee: Rajith Attapattu
>             Fix For: M4
>
>         Attachments: qpid-1571.patch
>
>
> The the SSL connection close currently throws the "SSLSender Closed" 
> exception due to calling the send method with an empty buffer after setting 
> "closed" to true.
> Once this issue is resolved, an error in the SSL shutdown sequence was 
> exposed. Basically we need to send the shutdown messages properly before we 
> could terminate the underlying socket connection.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to