mirror of
https://github.com/cuberite/libevent.git
synced 2025-09-10 13:04:23 -04:00
be_filter: actually disable output_filter during processing output
IOW: Make the code do what the comment says it should do.
This commit is contained in:
parent
2a71b33233
commit
c031215d53
@ -345,7 +345,8 @@ be_filter_process_output(struct bufferevent_filtered *bevf,
|
|||||||
|
|
||||||
/* disable the callback that calls this function
|
/* disable the callback that calls this function
|
||||||
when the user adds to the output buffer. */
|
when the user adds to the output buffer. */
|
||||||
evbuffer_cb_set_flags(bufev->output, bevf->outbuf_cb, 0);
|
evbuffer_cb_clear_flags(bufev->output, bevf->outbuf_cb,
|
||||||
|
EVBUFFER_CB_ENABLED);
|
||||||
|
|
||||||
do {
|
do {
|
||||||
int processed = 0;
|
int processed = 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user