mirror of
https://github.com/VallierDev/uu-remote-linux.git
synced 2026-11-16 16:50:41 +01:00
Release v0.2.40
TURN TCP: report an inspecting proxy that answers with HTTP inside the relay stream. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
0cbfc5b4f1
commit
4cfdd563f7
5 files changed
+38
-2
No files matched your search
@@ -117,6 +117,8 @@ mod tests {
|
||||
assert_eq!(frame_len([0x40, 0x00, 0x00, 0x05]), Some(12));
|
||||
assert_eq!(frame_len([0x40, 0x00, 0x00, 0x08]), Some(12));
|
||||
assert_eq!(frame_len([0x80, 0x00, 0x00, 0x00]), None);
|
||||
assert!(webrtc::ice::agent::turn_tcp::is_http_reply(*b"HTTP"));
|
||||
assert!(!webrtc::ice::agent::turn_tcp::is_http_reply([0x40, 0x00, 0x00, 0x05]));
|
||||
}
|
||||
|
||||
#[tokio::test]
|
||||
|
||||
Reference in new issue
Block a user