v0.35.1: performance, AGPL licensing and documentation overhaul
- Web Server reads static files inline; proxy middleware chain flattened - About window with license summary and project links; AGPL-3.0-or-later - Rewritten documentation: feature list, screenshots, performance guide - Fix false spikes in per-Vhost request-rate charts
This commit is contained in:
1 parent
d3b492874b
commit
eba9f89283
135 files changed
+1425
-1064
No files matched your search
@@ -35,6 +35,12 @@ impl PeerFormatting {
|
||||
untrusted_headers: std::sync::Mutex::new(None),
|
||||
}
|
||||
}
|
||||
/// Text form of the peer address when it needed no canonicalization.
|
||||
pub(crate) fn raw_peer_text(&self) -> Option<&str> {
|
||||
(self.peer.ip() == self.peer_ip)
|
||||
.then(|| self.peer_header.to_str().ok())
|
||||
.flatten()
|
||||
}
|
||||
fn cached_untrusted(&self, authority: &HeaderValue, tls: bool) -> Option<HeaderMap> {
|
||||
self.untrusted_headers
|
||||
.lock()
|
||||
|
||||
Reference in new issue
Block a user