about summary refs log tree commit homepage
path: root/lib/yahns/wbuf_common.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/yahns/wbuf_common.rb')
-rw-r--r--lib/yahns/wbuf_common.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/yahns/wbuf_common.rb b/lib/yahns/wbuf_common.rb
index c51050b..ee18218 100644
--- a/lib/yahns/wbuf_common.rb
+++ b/lib/yahns/wbuf_common.rb
@@ -38,6 +38,7 @@ module Yahns::WbufCommon # :nodoc:
     end while @sf_count > 0
     wbuf_close(client)
   rescue
+    @wbuf_persist = false # ensure a hijack response is not called
     wbuf_close(client)
     raise
   end