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
Fix FileChannel leak when request fails before FileMultipartPart gets written, closeAsyncHttpClient#1418
Motivation:
We currently eagerly open FileChannel in FileMultipartPart prior to
trying to send the request.
If we can’t even try to send the body, eg because connection fails, we
never close this FileChannel.
Modification:
Lazily open FileChannel when writing.
Result:
No more file descriptor leak
0 commit comments