summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorKir Shatrov <shatrov@me.com>2020-06-04 16:25:20 +0100
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2020-06-05 08:46:06 +0900
commita16fcb420549ae45f7e29a923d2230b0980071f3 (patch)
treeeb8f4ac510cc5d1da61eb7df1f508a53e19471bd /lib
parent4bff8e84232594ecb9914e2a8437b7c40a63b799 (diff)
Update docs in net/http.rb
...to reflect that Net::HTTP.start accepts keep_alive_timeout as an option.
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/3185
Diffstat (limited to 'lib')
-rw-r--r--lib/net/http.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/net/http.rb b/lib/net/http.rb
index ce251b41de..fe237dcf66 100644
--- a/lib/net/http.rb
+++ b/lib/net/http.rb
@@ -585,7 +585,7 @@ module Net #:nodoc:
# _opt_ :: optional hash
#
# _opt_ sets following values by its accessor.
- # The keys are ipaddr, ca_file, ca_path, cert, cert_store, ciphers,
+ # The keys are ipaddr, ca_file, ca_path, cert, cert_store, ciphers, keep_alive_timeout,
# close_on_empty_response, key, open_timeout, read_timeout, write_timeout, ssl_timeout,
# ssl_version, use_ssl, verify_callback, verify_depth and verify_mode.
# If you set :use_ssl as true, you can use https and default value of