diff options
author | Tinco Andringa <mail@tinco.nl> | 2016-07-01 00:42:51 +0200 |
---|---|---|
committer | Tinco Andringa <mail@tinco.nl> | 2016-07-01 23:03:30 +0200 |
commit | 3120b51de7d391d04eae5332b91c753d0643cbd4 (patch) | |
tree | 15a1d2fe4d11a6df14c5763b15331ea0530cd621 /actioncable/lib/action_cable/connection | |
parent | b036b7a8106e4362f909401cc5a26c92887d2852 (diff) | |
download | rails-3120b51de7d391d04eae5332b91c753d0643cbd4.tar.gz rails-3120b51de7d391d04eae5332b91c753d0643cbd4.tar.bz2 rails-3120b51de7d391d04eae5332b91c753d0643cbd4.zip |
close hijacked i/o socket after use (fixes #25613)
Diffstat (limited to 'actioncable/lib/action_cable/connection')
-rw-r--r-- | actioncable/lib/action_cable/connection/stream.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/actioncable/lib/action_cable/connection/stream.rb b/actioncable/lib/action_cable/connection/stream.rb index 0cf59091bc..c250cf92fc 100644 --- a/actioncable/lib/action_cable/connection/stream.rb +++ b/actioncable/lib/action_cable/connection/stream.rb @@ -50,6 +50,7 @@ module ActionCable def clean_rack_hijack return unless @rack_hijack_io @event_loop.detach(@rack_hijack_io, self) + @rack_hijack_io.close @rack_hijack_io = nil end end |