about summary refs log tree commit homepage
path: root/lib/mongrel.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/mongrel.rb')
-rw-r--r--lib/mongrel.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/mongrel.rb b/lib/mongrel.rb
index d4e0f56..28baace 100644
--- a/lib/mongrel.rb
+++ b/lib/mongrel.rb
@@ -57,6 +57,9 @@ module Mongrel
     
     # Register a handler object at a particular URI. The handler can be whatever
     # you want, including an array. It's up to you what to do with it.
+    #
+    # Registering a handler is not necessarily threadsafe, so be careful if you go
+    # mucking around once the server is running.
     def register(uri, handler)
       raise RegistrationError, "#{uri.inspect} is already registered" if @routes[uri]
       raise RegistrationError, "URI is empty" if !uri or uri.empty?