From: Sébastien G. <sgi...@gm...> - 2012-07-20 13:10:02
|
I got an issue when doing the following steps : - connect to turnserver TLS - SSL allocate request 1st try - SSL allocate request 2nd try - disconnect from turnserver TLS - connect to turnserver TLS -> SSL_ERROR_SSL: session id context uninitialized appears I use a unique client and everything is done by the code, so timespan between 1st disconnection and 2nd connection may be very short and certificates used are strictly identical Here is turnserver log trace [turnserver.c:5223] TurnServer start [turnserver.c:5360] Run with uid_real=0 gid_real=0 uid_eff=1001 gid_eff=1001 [turnserver.c:4661] Received TLS on listening address [turnserver.c:4588] Received data from TLS client SSL_ERROR_WANT_READ [turnserver.c:4624] Error: Succès [turnserver.c:4588] Received data from TLS client SSL_ERROR_WANT_READ [turnserver.c:4624] Error: Succès [turnserver.c:4588] Received data from TLS client [turnserver.c:3269] No message integrity [turnserver.c:4588] Received data from TLS client [turnserver.c:3577] OK basic validation are done, process the TURN message [turnserver.c:2941] Process a TURN message [turnserver.c:2301] Allocate request received! [turnserver.c:2766] Account BobbyLeTeletubby, allocations used: 1 [turnserver.c:2902] Allocation successful, send success allocate response [turnserver.c:4588] Received data from TLS client [turnserver.c:4641] Error: Succès [turnserver.c:4661] Received TLS on listening address [turnserver.c:4588] Received data from TLS client SSL_ERROR_SSL: session id context uninitialized [turnserver.c:4624] Error: Succès It seems to be a standard behavior of OpenSSL, so is there something wrong with quick TLS disconnection-reconnection ? http://www.openssl.org/docs/ssl/SSL_CTX_set_session_id_context.html Thanks |