Truncated output when writing to a pipe using sendfile

Gianni Ceccarelli dakkar at thenautilus.net
Sat May 7 13:03:51 UTC 2022


On 2022-05-07 Filips R <frfilips at gmail.com> wrote:
> Looks like the sendfile call comes from cache.c:95 -
> https://git.zx2c4.com/cgit/tree/cache.c?h=v1.2.3&id=55fa25adb097d2681607d8b0f51a0c393cc9af1a#n95
> 
> senfile(2) says that a successful call may write fewer bytes than
> requested; the caller should be prepared to retry the call if there
> were unsent bytes

Looks like the same issue as
https://www.mail-archive.com/cgit@lists.zx2c4.com/msg03158.html

-- 
	Dakkar - <Mobilis in mobile>
	GPG public key fingerprint = A071 E618 DD2C 5901 9574
	                             6FE2 40EA 9883 7519 3F88
	                    key id = 0x75193F88



More information about the CGit mailing list