ustream-fd: handle uloop errors
authorPhilip Craig <philipjcraig@gmail.com>
Mon, 13 Jul 2015 02:12:28 +0000 (12:12 +1000)
committerFelix Fietkau <nbd@openwrt.org>
Tue, 14 Jul 2015 14:57:05 +0000 (16:57 +0200)
commite88d816d6e462180f0337565e04e36be58a63309
treee9106ffa629d652cb5f7fa3bee497d4225c7caf3
parente7e554c194d94f43b5a1e885bddbf1f092019ac4
ustream-fd: handle uloop errors

The default uloop error handling is to delete the fd. Continue to do
that, but also set the write_error flag and notify the user.

Signed-off-by: Philip Craig <philipjcraig@gmail.com>
ustream-fd.c