mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-22 14:23:04 +01:00
forward-port the shutting up
svn:r3450
This commit is contained in:
parent
b2fbd834f0
commit
0b9b97aaf4
1 changed files with 2 additions and 2 deletions
|
@ -147,7 +147,7 @@ int connection_cpu_process_inbuf(connection_t *conn) {
|
||||||
circ = circuit_get_by_circ_id_conn(circ_id, p_conn);
|
circ = circuit_get_by_circ_id_conn(circ_id, p_conn);
|
||||||
|
|
||||||
if (success == 0) {
|
if (success == 0) {
|
||||||
log_fn(LOG_WARN,"decoding onionskin failed. Closing.");
|
log_fn(LOG_INFO,"decoding onionskin failed. Closing.");
|
||||||
if (circ)
|
if (circ)
|
||||||
circuit_mark_for_close(circ);
|
circuit_mark_for_close(circ);
|
||||||
goto done_processing;
|
goto done_processing;
|
||||||
|
@ -248,7 +248,7 @@ static int cpuworker_main(void *data) {
|
||||||
if (onion_skin_server_handshake(question, onion_key, last_onion_key,
|
if (onion_skin_server_handshake(question, onion_key, last_onion_key,
|
||||||
reply_to_proxy, keys, 40+32) < 0) {
|
reply_to_proxy, keys, 40+32) < 0) {
|
||||||
/* failure */
|
/* failure */
|
||||||
log_fn(LOG_WARN,"onion_skin_server_handshake failed.");
|
log_fn(LOG_INFO,"onion_skin_server_handshake failed.");
|
||||||
memset(buf,0,LEN_ONION_RESPONSE); /* send all zeros for failure */
|
memset(buf,0,LEN_ONION_RESPONSE); /* send all zeros for failure */
|
||||||
} else {
|
} else {
|
||||||
/* success */
|
/* success */
|
||||||
|
|
Loading…
Add table
Reference in a new issue