diff --git a/crates/http/src/workers/socket/connection.rs b/crates/http/src/workers/socket/connection.rs index eb45538..c2d4089 100644 --- a/crates/http/src/workers/socket/connection.rs +++ b/crates/http/src/workers/socket/connection.rs @@ -146,6 +146,8 @@ struct Connection { request_senders: Rc>, valid_until: Rc>, server_start_instant: ServerStartInstant, + // If we're running behind a reverse proxy, gets set as soon as we get a + // valid requiest. Otherwise, must be set before calling `run`. opt_peer_addr: Option, peer_port: u16, request_buffer: Box<[u8; REQUEST_BUFFER_SIZE]>,