At 2016-11-19 23:07:03, "Azat Khuzhin" <a3at.mail@xxxxxxxxx> wrote: >On Sat, Nov 19, 2016 at 6:20 AM, 刘涛 <liutao74748@xxxxxxx> wrote: >> Hi, >> >> If I free the evhttp_connection and create a new on after it is closed, then >> there is no problem. >> >> But I just want to know why the https connection can not reconnect to the >> https server after the close state is detected like http conneciton. >> The underlying code should have done the corresponding job, but it seems >> like doesn't work fine. > >Hi, > >So indeed there is a bug there, can you please compile from next git >repo/branch: > https://github.com/azat/libevent.git be-openssl-fd-reset-fix > >And check does it fix the issue for you? > >I'd tested it with openssl 1.1 and unit test, and it works: >$ regress --no-fork http/https_connection >http/https_connection: OK >1 tests ok. (0 skipped) > >Thanks, >Azat. >*********************************************************************** >To unsubscribe, send an e-mail to majordomo@xxxxxxxxxxxxx with >unsubscribe libevent-users in the body.