File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -541,6 +541,7 @@ def initialize(args = {})
541541 @force_no_page = args [ :force_no_page ] || DefaultForceNoPage
542542 @encryption = normalize_encryption ( args [ :encryption ] ) # may be nil
543543 @connect_timeout = args [ :connect_timeout ]
544+ @socket_class = args [ :socket_class ]
544545
545546 if pr = @auth [ :password ] and pr . respond_to? ( :call )
546547 @auth [ :password ] = pr . call
@@ -1305,7 +1306,8 @@ def new_connection
13051306 :hosts => @hosts ,
13061307 :encryption => @encryption ,
13071308 :instrumentation_service => @instrumentation_service ,
1308- :connect_timeout => @connect_timeout
1309+ :connect_timeout => @connect_timeout ,
1310+ :socket_class => @socket_class
13091311
13101312 # Force connect to see if there's a connection error
13111313 connection . socket
You can’t perform that action at this time.
0 commit comments