I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit 2025fe7c authored by zzz's avatar zzz
Browse files

* SOCKS: Better HTTP error message

parent a11c5295
No related branches found
No related tags found
No related merge requests found
...@@ -20,7 +20,7 @@ public class SOCKSServerFactory { ...@@ -20,7 +20,7 @@ public class SOCKSServerFactory {
private final static Log _log = new Log(SOCKSServerFactory.class); private final static Log _log = new Log(SOCKSServerFactory.class);
private final static String ERR_REQUEST_DENIED = private final static String ERR_REQUEST_DENIED =
"HTTP/1.1 403 Access Denied\r\n" + "HTTP/1.1 403 Access Denied - This is a SOCKS proxy, not a HTTP proxy\r\n" +
"Content-Type: text/html; charset=iso-8859-1\r\n" + "Content-Type: text/html; charset=iso-8859-1\r\n" +
"Cache-control: no-cache\r\n" + "Cache-control: no-cache\r\n" +
"\r\n" + "\r\n" +
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment