Skip to content

Commit

Permalink
send upstream
Browse files Browse the repository at this point in the history
  • Loading branch information
taikulawo committed Jul 16, 2024
1 parent 79a87f5 commit 2f4c048
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions pingora-core/src/protocols/digest.rs
Original file line number Diff line number Diff line change
Expand Up @@ -77,17 +77,6 @@ impl SocketDigest {
local_addr: OnceCell::new(),
}
}
pub fn new(
raw_fd: std::os::unix::io::RawFd,
peer_addr: Option<SocketAddr>,
local_addr: Option<SocketAddr>,
) -> SocketDigest {
SocketDigest {
raw_fd,
peer_addr: OnceCell::with_value(peer_addr),
local_addr: OnceCell::with_value(local_addr),
}
}

pub fn peer_addr(&self) -> Option<&SocketAddr> {
self.peer_addr
Expand Down

0 comments on commit 2f4c048

Please sign in to comment.