]> git.ipfire.org Git - thirdparty/tvheadend.git/commit
FreeBSD: Fix recv problem if no data received.
authorE.Smith <31170571+azlm8t@users.noreply.github.com>
Fri, 17 Aug 2018 22:05:40 +0000 (23:05 +0100)
committerJaroslav Kysela <perex@perex.cz>
Mon, 3 Sep 2018 13:45:31 +0000 (15:45 +0200)
commit3895c923a3a959da05080831b8146c09ed143b00
treeffee16d1c9dedffe17118b8f6718669491c193a5
parentdd422e936bb139c27ad1a2ed66ac57f3a7100cfd
FreeBSD: Fix recv problem if no data received.

If using satip then we would frequently fail to read the data and
then disconnect with errno 0.

So, we now make the FreeBSD socket read consistent with the Linux
version and return EIO on non-error.
src/tcp.c