• jwang's avatar
    Securely close SSL conection · 063b26fe
    jwang authored
    For SSL in close_connection, current implementation use close_socket_gracefully to close socket firstly, then SSL_free. In my
    testing, this approach may cause some pending write data missing. I'd suggest use standard SSL_shutdown in SSL conection. It
    need call twice according to openSSL manual - one call sends the close_notify alert and one call receives the response from
    the peer
    063b26fe
Name
Last commit
Last update
build Loading commit data...
examples Loading commit data...
lua-5.2.1 Loading commit data...
test Loading commit data...
.travis.yml Loading commit data...
LICENSE Loading commit data...
Makefile Loading commit data...
README.md Loading commit data...
UserManual.md Loading commit data...
main.c Loading commit data...
mod_lua.c Loading commit data...
mongoose.c Loading commit data...
mongoose.h Loading commit data...