From 5449fc86db2fc448f5ba26445fd4b69bf99e9593 Mon Sep 17 00:00:00 2001 From: Roger Dingledine Date: Thu, 19 Sep 2002 20:13:27 +0000 Subject: synchronize to the version i've been giving people to test svn:r104 --- src/or/connection_ap.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/or/connection_ap.c') diff --git a/src/or/connection_ap.c b/src/or/connection_ap.c index 732af7b06..50b4438d8 100644 --- a/src/or/connection_ap.c +++ b/src/or/connection_ap.c @@ -48,8 +48,11 @@ int ap_handshake_process_ss(connection_t *conn) { conn->ss_received = sizeof(ss_t); log(LOG_DEBUG,"ap_handshake_process_ss(): Successfully read ss."); - if ((conn->ss.version == 0) || (conn->ss.version != VERSION)) { /* unsupported version */ - log(LOG_DEBUG,"ap_handshake_process_ss(): ss: Unsupported version."); + if ((conn->ss.version == 0) || (conn->ss.version != OR_VERSION)) { /* unsupported version */ + log(LOG_NOTICE,"ap_handshake_process_ss(): ss: Unsupported version '%c'.",conn->ss.version); + if(tolower(conn->ss.version) == 'g') { + log(LOG_NOTICE,"ap_handshake_process_ss(): are you using the onion proxy as a web proxy?"); + } return -1; } if (conn->ss.addr_fmt != SS_ADDR_FMT_ASCII_HOST_PORT) { /* unrecognized address format */ -- cgit v1.2.3