We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e25b881 commit b8b9042Copy full SHA for b8b9042
lib/net/ldap.rb
@@ -553,6 +553,7 @@ def initialize(args = {})
553
@force_no_page = args[:force_no_page] || DefaultForceNoPage
554
@encryption = normalize_encryption(args[:encryption]) # may be nil
555
@connect_timeout = args[:connect_timeout]
556
+ @socket_class = args[:socket_class]
557
558
if pr = @auth[:password] and pr.respond_to?(:call)
559
@auth[:password] = pr.call
@@ -1315,6 +1316,7 @@ def new_connection
1315
1316
:hosts => @hosts,
1317
:encryption => @encryption,
1318
:instrumentation_service => @instrumentation_service,
1319
+ :socket_class => @socket_class,
1320
:connect_timeout => @connect_timeout
1321
1322
# Force connect to see if there's a connection error
0 commit comments