aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2003-03-10 22:30:05 +0000
committerRoger Dingledine <arma@torproject.org>2003-03-10 22:30:05 +0000
commit90f8a7a757002bb21f40f48653d37484662dcf90 (patch)
tree668292e0c952379af7d164333c02a421aa7a0d34
parentf9f08666e4fdb1975395e2d6ddc9ff2415fc2639 (diff)
downloadtor-90f8a7a757002bb21f40f48653d37484662dcf90.tar
tor-90f8a7a757002bb21f40f48653d37484662dcf90.tar.gz
be less noisy at -l info, now that flow control bug is solved
svn:r172
-rw-r--r--src/or/circuit.c4
-rw-r--r--src/or/command.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/or/circuit.c b/src/or/circuit.c
index 044193dfc..c73b5188e 100644
--- a/src/or/circuit.c
+++ b/src/or/circuit.c
@@ -494,7 +494,7 @@ int circuit_consider_sending_sendme(circuit_t *circ, int edge_type) {
if(edge_type == EDGE_AP) { /* i'm the AP */
while(circ->n_receive_circwindow < CIRCWINDOW_START-CIRCWINDOW_INCREMENT) {
- log(LOG_INFO,"circuit_consider_sending_sendme(): n_receive_circwindow %d, Queueing sendme forward.", circ->n_receive_circwindow);
+ log(LOG_DEBUG,"circuit_consider_sending_sendme(): n_receive_circwindow %d, Queueing sendme forward.", circ->n_receive_circwindow);
circ->n_receive_circwindow += CIRCWINDOW_INCREMENT;
sendme.aci = circ->n_aci;
if(connection_write_cell_to_buf(&sendme, circ->n_conn) < 0) {
@@ -503,7 +503,7 @@ int circuit_consider_sending_sendme(circuit_t *circ, int edge_type) {
}
} else if(edge_type == EDGE_EXIT) { /* i'm the exit */
while(circ->p_receive_circwindow < CIRCWINDOW_START-CIRCWINDOW_INCREMENT) {
- log(LOG_INFO,"circuit_consider_sending_sendme(): p_receive_circwindow %d, Queueing sendme back.", circ->p_receive_circwindow);
+ log(LOG_DEBUG,"circuit_consider_sending_sendme(): p_receive_circwindow %d, Queueing sendme back.", circ->p_receive_circwindow);
circ->p_receive_circwindow += CIRCWINDOW_INCREMENT;
sendme.aci = circ->p_aci;
if(connection_write_cell_to_buf(&sendme, circ->p_conn) < 0) {
diff --git a/src/or/command.c b/src/or/command.c
index 7d2b1b939..f7876ec06 100644
--- a/src/or/command.c
+++ b/src/or/command.c
@@ -181,7 +181,7 @@ void command_process_sendme_cell(cell_t *cell, connection_t *conn) {
if(cell->aci == circ->p_aci) { /* it's an outgoing cell */
circ->n_receive_circwindow += cell->length;
assert(circ->n_receive_circwindow <= CIRCWINDOW_START);
- log(LOG_INFO,"command_process_sendme_cell(): n_receive_circwindow for aci %d is %d.",circ->n_aci,circ->n_receive_circwindow);
+ log(LOG_DEBUG,"command_process_sendme_cell(): n_receive_circwindow for aci %d is %d.",circ->n_aci,circ->n_receive_circwindow);
if(!circ->n_conn || circ->n_conn->type == CONN_TYPE_EXIT) {
circuit_resume_edge_reading(circ, EDGE_EXIT);
} else {
@@ -194,7 +194,7 @@ void command_process_sendme_cell(cell_t *cell, connection_t *conn) {
} else { /* it's an ingoing cell */
assert(cell->aci == circ->n_aci);
circ->p_receive_circwindow += cell->length;
- log(LOG_INFO,"command_process_sendme_cell(): p_receive_circwindow for aci %d is %d.",circ->p_aci,circ->p_receive_circwindow);
+ log(LOG_DEBUG,"command_process_sendme_cell(): p_receive_circwindow for aci %d is %d.",circ->p_aci,circ->p_receive_circwindow);
assert(circ->p_receive_circwindow <= CIRCWINDOW_START);
if(!circ->p_conn || circ->p_conn->type == CONN_TYPE_AP) {
circuit_resume_edge_reading(circ, EDGE_AP);