1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Add resolve_timeout to TCPSocket [Feature #17134]

This commit is contained in:
Masaki Matsushita 2020-08-28 13:07:31 +09:00
parent b72f9200ac
commit 511fe23fa2
7 changed files with 65 additions and 7 deletions

View file

@ -34,7 +34,7 @@ socks_init(VALUE sock, VALUE host, VALUE port)
init = 1;
}
return rsock_init_inetsock(sock, host, port, Qnil, Qnil, INET_SOCKS);
return rsock_init_inetsock(sock, host, port, Qnil, Qnil, INET_SOCKS, Qnil);
}
#ifdef SOCKS5