mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-24 04:13:28 +01:00
If we close our OR connection because there's been a circuit
pending on it for too long, we were telling our bootstrap status events "REASON=NONE". Now tell them "REASON=TIMEOUT". svn:r15369
This commit is contained in:
parent
94dabd2c23
commit
8fa912a8c5
@ -49,6 +49,9 @@ Changes in version 0.2.1.2-alpha - 2008-06-??
|
|||||||
as soon as you run out of working bridges, rather than waiting
|
as soon as you run out of working bridges, rather than waiting
|
||||||
for ten failures -- which will never happen if you have less than
|
for ten failures -- which will never happen if you have less than
|
||||||
ten bridges.
|
ten bridges.
|
||||||
|
- If we close our OR connection because there's been a circuit
|
||||||
|
pending on it for too long, we were telling our bootstrap status
|
||||||
|
events "REASON=NONE". Now tell them "REASON=TIMEOUT".
|
||||||
|
|
||||||
|
|
||||||
Changes in version 0.2.1.1-alpha - 2008-06-13
|
Changes in version 0.2.1.1-alpha - 2008-06-13
|
||||||
|
3
doc/TODO
3
doc/TODO
@ -350,8 +350,9 @@ R - if "no running bridges known", an application request should make
|
|||||||
results of the getinfo.
|
results of the getinfo.
|
||||||
R - get matt to make vidalia do a getinfo status/bootstrap-phase to
|
R - get matt to make vidalia do a getinfo status/bootstrap-phase to
|
||||||
get caught up after it connects.
|
get caught up after it connects.
|
||||||
R * in circuituse.c,
|
o in circuituse.c,
|
||||||
/* XXX021 consider setting n_conn->socket_error to TIMEOUT */
|
/* XXX021 consider setting n_conn->socket_error to TIMEOUT */
|
||||||
|
R d Setting DirPort when acting as bridge will give false Warnings
|
||||||
|
|
||||||
For 0.2.1.x:
|
For 0.2.1.x:
|
||||||
- Proposals to do:
|
- Proposals to do:
|
||||||
|
@ -752,7 +752,9 @@ circuit_build_failed(origin_circuit_t *circ)
|
|||||||
"(%s:%d). I'm going to try to rotate to a better connection.",
|
"(%s:%d). I'm going to try to rotate to a better connection.",
|
||||||
n_conn->_base.address, n_conn->_base.port);
|
n_conn->_base.address, n_conn->_base.port);
|
||||||
n_conn->_base.or_is_obsolete = 1;
|
n_conn->_base.or_is_obsolete = 1;
|
||||||
/* XXX021 consider setting n_conn->socket_error to TIMEOUT */
|
if (n_conn->_base.state < OR_CONN_STATE_TLS_HANDSHAKING &&
|
||||||
|
!n_conn->socket_error)
|
||||||
|
n_conn->socket_error = END_OR_CONN_REASON_TIMEOUT;
|
||||||
entry_guard_register_connect_status(n_conn->identity_digest, 0,
|
entry_guard_register_connect_status(n_conn->identity_digest, 0,
|
||||||
time(NULL));
|
time(NULL));
|
||||||
}
|
}
|
||||||
|
@ -2288,7 +2288,7 @@ connection_handle_write(connection_t *conn, int force)
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Openssl TLS record size is 16383; this is close. The goal here is to
|
/** OpenSSL TLS record size is 16383; this is close. The goal here is to
|
||||||
* push data out as soon as we know there's enough for a TLS record, so
|
* push data out as soon as we know there's enough for a TLS record, so
|
||||||
* during periods of high load we won't read entire megabytes from
|
* during periods of high load we won't read entire megabytes from
|
||||||
* input before pushing any data out. It also has the feature of not
|
* input before pushing any data out. It also has the feature of not
|
||||||
|
Loading…
Reference in New Issue
Block a user