[gnutls-devel] GnuTLS | ktls: sendfile (!1486)

Read-only notification of GnuTLS library development activities gnutls-devel at lists.gnutls.org
Wed Feb 16 18:38:42 CET 2022



Merge request https://gitlab.com/gnutls/gnutls/-/merge_requests/1486 was reviewed by Daiki Ueno

--
  
Daiki Ueno started a new discussion on lib/record.c: https://gitlab.com/gnutls/gnutls/-/merge_requests/1486#note_845314531

> +	}
> +
> +	fp = fdopen(fd, "rb");

I'd suggest not using stdio functions (`fread`, `fwrite`, etc) for this as it has its own buffers (see `man stdbuf`). Maybe you could simply write with `read(fd, ...)`?


-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/merge_requests/1486
You're receiving this email because of your account on gitlab.com.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnutls-devel/attachments/20220216/d8bda294/attachment.html>


More information about the Gnutls-devel mailing list