We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 652465e commit 62b620cCopy full SHA for 62b620c
lib/wrtc/CLAUDE.md
lib/wrtc/README.md
@@ -1 +1,3 @@
1
-fork [xiu](https://github.com/harlanc/xiu)
+Fork [xiu](https://github.com/harlanc/xiu)
2
+
3
+[Turn Server Test](https://turndemo.metered.ca/)
lib/wrtc/src/session.rs
@@ -226,7 +226,13 @@ impl WebRTCServerSession {
226
.as_ref()
227
.map(|q| SecretCarrier::Query(q.to_string()))
228
});
229
- auth.authenticate(&token_carrier)?;
230
+ if let Err(e) = auth.authenticate(&token_carrier) {
231
+ self.send_response(&Self::gen_response(http::StatusCode::UNAUTHORIZED))
232
+ .await?;
233
234
+ return Err(SessionError::AuthError(e));
235
+ }
236
}
237
238
match ty.to_lowercase().as_str() {
0 commit comments