You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Benjamin Mahler (JIRA)" <ji...@apache.org> on 2017/09/01 22:35:00 UTC

[jira] [Created] (MESOS-7931) LibeventSSLSocket send does not expose progress.

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)