We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a562790 commit dfe625eCopy full SHA for dfe625e
lib/net/ldap.rb
@@ -556,6 +556,7 @@ def initialize(args = {})
556
@force_no_page = args[:force_no_page] || DefaultForceNoPage
557
@encryption = normalize_encryption(args[:encryption]) # may be nil
558
@connect_timeout = args[:connect_timeout]
559
+ @socket_class = args[:socket_class]
560
561
if pr = @auth[:password] and pr.respond_to?(:call)
562
@auth[:password] = pr.call
@@ -1343,6 +1344,7 @@ def new_connection
1343
1344
:hosts => @hosts,
1345
:encryption => @encryption,
1346
:instrumentation_service => @instrumentation_service,
1347
+ :socket_class => @socket_class,
1348
:connect_timeout => @connect_timeout
1349
1350
# Force connect to see if there's a connection error
0 commit comments