about summary refs log tree commit homepage
path: root/lib/rainbows/revactor/body.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rainbows/revactor/body.rb')
-rw-r--r--lib/rainbows/revactor/body.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rainbows/revactor/body.rb b/lib/rainbows/revactor/body.rb
index 1dd01f2..ad2bc55 100644
--- a/lib/rainbows/revactor/body.rb
+++ b/lib/rainbows/revactor/body.rb
@@ -9,7 +9,7 @@ module Rainbows::Revactor::Body
   if IO.method_defined?(:sendfile_nonblock)
     def write_body_file(client, body, range)
       sock = client.instance_variable_get(:@_io)
-      pfx = ::Revactor::TCP::Socket === client ? :tcp : :unix
+      pfx = Revactor::TCP::Socket === client ? :tcp : :unix
       write_complete = T[:"#{pfx}_write_complete", client]
       closed = T[:"#{pfx}_closed", client]
       offset, count = range ? range : [ 0, body.stat.size ]