[Groonga-commit] ranguba/groonga-client at bcce0ee [master] Enable TLS when https protocol specified

Back to archive index

KITAITI Makoto null+****@clear*****
Sun Feb 28 03:02:10 JST 2016


KITAITI Makoto	2016-02-28 03:02:10 +0900 (Sun, 28 Feb 2016)

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

  Merged 6ec9a71: Merge pull request #8 from KitaitiMakoto/https

  Message:
    Enable TLS when https protocol specified

  Modified files:
    lib/groonga/client.rb

  Modified: lib/groonga/client.rb (+1 -0)
===================================================================
--- lib/groonga/client.rb    2016-02-28 02:59:03 +0900 (fc20875)
+++ lib/groonga/client.rb    2016-02-28 03:02:10 +0900 (59ee634)
@@ -78,6 +78,7 @@ module Groonga
       if protocol == :gqtp
         @connection = Groonga::Client::Protocol::GQTP.new(options)
       else
+        options[:use_ssl] = true if protocol == :https
         @connection = Groonga::Client::Protocol::HTTP.new(options)
       end
     end
-------------- next part --------------
HTML����������������������������...
Download 



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