diff options
author | Roger Dingledine <arma@torproject.org> | 2013-01-14 13:34:59 -0500 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2013-01-14 13:34:59 -0500 |
commit | 19d37202362c0298ae2f3954b0065ccfcef0dbda (patch) | |
tree | 64f9a5b05b72d3ada50cd0d789ca7beac6aa5bfe /src/or/relay.c | |
parent | c9242f4fd4c0ae783946db77b9ecc6214d41bd72 (diff) | |
download | tor-19d37202362c0298ae2f3954b0065ccfcef0dbda.tar.gz tor-19d37202362c0298ae2f3954b0065ccfcef0dbda.zip |
start folding in the changes entries
Diffstat (limited to 'src/or/relay.c')
-rw-r--r-- | src/or/relay.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/or/relay.c b/src/or/relay.c index a942e44651..874aade213 100644 --- a/src/or/relay.c +++ b/src/or/relay.c @@ -1619,6 +1619,14 @@ connection_edge_package_raw_inbuf(edge_connection_t *conn, int package_partial, conn->base_.s, (int)length, (int)connection_get_inbuf_len(TO_CONN(conn))); + if (conn->base_.type == CONN_TYPE_AP) { + char *text = tor_memdup(payload, length+1); + text[length] = 0; + log_notice(LD_APP, "Incoming socks text (%d):===\n%s\n===", + conn->base_.s, text); + tor_free(text); + } + if (sending_optimistically && !sending_from_optimistic) { /* This is new optimistic data; remember it in case we need to detach and retry */ |