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
# Motivation
Right now, we call `didSendRequestPart` after passing the write to the executor. However, this does not mean that the write hit the socket. To implement proper backpressure using the delegate, we should only call this method once the write was successful.
# Modification
Pass a promise to the actual channel write and only call the delegate once that promise succeeds.
# Result
The delegate method `didSendRequestPart` is only called after the write was successful.
0 commit comments