Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Creating an SSE class to be used with ActionController::Live. | wangjohn | 2013-07-30 | 1 | -0/+74 |
| | |||||
* | Fix typo | Rafael Mendonça França | 2013-04-09 | 1 | -2/+2 |
| | |||||
* | fix AP warning; remove unused variable | Vipul A M | 2013-04-09 | 1 | -0/+1 |
| | |||||
* | Exception handling for controllers using ActionController::Live | Sean Griffin | 2013-03-18 | 1 | -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 Potocki | 2013-03-14 | 1 | -0/+4 |
| | | | | stale on live streams(issue #9636) | ||||
* | ensure response.stream is closed | Sam Ruby | 2013-03-09 | 1 | -0/+1 |
| | |||||
* | push header merge down to a private method so that live responses can have ↵ | Aaron Patterson | 2012-08-13 | 1 | -5/+4 |
| | | | | their own header object | ||||
* | live response headers can be merged with a hash | Aaron Patterson | 2012-08-13 | 1 | -0/+4 |
| | |||||
* | use a sized buffer to prevent the queue being too large | Aaron Patterson | 2012-08-08 | 1 | -10/+10 |
| | |||||
* | Merge pull request #7204 from frodsan/update_conventions | Rafael Mendonça França | 2012-07-31 | 1 | -8/+8 |
|\ | | | | | Follow code conventions in metal/live | ||||
| * | update coding conventions in metal/live | Francesco Rodriguez | 2012-07-30 | 1 | -8/+8 |
| | | |||||
* | | fix nodoc in metal/live | Francesco Rodriguez | 2012-07-30 | 1 | -4/+4 |
|/ | |||||
* | fix typo in metal/live [ci skip] | Francesco Rodriguez | 2012-07-30 | 1 | -6/+6 |
| | |||||
* | close the response when the response body is set so that normal render calls ↵ | Aaron Patterson | 2012-07-29 | 1 | -0/+5 |
| | | | | will work | ||||
* | header hash is duped before being sent up the rack stack | Aaron Patterson | 2012-07-29 | 1 | -0/+4 |
| | |||||
* | freeze the header object | Aaron Patterson | 2012-07-29 | 1 | -0/+5 |
| | |||||
* | make sure set_response! sets the correct response object | Aaron Patterson | 2012-07-29 | 1 | -0/+9 |
| | |||||
* | adding a more docs on closing response streams | Aaron Patterson | 2012-07-29 | 1 | -1/+4 |
| | |||||
* | pushing Buffer up to Live | Aaron Patterson | 2012-07-29 | 1 | -22/+22 |
| | |||||
* | adding some docs | Aaron Patterson | 2012-07-29 | 1 | -1/+26 |
| | |||||
* | Controller actions are processed in a separate thread for live | Aaron Patterson | 2012-07-29 | 1 | -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 committed | Aaron Patterson | 2012-07-29 | 1 | -0/+21 |
| | |||||
* | added live responses which can be written and read in separate threads | Aaron Patterson | 2012-07-29 | 1 | -0/+42 |