lib/httpx/resolver.rb in httpx-1.1.2 vs lib/httpx/resolver.rb in httpx-1.1.3

- old
+ new

@@ -11,13 +11,13 @@ require "httpx/resolver/system" require "httpx/resolver/native" require "httpx/resolver/https" require "httpx/resolver/multi" - @lookup_mutex = Mutex.new + @lookup_mutex = Thread::Mutex.new @lookups = Hash.new { |h, k| h[k] = [] } - @identifier_mutex = Mutex.new + @identifier_mutex = Thread::Mutex.new @identifier = 1 @system_resolver = Resolv::Hosts.new module_function