Skip to content

Commit

Permalink
Merge pull request #84 from fjuma/WFSSL-51-1.x
Browse files Browse the repository at this point in the history
[1.x][WFSSL-51]  sessions not removed correctly
  • Loading branch information
fjuma authored Sep 30, 2020
2 parents c70464d + e4db68c commit bddfcbe
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libwfssl/src/session.c
Original file line number Diff line number Diff line change
Expand Up @@ -334,6 +334,7 @@ void remove_session_cb(SSL_CTX *ctx, SSL_SESSION * session) {
(*e)->CallVoidMethod(e, c->session_context, sessionRemove, sessionId);

(*javavm)->DetachCurrentThread(javavm);
ssl_methods.SSL_SESSION_free(session);
}

void setup_session_context(JNIEnv *e, tcn_ssl_ctxt_t *c) {
Expand Down

0 comments on commit bddfcbe

Please # to comment.