UIO_MAXIOV to newer IOV_MAX

This commit is contained in:
jingxiaobing 2018-08-27 17:51:20 +08:00
parent 9c29626488
commit a4df0275ab

View File

@ -255,7 +255,7 @@ network_ssl_write(network_socket *sock, int send_chunks)
if (chunk_count == 0)
return NETWORK_SOCKET_SUCCESS;
gint max_chunk_count = UIO_MAXIOV;
gint max_chunk_count = IOV_MAX;
chunk_count = chunk_count > max_chunk_count ? max_chunk_count : chunk_count;