diff options
author | David Goulet <dgoulet@torproject.org> | 2020-09-01 09:54:48 -0400 |
---|---|---|
committer | David Goulet <dgoulet@torproject.org> | 2020-09-01 10:01:21 -0400 |
commit | ea339227c27c03d7ced9e526d9e945708f432b22 (patch) | |
tree | 8db66c7981ea66f71f9c6da92e19c6a4fdca7abf /changes | |
parent | 72484a4953d744754b3b6b025242ef668e3f017a (diff) | |
download | tor-ea339227c27c03d7ced9e526d9e945708f432b22.tar.gz tor-ea339227c27c03d7ced9e526d9e945708f432b22.zip |
conn: Remove assert on new listener connection when retrying
Opening a new listener connection can fail in many ways like a bind()
permission denied on a low port for instance.
And thus, we should expect to handle an error when creating a new one instead
of assert() on it.
To hit the removed assert:
ORPort 80
KeepBindCapabilities 0
Start tor. Then edit torrc:
ORPort <some-IP>:80
HUP tor and the assert is hit.
Fixes #40073
Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'changes')
-rw-r--r-- | changes/ticket40073 | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/changes/ticket40073 b/changes/ticket40073 new file mode 100644 index 0000000000..30b028c042 --- /dev/null +++ b/changes/ticket40073 @@ -0,0 +1,3 @@ + o Minor bugfixes (relay configuration, crash): + - Avoid a fatal assert() when failing to create a listener connection for an + address that was in use. Fixes bug 40073; bugfix on 0.3.5.1-alpha. |