libmicrohttpd

HTTP/1.x server C library (MHD 1.x, stable)
Log | Files | Refs | Submodules | README | LICENSE

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;