Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Oct 2018 16:28:39 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 232210] sendfile(2) doesn't percolate up issues with copyout(9) related to sbytes
Message-ID:  <bug-232210-227-SLCqLmlqqq@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-232210-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-232210-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D232210

Gleb Smirnoff <glebius@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|New                         |In Progress

--- Comment #2 from Gleb Smirnoff <glebius@FreeBSD.org> ---
That's a good catch, but I don't fully agree on the patch. Some return valu=
es
of sendfile aren't errors, and the patch doesn't cover them. If sendfile
returns EAGAIN, which is normal for non-blocking socket, we again ignore
copyout error. I think we should take in copyout error always.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-232210-227-SLCqLmlqqq>