1
0
Fork 0
mirror of https://repo.or.cz/socat.git synced 2025-07-13 23:13:24 +00:00

writefull() respects total inactivity timeout

This commit is contained in:
Gerhard Rieger 2025-01-10 19:41:34 +01:00
parent 1878ae93fd
commit 1154e69d3e
12 changed files with 31 additions and 15 deletions

View file

@ -50,7 +50,7 @@ ssize_t xiowrite(xiofile_t *file, const void *buff, size_t bytes) {
switch (pipe->dtype & XIODATA_WRITEMASK) {
case XIOWRITE_STREAM:
writt = writefull(pipe->fd, buff, bytes);
writt = writefull(pipe->fd, buff, bytes, NULL);
if (writt < 0) {
_errno = errno;
switch (_errno) {