aboutsummaryrefslogtreecommitdiffstats
path: root/lib/webrick/httpauth/digestauth.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/webrick/httpauth/digestauth.rb')
-rw-r--r--lib/webrick/httpauth/digestauth.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/webrick/httpauth/digestauth.rb b/lib/webrick/httpauth/digestauth.rb
index 98bdbd10c7..375ec20154 100644
--- a/lib/webrick/httpauth/digestauth.rb
+++ b/lib/webrick/httpauth/digestauth.rb
@@ -111,7 +111,7 @@ module WEBrick
@instance_key = hexdigest(self.__id__, Time.now.to_i, Process.pid)
@opaques = {}
@last_nonce_expire = Time.now
- @mutex = Mutex.new
+ @mutex = Thread::Mutex.new
end
##