Home
last modified time | relevance | path

Searched refs:sock_timeout (Results 1 - 4 of 4) sorted by relevance

/third_party/python/Modules/
H A Dsocketmodule.c563 #define IS_SELECTABLE(s) (_PyIsSelectable_fd((s)->sock_fd) || (s)->sock_timeout <= 0)
763 /* s->sock_timeout is in seconds, timeout in ms */ in internal_select()
946 if (s->sock_timeout > 0 in sock_call_ex()
972 return sock_call_ex(s, writing, func, data, 0, NULL, s->sock_timeout); in sock_call()
1008 s->sock_timeout = 0; in init_sockobject()
1012 s->sock_timeout = defaulttimeout; in init_sockobject()
2824 s->sock_timeout = _PyTime_FromSeconds(block ? -1 : 0); in sock_setblocking()
2845 if (s->sock_timeout) { in sock_getblocking()
2914 s->sock_timeout = timeout; in sock_settimeout()
2957 if (s->sock_timeout < in sock_gettimeout()
[all...]
H A Dsocketmodule.h306 _PyTime_t sock_timeout; /* Operation timeout in seconds; member
H A D_ssl.c386 ((sock != NULL) ? (sock)->sock_timeout : 0)
885 if (sock && sock->sock_timeout >= 0) { in newPySSLSocket()
949 nonblocking = (sock->sock_timeout >= 0); in _ssl__SSLSocket_do_handshake_impl()
2276 if (s->sock_timeout > 0) in PySSL_select()
2359 nonblocking = (sock->sock_timeout >= 0); in _ssl__SSLSocket_write_impl()
2528 nonblocking = (sock->sock_timeout >= 0); in _ssl__SSLSocket_read_impl()
2628 nonblocking = (sock->sock_timeout >= 0); in _ssl__SSLSocket_shutdown_impl()
/third_party/python/Lib/
H A Dssl.py1040 sock_timeout = sock.gettimeout()
1090 self.settimeout(sock_timeout) # Must come after setblocking() calls.

Completed in 28 milliseconds