mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
Patch from rovv: send back END cell in response to connect attempts to nonexistent hidden service port.
svn:r17137
This commit is contained in:
@@ -2566,7 +2566,7 @@ connection_exit_begin_conn(cell_t *cell, circuit_t *circ)
|
||||
n_stream->_base.port);
|
||||
end_payload[0] = END_STREAM_REASON_EXITPOLICY;
|
||||
relay_send_command_from_edge(rh.stream_id, circ, RELAY_COMMAND_END,
|
||||
end_payload, 1, NULL);
|
||||
end_payload, 1, origin_circ->cpath->prev);
|
||||
connection_free(TO_CONN(n_stream));
|
||||
tor_free(address);
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user