Repository navigation
Replace ws-rs with async-tungstenite. - #27164
Conversation
|
Heads up! This PR modifies the following files:
|
| @@ -0,0 +1,3 @@ | |||
| [third-party-cookie-accepted.https.html] | |||
There was a problem hiding this comment.
This new test failure shows up because tungstenite correctly passes through multiple Set-Cookie headers in the WS response, whereas ws-rs appears to silently drop all but the first.
|
r? @nox |
|
This looks cool! Will review on Monday! |
|
@bors-servo try=wpt |
Replace ws-rs with async-tungstenite. This change moves us from ws-rs (which doesn't see a lot of maintainer activity) and its custom async implementation to tungstenite and the tokio ecosystem. This is particularly important because of #27043, which breaks SSL websockets on Windows. Depends on sdroege/async-tungstenite#40. --- - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes fix #27043 - [x] There are tests for these changes
|
💔 Test failed - status-taskcluster |
|
@bors-servo try=wpt |
Replace ws-rs with async-tungstenite. This change moves us from ws-rs (which doesn't see a lot of maintainer activity) and its custom async implementation to tungstenite and the tokio ecosystem. This is particularly important because of #27043, which breaks SSL websockets on Windows. Depends on sdroege/async-tungstenite#40. --- - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes fix #27043 - [x] There are tests for these changes
|
💔 Test failed - status-taskcluster |
|
Ok, the test failures appear to be related to the host replacement that happens for WPT which confuses openssl. I need to figure out what we do differently in HTTPS code that allows it to work. |
|
@bors-servo try=wpt |
Replace ws-rs with async-tungstenite. This change moves us from ws-rs (which doesn't see a lot of maintainer activity) and its custom async implementation to tungstenite and the tokio ecosystem. This is particularly important because of #27043, which breaks SSL websockets on Windows. Depends on sdroege/async-tungstenite#40. --- - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes fix #27043 - [x] There are tests for these changes
|
💔 Test failed - status-taskcluster |
|
@bors-servo retry |
Replace ws-rs with async-tungstenite. This change moves us from ws-rs (which doesn't see a lot of maintainer activity) and its custom async implementation to tungstenite and the tokio ecosystem. This is particularly important because of #27043, which breaks SSL websockets on Windows. Depends on sdroege/async-tungstenite#40. --- - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes fix #27043 - [x] There are tests for these changes
|
💔 Test failed - status-taskcluster |
|
@bors-servo retry |
Replace ws-rs with async-tungstenite. This change moves us from ws-rs (which doesn't see a lot of maintainer activity) and its custom async implementation to tungstenite and the tokio ecosystem. This is particularly important because of #27043, which breaks SSL websockets on Windows. Depends on sdroege/async-tungstenite#40. --- - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes fix #27043 - [x] There are tests for these changes
|
💔 Test failed - status-taskcluster |
|
@bors-servo retry |
|
☀️ Test successful - status-taskcluster |
Remove explicit Host header from websocket connection. This was a regression from #27164, and fixing it allows hubs.mozilla.com to work again.
Remove explicit Host header from websocket connection. This was a regression from #27164, and fixing it allows hubs.mozilla.com to work again.
This change moves us from ws-rs (which doesn't see a lot of maintainer activity) and its custom async implementation to tungstenite and the tokio ecosystem. This is particularly important because of #27043, which breaks SSL websockets on Windows.
Depends on sdroege/async-tungstenite#40.
./mach build -ddoes not report any errors./mach test-tidydoes not report any errors