[gnutls-devel] GnuTLS | Sockets: implement sendmsg()-like functions on Win32 (bfd453f3)

Read-only notification of GnuTLS library development activities gnutls-devel at lists.gnutls.org
Thu Nov 25 13:36:47 CET 2021




Gisle Vanem commented on a discussion on lib/system/sockets.c: https://gitlab.com/gnutls/gnutls/-/commit/bfd453f39cb6126e561000a711264b2535eefc36#note_743752305

>  {
>  	return send(GNUTLS_POINTER_TO_INT(ptr), data, data_size, 0);
>  }
> +
> +ssize_t
> +system_writev(gnutls_transport_ptr_t ptr, const giovec_t * iovec,
> +	      int iovec_cnt)
> +{
> +	WSABUF bufs[iovec_cnt];

Surely there must be a upper-limit on `iovec_cnt`? <br>
E.g. `#define IOVEC_MAX_CNT 20` or something.

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/commit/bfd453f39cb6126e561000a711264b2535eefc36#note_743752305
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/20211125/fec8c819/attachment-0001.html>


More information about the Gnutls-devel mailing list