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:
parent
b72f9200ac
commit
511fe23fa2
7 changed files with 65 additions and 7 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue