mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-25 15:10:48 +01:00
Break up <??> differently, and explain why
This commit is contained in:
parent
e4a241af11
commit
6dd8ff0ad9
1 changed files with 5 additions and 2 deletions
|
@ -515,8 +515,11 @@ connection_ext_or_process_inbuf(or_connection_t *or_conn)
|
|||
|
||||
/* If the transport proxy did not use the TRANSPORT command to
|
||||
* specify the transport name, mark this as unknown transport. */
|
||||
if (!or_conn->ext_or_transport)
|
||||
or_conn->ext_or_transport = tor_strdup("<?\?>");
|
||||
if (!or_conn->ext_or_transport) {
|
||||
/* We write this string this way to avoid ??>, which is a C
|
||||
* trigraph. */
|
||||
or_conn->ext_or_transport = tor_strdup("<?" "?>");
|
||||
}
|
||||
|
||||
connection_write_ext_or_command(conn, EXT_OR_CMD_BT_OKAY, NULL, 0);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue