Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Close the IO from the read loop thread | Matthew Draper | 2016-10-06 | 1 | -1/+0 |
| | | | | | | | | IO#close and IO#read across threads don't get along so well: After T1 enters #read and releases the GVL, T2 can call #close on the IO, thereby both closing the fd and freeing the buffer while T1 is using them. | ||||
* | Buffer writes to the cable sockets | Matthew Draper | 2016-09-28 | 1 | -3/+54 |
| | | | | | Otherwise, they can sometimes block, leading to reduced system throughput. | ||||
* | applies new string literal convention in actioncable/lib | Xavier Noria | 2016-08-06 | 1 | -5/+5 |
| | | | | | The current code base is not uniform. After some discussion, we have chosen to go with double quotes by default. | ||||
* | Merge pull request #25624 from tinco/actioncable_write_race | Matthew Draper | 2016-07-09 | 1 | -2/+7 |
|\ | | | | | | | Fix race condition in websocket stream write | ||||
| * | fix race condition in websocket stream write | Tinco Andringa | 2016-07-01 | 1 | -0/+4 |
| | | |||||
* | | close hijacked i/o socket after use (fixes #25613) | Tinco Andringa | 2016-07-01 | 1 | -0/+1 |
|/ | |||||
* | Gracefully handle disconnected clients | Jeremy Daer | 2016-03-20 | 1 | -1/+1 |
| | | | | | | | | We'll get `Errno::ECONNRESET` if the client forcibly disconnected. Just close the socket rather than raising the exception. Handle other errors in `ClientSocket#write`, too, mirroring the Faye error handling which swallows all `StandardError` on write. | ||||
* | Only hijack Rack socket when first needed | Jon Moss | 2016-02-24 | 1 | -10/+8 |
| | | | | Fixes #23471 | ||||
* | Revert "Revert "Eliminate the EventMachine dependency"" | Matthew Draper | 2016-01-30 | 1 | -0/+59 |
| | |||||
* | Revert "Eliminate the EventMachine dependency" | David Heinemeier Hansson | 2016-01-27 | 1 | -59/+0 |
| | |||||
* | Import the relevant portions of faye-websocket | Matthew Draper | 2016-01-24 | 1 | -0/+59 |
(as adapted to use concurrent-ruby / nio4r instead of eventmachine) |