You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 9, 2022. It is now read-only.
We may be able to avoid a lot of copying when we use a DispatchSource to wait for the socket being ready. And then do the sends manually until EWOULDBLOCK. A buffer is maintained for pipelining anyways.
(it is a little harder than it sounds because we may need to split blocks).
When doing this, we should also prepare for writev in the same run. (and maybe add API which supports that on the user side)
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
We may be able to avoid a lot of copying when we use a
DispatchSource
to wait for the socket being ready. And then do thesend
s manually untilEWOULDBLOCK
. A buffer is maintained for pipelining anyways.(it is a little harder than it sounds because we may need to split blocks).
When doing this, we should also prepare for
writev
in the same run. (and maybe add API which supports that on the user side)The text was updated successfully, but these errors were encountered: