Benjamin Mahler created MESOS-7931:
--------------------------------------

             Summary: LibeventSSLSocket send does not expose progress.
                 Key: MESOS-7931
                 URL: https://issues.apache.org/jira/browse/MESOS-7931
             Project: Mesos
          Issue Type: Bug
          Components: libprocess
            Reporter: Benjamin Mahler


Currently, {{LibeventSSLSocket::send(const char* data, size_t size)}}, unlike 
{{PollSocket}} and the POSIX socket API, will only return once all of the data 
has been written. The caller is unable to see if some progress could be made on 
writing the data.

This is problematic. For example, if we want to implement a send timeout, we 
cannot cancel the timeout when progress is made, since we're only notified when 
the whole send finishes.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to