]> granicus.if.org Git - libevent/commit
don't fail be_null_filter if bytes are copied
authorGreg Hazel <ghazel@gmail.com>
Wed, 21 Mar 2018 01:04:53 +0000 (18:04 -0700)
committerAzat Khuzhin <a3at.mail@gmail.com>
Sun, 25 Mar 2018 19:55:34 +0000 (22:55 +0300)
commit4ba48739673060baea581774992970fa46c2f813
treeef647c62c992079709a903d11d3ef0b777b29a0e
parent4055081499cba32642dd72427a8f9d3ad7e50e79
don't fail be_null_filter if bytes are copied

Otherwise it will not reset timeouts for the IO, but other things should
still works correctly.

Also evbuffer_remove_buffer() could return 0, due to empty buffers, for
example during flushing bufferevent, so let's count this is BEV_OK too.
bufferevent_filter.c