mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
adding a more docs on closing response streams
This commit is contained in:
parent
dd871a3d72
commit
08b107e345
1 changed files with 4 additions and 1 deletions
|
@ -24,7 +24,10 @@ module ActionController # :nodoc:
|
|||
# object to be committed. Make sure all headers are set before calling write
|
||||
# or close on your stream.
|
||||
#
|
||||
# The other caveat is that you actions are executed in a separate thread than
|
||||
# You *must* call close on your stream when you're finished, otherwise the
|
||||
# socket may be left open forever.
|
||||
#
|
||||
# The final caveat is that you actions are executed in a separate thread than
|
||||
# the main thread. Make sure your actions are thread safe, and this shouldn't
|
||||
# be a problem (don't share state across threads, etc).
|
||||
module Live
|
||||
|
|
Loading…
Reference in a new issue