aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorYuchen Wu <[email protected]>2024-08-30 16:22:43 -0700
committerEdward Wang <[email protected]>2024-09-06 13:43:53 -0700
commit5a4a2883ad3fc464f5ba7ccce053576d678bf22f (patch)
tree02a0bc904fb01125322b51d8daf9ee020d4252ed
parent61700443bf67e20aef0dd37216b4b3538fca6c3c (diff)
downloadpingora-5a4a2883ad3fc464f5ba7ccce053576d678bf22f.tar.gz
pingora-5a4a2883ad3fc464f5ba7ccce053576d678bf22f.zip
docs: fix doc comment for request_summary
Co-authored-by: Derek Argueta <[email protected]>
-rw-r--r--.bleep2
-rw-r--r--pingora-core/src/protocols/http/v1/server.rs2
-rw-r--r--pingora-core/src/protocols/http/v2/server.rs2
3 files changed, 3 insertions, 3 deletions
diff --git a/.bleep b/.bleep
index 6bd7d8b..0418189 100644
--- a/.bleep
+++ b/.bleep
@@ -1 +1 @@
-d4fa38fb7c9b12dd533b95a9d0352e8693dafe14 \ No newline at end of file
+ed4f7c51958b688c6bea000c37dc2ba54f2ccc15 \ No newline at end of file
diff --git a/pingora-core/src/protocols/http/v1/server.rs b/pingora-core/src/protocols/http/v1/server.rs
index ea99d74..8dca9d4 100644
--- a/pingora-core/src/protocols/http/v1/server.rs
+++ b/pingora-core/src/protocols/http/v1/server.rs
@@ -319,7 +319,7 @@ impl HttpSession {
.map_or(b"", |h| h.as_bytes())
}
- /// Return a string `$METHOD $PATH $HOST`. Mostly for logging and debug purpose
+ /// Return a string `$METHOD $PATH, Host: $HOST`. Mostly for logging and debug purpose
pub fn request_summary(&self) -> String {
format!(
"{} {}, Host: {}",
diff --git a/pingora-core/src/protocols/http/v2/server.rs b/pingora-core/src/protocols/http/v2/server.rs
index 447a4e3..6d6b393 100644
--- a/pingora-core/src/protocols/http/v2/server.rs
+++ b/pingora-core/src/protocols/http/v2/server.rs
@@ -344,7 +344,7 @@ impl HttpSession {
Ok(end_stream)
}
- /// Return a string `$METHOD $PATH $HOST`. Mostly for logging and debug purpose
+ /// Return a string `$METHOD $PATH, Host: $HOST`. Mostly for logging and debug purpose
pub fn request_summary(&self) -> String {
format!(
"{} {}, Host: {}:{}",