]> granicus.if.org Git - libevent/commit
regress_ssl: make ssl/bufferevent_wm_filter more fault-tolerance
authorAzat Khuzhin <a3at.mail@gmail.com>
Mon, 5 Nov 2018 19:25:15 +0000 (22:25 +0300)
committerAzat Khuzhin <a3at.mail@gmail.com>
Mon, 5 Nov 2018 19:25:15 +0000 (22:25 +0300)
commit54c6fe3c06cb5342130467ecf0f78e3f6d854a36
tree42fa056240c85c779a049ccb830f1efbe9f42430
parent9040707fb176040acf250b09a223d6b4400f4086
regress_ssl: make ssl/bufferevent_wm_filter more fault-tolerance

Due to inplace callbacks (i.e. no BEV_OPT_DEFER_CALLBACKS) we cannot be
sure that wm_transfer() will not be called recursively and indeed it
still happens sometimes, and the referenced patch increase amount of
this times, especially for linux/poll.

Fixes: 66304a23cf748714159c988e78f35401c5352827 ("Fix
ssl/bufferevent_wm_filter when bev does not reach watermark on break")
test/regress_ssl.c