Searched refs:sock_timeout (Results 1 – 3 of 3) sorted by relevance
291 _PyTime_t sock_timeout; /* Operation timeout in seconds; member
545 #define IS_SELECTABLE(s) (_PyIsSelectable_fd((s)->sock_fd) || (s)->sock_timeout <= 0)922 if (s->sock_timeout > 0 in sock_call_ex()948 return sock_call_ex(s, writing, func, data, 0, NULL, s->sock_timeout); in sock_call()984 s->sock_timeout = 0; in init_sockobject()988 s->sock_timeout = defaulttimeout; in init_sockobject()2783 s->sock_timeout = _PyTime_FromSeconds(block ? -1 : 0); in sock_setblocking()2804 if (s->sock_timeout) { in sock_getblocking()2873 s->sock_timeout = timeout; in sock_settimeout()2916 if (s->sock_timeout < 0) { in sock_gettimeout()2920 double seconds = _PyTime_AsSecondsDouble(s->sock_timeout); in sock_gettimeout()[all …]
388 ((sock != NULL) ? (sock)->sock_timeout : 0)881 if (sock && sock->sock_timeout >= 0) { in newPySSLSocket()945 nonblocking = (sock->sock_timeout >= 0); in _ssl__SSLSocket_do_handshake_impl()2239 if (s->sock_timeout > 0) in PySSL_select()2322 nonblocking = (sock->sock_timeout >= 0); in _ssl__SSLSocket_write_impl()2489 nonblocking = (sock->sock_timeout >= 0); in _ssl__SSLSocket_read_impl()2588 nonblocking = (sock->sock_timeout >= 0); in _ssl__SSLSocket_shutdown_impl()