Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F33216007
D11851.1768554260.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
898 B
Referenced Files
None
Subscribers
None
D11851.1768554260.diff
View Options
diff --git a/services/identity/src/websockets/mod.rs b/services/identity/src/websockets/mod.rs
--- a/services/identity/src/websockets/mod.rs
+++ b/services/identity/src/websockets/mod.rs
@@ -67,11 +67,12 @@
let addr = self.addr;
let future = async move {
- tracing::debug!(
+ debug!(
"Incoming HTTP request on WebSocket port: {} {}",
req.method(),
req.uri().path()
);
+
if hyper_tungstenite::is_upgrade_request(&req) {
let (response, websocket) = hyper_tungstenite::upgrade(&mut req, None)?;
@@ -82,12 +83,6 @@
return Ok(response);
}
- debug!(
- "Incoming HTTP request on WebSocket port: {} {}",
- req.method(),
- req.uri().path()
- );
-
let response = match req.uri().path() {
"/health" => Response::new(Body::from("OK")),
_ => Response::builder()
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Jan 16, 9:04 AM (13 h, 9 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5943092
Default Alt Text
D11851.1768554260.diff (898 B)
Attached To
Mode
D11851: [identity] remove duplicate debug log for HTTP requests
Attached
Detach File
Event Timeline
Log In to Comment