aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPeter Palfrader <peter@palfrader.org>2004-02-27 01:33:02 +0000
committerPeter Palfrader <peter@palfrader.org>2004-02-27 01:33:02 +0000
commit1bc2384c5a645be3323ffb6303972e59d5c4344f (patch)
treec0e6e7adb3f4e173b169df2771390d299b90b84d /src
parent2849ff13e286b773a483849ad374aaa63d0e5bca (diff)
downloadtor-1bc2384c5a645be3323ffb6303972e59d5c4344f.tar
tor-1bc2384c5a645be3323ffb6303972e59d5c4344f.tar.gz
Give the nice message about not being an HTTP proxy an <h1> headline
svn:r1139
Diffstat (limited to 'src')
-rw-r--r--src/or/buffers.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/or/buffers.c b/src/or/buffers.c
index 297718bf7..48a073c2b 100644
--- a/src/or/buffers.c
+++ b/src/or/buffers.c
@@ -550,11 +550,16 @@ int fetch_from_buf_socks(buf_t *buf, socks_request_t *req) {
"<title>Tor is not an HTTP Proxy</title>\n"
"</head>\n"
"<body>\n"
+"<h1>Tor is not an HTTP Proxy</h1>\n"
+"<p>\n"
"It appears you have configured your web browser to use Tor as an HTTP Proxy.\n"
"This is not correct: Tor provides a SOCKS proxy. Please configure your\n"
"client accordingly.\n"
+"</p>\n"
+"<p>\n"
"See <a href=\"http://freehaven.net/tor/cvs/INSTALL\">http://freehaven.net/tor/cvs/INSTALL</a> for more information.\n"
"<!-- Plus this comment, to make the body response more than 512 bytes, so IE will be willing to display it. Comment comment comment comment comment comment comment comment comment comment comment comment.-->\n"
+"</p>\n"
"</body>\n"
"</html>\n"
);