mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-03-31 17:55:36 +00:00
http socket worker, connection module: add comment about peer addr
This commit is contained in:
parent
b898c53ae1
commit
3e7ad2a9e7
1 changed files with 2 additions and 0 deletions
|
|
@ -146,6 +146,8 @@ struct Connection<S> {
|
|||
request_senders: Rc<Senders<ChannelRequest>>,
|
||||
valid_until: Rc<RefCell<ValidUntil>>,
|
||||
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<CanonicalSocketAddr>,
|
||||
peer_port: u16,
|
||||
request_buffer: Box<[u8; REQUEST_BUFFER_SIZE]>,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue