| 834 | } |
| 835 | |
| 836 | static void unsetBlockingTimeout(tls_connection *conn) { |
| 837 | anetNonBlock(NULL, conn->c.fd); |
| 838 | anetSendTimeout(NULL, conn->c.fd, 0); |
| 839 | anetRecvTimeout(NULL, conn->c.fd, 0); |
| 840 | } |
| 841 | |
| 842 | static int connTLSBlockingConnect(connection *conn_, const char *addr, int port, long long timeout) { |
| 843 | tls_connection *conn = (tls_connection *) conn_; |
no test coverage detected