CLI argument to shell example callback
Save state of netconf chunked framing between inputs Treat EBADF in internal protocol (triggered by freebsd+notifications) Test: chunked encoding: use printf instead of echo
This commit is contained in:
parent
ac7673bc35
commit
ecac027d18
7 changed files with 45 additions and 17 deletions
|
|
@ -281,7 +281,8 @@ atomicio(ssize_t (*fn) (int, void *, size_t),
|
|||
res = 0;
|
||||
else if (errno == EPIPE) /* Client shutdown */
|
||||
res = 0;
|
||||
/* SIGPIPE if client is killed */
|
||||
else if (errno == EBADF) /* client shutdown - freebsd */
|
||||
res = 0;
|
||||
case 0: /* fall thru */
|
||||
return (res);
|
||||
default:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue