From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: poffice@blade.nagaokaut.ac.jp Delivered-To: poffice@blade.nagaokaut.ac.jp Received: from kankan.nagaokaut.ac.jp (kankan.nagaokaut.ac.jp [133.44.2.24]) by blade.nagaokaut.ac.jp (Postfix) with ESMTP id 03D0519E0059 for ; Sun, 20 Dec 2015 21:48:07 +0900 (JST) Received: from voscc.nagaokaut.ac.jp (voscc.nagaokaut.ac.jp [133.44.1.100]) by kankan.nagaokaut.ac.jp (Postfix) with ESMTP id A4CBDB5D88A for ; Sun, 20 Dec 2015 22:20:19 +0900 (JST) Received: from neon.ruby-lang.org (neon.ruby-lang.org [221.186.184.75]) by voscc.nagaokaut.ac.jp (Postfix) with ESMTP id 746C018CC7AF for ; Sun, 20 Dec 2015 22:20:20 +0900 (JST) Received: from [221.186.184.76] (localhost [IPv6:::1]) by neon.ruby-lang.org (Postfix) with ESMTP id 586361204AC; Sun, 20 Dec 2015 22:20:19 +0900 (JST) X-Original-To: ruby-core@ruby-lang.org Delivered-To: ruby-core@ruby-lang.org Received: from mail-lf0-f43.google.com (mail-lf0-f43.google.com [209.85.215.43]) by neon.ruby-lang.org (Postfix) with ESMTPS id EE9C212044E for ; Sun, 20 Dec 2015 22:20:13 +0900 (JST) Received: by mail-lf0-f43.google.com with SMTP id z124so92278077lfa.3 for ; Sun, 20 Dec 2015 05:20:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:content-type:subject:message-id:date:to:mime-version; bh=60Loe6GnAtnlbu9tZdsri08rjFvJph5VjseuaWvdfDw=; b=ThkRLQ7YvowvgAgB6mjoaO3rEWG49LmYCwQZags/4O6eVAPGEE1PXT+OHsiI49QM+N HgrM4YpRnts1X8PfQLLZOFs/rdupyoiJxdwI8qMHeWnQymk2uPfUJ2ocmp8Nv1GjRPb+ pmCsvy8gUJzQ5ZoqrjxiMQikBEGrb95dx6RMffYEJlGJ+T4aIfwVmi5nUgxz8x5qY7n7 Bz4gKs1w+CXvYUrX8cDi9HST0lxFFF/JqTfYdRsfxRsBn5Eq5AIFPkf+vVLtG47swi8P 848AkbE5Yc2azEJTBiU8KKQgvvUptm6gkBgGQAR3xxDp5DahcYi7U402DToEtC8fxaL0 JX3Q== X-Received: by 10.25.163.85 with SMTP id m82mr4742590lfe.76.1450617609946; Sun, 20 Dec 2015 05:20:09 -0800 (PST) Received: from [192.168.0.103] ([89.250.167.33]) by smtp.gmail.com with ESMTPSA id b13sm4229982lfb.30.2015.12.20.05.20.08 for (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 20 Dec 2015 05:20:09 -0800 (PST) From: Ilya Vassilevsky Content-Type: multipart/mixed; boundary="Apple-Mail=_6F4142AB-E8A8-4745-B977-0542B296C807" Message-Id: <385383FC-E646-43A8-8E74-4BAF59C58C51@gmail.com> Date: Sun, 20 Dec 2015 16:20:07 +0300 To: ruby-core@ruby-lang.org Mime-Version: 1.0 (Mac OS X Mail 9.2 \(3112\)) X-Mailer: Apple Mail (2.3112) X-ML-Name: ruby-core X-Mail-Count: 72413 Subject: [ruby-core:72413] Doc fix: Net::HTTP default open_timeout is 60 seconds X-BeenThere: ruby-core@ruby-lang.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Ruby developers List-Id: Ruby developers List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: ruby-core-bounces@ruby-lang.org Sender: "ruby-core" --Apple-Mail=_6F4142AB-E8A8-4745-B977-0542B296C807 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii Hello :) This is an addition to the changes in revision 52480. The default open_timeout was set to 60 seconds but the documentation still says it is nil. I hope this is useful :) --Apple-Mail=_6F4142AB-E8A8-4745-B977-0542B296C807 Content-Disposition: attachment; filename=ruby-changes.patch Content-Type: application/octet-stream; name="ruby-changes.patch" Content-Transfer-Encoding: 7bit Index: lib/net/http.rb =================================================================== --- lib/net/http.rb (revision 53220) +++ lib/net/http.rb (working copy) @@ -702,7 +702,7 @@ # Number of seconds to wait for the connection to open. Any number # may be used, including Floats for fractional seconds. If the HTTP # object cannot open a connection in this many seconds, it raises a - # Net::OpenTimeout exception. The default value is +nil+. + # Net::OpenTimeout exception. The default value is 60 seconds. attr_accessor :open_timeout # Number of seconds to wait for one block to be read (via one read(2) --Apple-Mail=_6F4142AB-E8A8-4745-B977-0542B296C807--