diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-11-18 17:30:45 +0100 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-11-18 17:37:54 +0100 |
commit | 0e9e70ca4fe1ab1fafd7b403da7cc0c6a8d65954 (patch) | |
tree | ddabf3631fa59917209b118aa8f183814c130373 /.github/FUNDING.yml | |
parent | b7a840fd0d18b002dbecc8553c52b514321472c6 (diff) | |
download | serenity-0e9e70ca4fe1ab1fafd7b403da7cc0c6a8d65954.zip |
IPv4: Disconnected non-blocking sockets were not signalling EOF
After a socket has disconnected, we shouldn't return -EAGAIN. Instead
we should allow userspace to read/recvfrom the socket until its packet
queue has been exhausted.
At that point, we now return 0, signalling EOF.
It might be even better to start returning -ENOTCONN after signalling
EOF once. I'm not sure how that should work, needs looking into.
Diffstat (limited to '.github/FUNDING.yml')
0 files changed, 0 insertions, 0 deletions