[Groonga-commit] ranguba/groonga-client at 4242b06 [master] groonga-client: disable auto retry on read timeout

Back to archive index

Kouhei Sutou null+****@clear*****
Fri Oct 27 12:10:48 JST 2017


Kouhei Sutou	2017-10-27 12:10:48 +0900 (Fri, 27 Oct 2017)

  New Revision: 4242b06e71f0857497ba03dec91bbdbb9ac39d56
  https://github.com/ranguba/groonga-client/commit/4242b06e71f0857497ba03dec91bbdbb9ac39d56

  Message:
    groonga-client: disable auto retry on read timeout

  Modified files:
    bin/groonga-client

  Modified: bin/groonga-client (+6 -0)
===================================================================
--- bin/groonga-client    2017-10-26 11:28:45 +0900 (686bb36)
+++ bin/groonga-client    2017-10-27 12:10:48 +0900 (e99dc75)
@@ -17,6 +17,12 @@
 # License along with this library; if not, write to the Free Software
 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
 
+require "net/http"
+
+if Net::HTTP.const_defined?(:IDEMPOTENT_METHODS_)
+  Net::HTTP::IDEMPOTENT_METHODS_.clear
+end
+
 require "groonga/client/command-line/groonga-client"
 
 command_line = Groonga::Client::CommandLine::GroongaClient.new
-------------- next part --------------
HTML����������������������������...
URL: https://lists.osdn.me/mailman/archives/groonga-commit/attachments/20171027/fc27adbe/attachment.htm 



More information about the Groonga-commit mailing list
Back to archive index