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

Amos Feng (JIRA) issues at jboss.org
Tue Jan 17 09:22:00 EST 2017


Amos Feng created JBTM-2841:
-------------------------------

             Summary: 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.2.3#72005)


More information about the jbossts-issues mailing list