mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-24 14:51:11 +01:00
fix typos from 783f705d
This commit is contained in:
parent
97555f4537
commit
ca525db02d
1 changed files with 2 additions and 2 deletions
|
@ -1048,11 +1048,11 @@ connection_listener_new(const struct sockaddr *listensockaddr,
|
||||||
if (port_cfg->session_group >= 0) {
|
if (port_cfg->session_group >= 0) {
|
||||||
lis_conn->session_group = port_cfg->session_group;
|
lis_conn->session_group = port_cfg->session_group;
|
||||||
} else {
|
} else {
|
||||||
/* This can wrap afuter ~INT_MAX listeners are opened. But I don't
|
/* This can wrap after around INT_MAX listeners are opened. But I don't
|
||||||
* believe that matters, since you would need to open a ridiculous
|
* believe that matters, since you would need to open a ridiculous
|
||||||
* number of listeners while keeping the early ones open before you ever
|
* number of listeners while keeping the early ones open before you ever
|
||||||
* hit this. An OR with a dozen ports open, for example, would have to
|
* hit this. An OR with a dozen ports open, for example, would have to
|
||||||
* close and re-open its listers every second for 4 years nonstop.
|
* close and re-open its listenerrs every second for 4 years nonstop.
|
||||||
*/
|
*/
|
||||||
lis_conn->session_group = global_next_session_group--;
|
lis_conn->session_group = global_next_session_group--;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue