CVSROOT: /cvs Module name: src Changes by: [email protected] 2017/08/28 11:31:00
Modified files:
usr.sbin/relayd: relay.c
Log message:
Do not close the relay if data is still in the output buffer.
Otherwise data not written could get lost. Also try to drain the
buffers when socket splicing should be enabled. The latter was
lost when the expicit bufferevent_enable() was added in relay_write().
bug report, analysis, initial fix, testing Rivo Nurges; OK beck@
