mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-27 22:03:31 +01:00
a patch on r11016 that makes it work better
svn:r11018
This commit is contained in:
parent
322b6f7e65
commit
659cdae145
@ -2443,8 +2443,7 @@ connection_control_process_inbuf(control_connection_t *conn)
|
|||||||
strcasecmp(conn->incoming_cmd, "AUTHENTICATE")) {
|
strcasecmp(conn->incoming_cmd, "AUTHENTICATE")) {
|
||||||
connection_write_str_to_buf("514 Authentication required.\r\n", conn);
|
connection_write_str_to_buf("514 Authentication required.\r\n", conn);
|
||||||
connection_mark_for_close(TO_CONN(conn));
|
connection_mark_for_close(TO_CONN(conn));
|
||||||
conn->incoming_cmd_cur_len = 0;
|
return 0;
|
||||||
goto again;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!strcasecmp(conn->incoming_cmd, "SETCONF")) {
|
if (!strcasecmp(conn->incoming_cmd, "SETCONF")) {
|
||||||
|
Loading…
Reference in New Issue
Block a user