idle_ready.c (319B)
1 enum MHD_Bool 2 (*idle_ready)(void *cls, 3 struct MHD_TLS_ConnectionState *cs); 4 5 6 if (MHD_TLS_CONN_NO_TLS != connection->tls_state) 7 { /* HTTPS connection. */ 8 if ((MHD_TLS_CONN_INIT <= connection->tls_state) && 9 (MHD_TLS_CONN_CONNECTED > connection->tls_state)) 10 return false; 11 } 12 return true;