Repository navigation
Spawn a thread for WebSocket messages. - #6635
Conversation
Ms2ger
commented
Jul 15, 2015
|
Critic review: https://critic.hoppipolla.co.uk/r/5561 This is an external review system which you may optionally use for the code review of your pull request. In order to help critic track your changes, please do not make in-place history rewrites (e.g. via |
|
@bors-servo: r+ Reviewed 1 of 1 files at r1, 1 of 1 files at r2, 1 of 1 files at r3, 1 of 1 files at r4. Comments from the review on Reviewable.io |
|
📌 Commit 7d42435 has been approved by |
Spawn a thread for WebSocket messages. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6635) <!-- Reviewable:end -->
|
💔 Test failed - mac1 |
|
@bors-servo r=jdm I swear I fixed that… |
|
📌 Commit 617b901 has been approved by |
|
⌛ Testing commit 617b901 with merge c50199e... |
Spawn a thread for WebSocket messages. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6635) <!-- Reviewable:end -->
|
💔 Test failed - mac1 |
|
One case of #6350, one non-websocket timeout that is a mystery to me, and one error that looks like a legitimate failure that needs correcting: |
|
@bors-servo: r+ |
|
📌 Commit 371dd3f has been approved by |
|
Hrm... "when is a file not a file?" WHEN IT'S A SOCKET! Something else to try... |
|
@bors-servo: retry |
|
💔 Test failed - mac1 |
|
Curses; foiled again... |
|
OK, I suspect we're going to have to actually fix the problem that's causing us to open so many handles instead of just patching over it. |
|
☔ The latest upstream changes (presumably #6694) made this pull request unmergeable. Please resolve the merge conflicts. |
There's no real reason to have internal dynamic dispatch inside a trait object.
The receiver will be used from another thread than the WebSocket object in the future.
This needs to happen off a task because we won't be able to access the WebSocket object directly once this code moves to a background thread. There is no behaviour change, because we make sure that self.ready_state is not Connecting in Send().
|
@bors-servo r=jdm |
|
📌 Commit 32ddd35 has been approved by |
Spawn a thread for WebSocket messages. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6635) <!-- Reviewable:end -->
|
💔 Test failed - linux2 |
Spawn a thread for WebSocket messages. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6635) <!-- Reviewable:end -->