On Fri, Apr 24, 2020 at 1:26 PM Yann Ylavic <ylavic.dev@xxxxxxxxx> wrote: > > - Custom input BIO_METHOD (using httpd filters' stack) asserted its > _ctrl() was never called, so far.. > The new BIO_eof() calls in codebase, notably from ssl3_read_n(), > breaks this assertion. > Handling the case for BIO_CTRL_EOF made it, dunno if others may be > bitten by that. BTW, what is a BIO supposed to do on BIO_CTRL_EOF request when there is no pending data, some kind of speculative read to check whether the connection is still up or returning zero lazily is fine? Regards, Yann.