aboutsummaryrefslogtreecommitdiff
path: root/src/gnutls/idle_ready.c
blob: ddc471a94d98ee0f1f3277c7345f63db2af8537c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
enum MHD_Bool
(*idle_ready)(void *cls,
              struct MHD_TLS_ConnectionState *cs);


if (MHD_TLS_CONN_NO_TLS != connection->tls_state)
{         /* HTTPS connection. */
  if ((MHD_TLS_CONN_INIT <= connection->tls_state) &&
      (MHD_TLS_CONN_CONNECTED > connection->tls_state))
    return false;
}
return true;