Send NETINFO on receiving a NETINFO if we have not yet sent one.
commit1bb4a4f9bdf24706a459e4aefb2b0fb75622f7ac
authorNick Mathewson <nickm@torproject.org>
Tue, 20 Aug 2013 18:52:56 +0000 (20 14:52 -0400)
committerNick Mathewson <nickm@torproject.org>
Tue, 20 Aug 2013 18:52:56 +0000 (20 14:52 -0400)
treed613e68826eb910fe85d313cff7639dda7e30aa9
parentedaea773e57cc39e892643bcce12c755810f508b
Send NETINFO on receiving a NETINFO if we have not yet sent one.

Relays previously, when initiating a connection, would only send a
NETINFO after sending an AUTHENTICATE.  But bridges, when receiving a
connection, would never send AUTH_CHALLENGE.  So relays wouldn't
AUTHENTICATE, and wouldn't NETINFO, and then bridges would be
surprised to be receiving CREATE cells on a non-open circuit.

Fixes bug 9546.
changes/bug9546 [new file with mode: 0644]
src/or/channeltls.c
src/or/connection_or.c
src/or/or.h