Re: [libmicrohttpd] How to implement gnutls session resumption in libmicrohttpd

2023-01-19 Thread Jimmy
Dear Christian, Thank you very much for your help ! I followed your advice and made the following code: https://github.com/jiju8420/resume_session . It seems to work because my session ticket value is not zero when I scan the network traffic with Wireshark. Please feel free to suggest ideas to i

Re: [libmicrohttpd] How to implement gnutls session resumption in libmicrohttpd

2022-12-24 Thread Christian Grothoff
Dear Jimmy, I've not tested this, but I believe this should work: - create a key using gnutls_session_ticket_key_generate - register a MHD_NotifyConnectionCallback using MHD_OPTION_NOTIFY_CONNECTION - inside that callback, use MHD_get_connection_info with MHD_CONNECTION_INFO_GNUTLS_SESSION to g

[libmicrohttpd] How to implement gnutls session resumption in libmicrohttpd

2022-12-23 Thread Jimmy
Hi everyone, I contact you because I can't find any answer to my problem by searching on the Internet. I thank you for the time you will take to read me. I was reading the documentation of gnutls and I saw that it is possible to implement session resumption as described in the gnutls documentatio