mirror of
https://gitee.com/wangbin579/cetus.git
synced 2024-12-02 11:57:44 +08:00
UIO_MAXIOV to newer IOV_MAX
This commit is contained in:
parent
9c29626488
commit
a4df0275ab
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user