aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller/metal/live.rb
Commit message (Collapse)AuthorAgeFilesLines
* Creating an SSE class to be used with ActionController::Live.wangjohn2013-07-301-0/+74
|
* Fix typoRafael Mendonça França2013-04-091-2/+2
|
* fix AP warning; remove unused variableVipul A M2013-04-091-0/+1
|
* Exception handling for controllers using ActionController::LiveSean Griffin2013-03-181-0/+28
| | | | | | | | | Any exceptions that occured at the view or controller level for a controller using ActionController::Live would cause the server to either hang with an open socket indefinitely, or immediately crash (depending on whether the server was launched with rails s or directly). Changed the behavior of exceptions to act the same as streaming templates for html requests, and allow for an on_error callback if needed.
* Handle conditional get in live requests - this will prevent error when using ↵Bernard Potocki2013-03-141-0/+4
| | | | stale on live streams(issue #9636)
* ensure response.stream is closedSam Ruby2013-03-091-0/+1
|
* push header merge down to a private method so that live responses can have ↵Aaron Patterson2012-08-131-5/+4
| | | | their own header object
* live response headers can be merged with a hashAaron Patterson2012-08-131-0/+4
|
* use a sized buffer to prevent the queue being too largeAaron Patterson2012-08-081-10/+10
|
* Merge pull request #7204 from frodsan/update_conventionsRafael Mendonça França2012-07-311-8/+8
|\ | | | | Follow code conventions in metal/live
| * update coding conventions in metal/liveFrancesco Rodriguez2012-07-301-8/+8
| |
* | fix nodoc in metal/liveFrancesco Rodriguez2012-07-301-4/+4
|/
* fix typo in metal/live [ci skip]Francesco Rodriguez2012-07-301-6/+6
|
* close the response when the response body is set so that normal render calls ↵Aaron Patterson2012-07-291-0/+5
| | | | will work
* header hash is duped before being sent up the rack stackAaron Patterson2012-07-291-0/+4
|
* freeze the header objectAaron Patterson2012-07-291-0/+5
|
* make sure set_response! sets the correct response objectAaron Patterson2012-07-291-0/+9
|
* adding a more docs on closing response streamsAaron Patterson2012-07-291-1/+4
|
* pushing Buffer up to LiveAaron Patterson2012-07-291-22/+22
|
* adding some docsAaron Patterson2012-07-291-1/+26
|
* Controller actions are processed in a separate thread for liveAaron Patterson2012-07-291-2/+26
| | | | | | | | | | responses. Processing controller actions in a separate thread allows us to work around the rack api - we can allow the user to set status and headers, then block until the first bytes are written. As soon as the first bytes are written, the main thread can return the status, headers, and (essentially) a queue for the body.
* raise exceptions on header set after response committedAaron Patterson2012-07-291-0/+21
|
* added live responses which can be written and read in separate threadsAaron Patterson2012-07-291-0/+42