diff options
author | Wladimir Palant <[email protected]> | 2024-06-10 14:29:00 +0000 |
---|---|---|
committer | Matthew (mbg) <[email protected]> | 2024-06-21 09:54:09 -0700 |
commit | 2d30077683f2c18e22f36b2872bcc7eaca85c505 (patch) | |
tree | c4721e4835341659ca47784ec376f5fa808c96ef | |
parent | 4e251f663a476d950f12e2da31c09a2dfe9b8525 (diff) | |
download | pingora-2d30077683f2c18e22f36b2872bcc7eaca85c505.tar.gz pingora-2d30077683f2c18e22f36b2872bcc7eaca85c505.zip |
Fixed typo in docs: connnection => connection
Includes-commit: bbef4bdd755c9033ab22d583ff922553b0fd603c
Replicated-from: https://github.com/cloudflare/pingora/pull/274
-rw-r--r-- | .bleep | 2 | ||||
-rw-r--r-- | pingora-core/src/protocols/http/server.rs | 2 | ||||
-rw-r--r-- | pingora-core/src/protocols/http/v1/server.rs | 4 |
3 files changed, 4 insertions, 4 deletions
@@ -1 +1 @@ -34d9d097899068340f2b65ba7e3cafa0d39387b9
\ No newline at end of file +278b102db964d20ff55a372f876e09f9f19ca999
\ No newline at end of file diff --git a/pingora-core/src/protocols/http/server.rs b/pingora-core/src/protocols/http/server.rs index 94239bf..d4113b0 100644 --- a/pingora-core/src/protocols/http/server.rs +++ b/pingora-core/src/protocols/http/server.rs @@ -365,7 +365,7 @@ impl Session { } } - /// Return the client (peer) address of the connnection. + /// Return the client (peer) address of the connection. pub fn client_addr(&self) -> Option<&SocketAddr> { match self { Self::H1(s) => s.client_addr(), diff --git a/pingora-core/src/protocols/http/v1/server.rs b/pingora-core/src/protocols/http/v1/server.rs index 619d056..909381c 100644 --- a/pingora-core/src/protocols/http/v1/server.rs +++ b/pingora-core/src/protocols/http/v1/server.rs @@ -783,7 +783,7 @@ impl HttpSession { &self.digest } - /// Return the client (peer) address of the underlying connnection. + /// Return the client (peer) address of the underlying connection. pub fn client_addr(&self) -> Option<&SocketAddr> { self.digest() .socket_digest @@ -791,7 +791,7 @@ impl HttpSession { .map(|d| d.peer_addr())? } - /// Return the server (local) address of the underlying connnection. + /// Return the server (local) address of the underlying connection. pub fn server_addr(&self) -> Option<&SocketAddr> { self.digest() .socket_digest |