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:
parent
1878ae93fd
commit
1154e69d3e
12 changed files with 31 additions and 15 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue