[jbossts-issues] [JBoss JIRA] (JBTM-2841) HybridSocketEndpointQueue::_send() needs wrapper around apr_socket_send()

Tom Jenkinson (JIRA) issues at jboss.org
Thu Jul 5 05:35:05 EDT 2018


     [ https://issues.jboss.org/browse/JBTM-2841?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tom Jenkinson updated JBTM-2841:
--------------------------------
    Fix Version/s: 5.next
                       (was: 5.9.0.Final)


> HybridSocketEndpointQueue::_send() needs wrapper around apr_socket_send()
> -------------------------------------------------------------------------
>
>                 Key: JBTM-2841
>                 URL: https://issues.jboss.org/browse/JBTM-2841
>             Project: JBoss Transaction Manager
>          Issue Type: Bug
>          Components: BlackTie
>            Reporter: Amos Feng
>            Assignee: Amos Feng
>             Fix For: 5.next
>
>
> tpreturn() seems to non-block send without checking tranfer length.
> It needs a wrapper of looping apr_socket_send() until all of the data write to the socket.
> similar like [stomp_write_buffer|https://github.com/jbosstm/narayana/blob/c035f66960d189a5b96d1940c9d251a4e2d7b113/blacktie/hybrid/src/main/cpp/stomp.c]



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the jbossts-issues mailing list