about summary refs log tree commit homepage
path: root/lib/yahns.rb
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2013-10-29 02:36:06 +0000
committerEric Wong <normalperson@yhbt.net>2013-10-29 02:42:26 +0000
commit01cef69c94033ecc2cb22b209f79deab2b0d55d6 (patch)
tree210f762f44bb0eaa6987d40c9600f0278d8f4f8a /lib/yahns.rb
parent66d4e85c5d8c5fa2874c6b5c73cf936e51e8537c (diff)
downloadyahns-01cef69c94033ecc2cb22b209f79deab2b0d55d6.tar.gz
We may also return HTTP 408 errors in this case.
Diffstat (limited to 'lib/yahns.rb')
-rw-r--r--lib/yahns.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/yahns.rb b/lib/yahns.rb
index 0499640..51a6c4c 100644
--- a/lib/yahns.rb
+++ b/lib/yahns.rb
@@ -48,6 +48,9 @@ module Yahns # :nodoc:
   # for client shutdowns/disconnects.
   class ClientShutdown < EOFError # :nodoc:
   end
+
+  class ClientTimeout < RuntimeError # :nodoc:
+  end
 end
 
 # FIXME: require lazily