=== modified file 'errors/templates/ERR_AGENT_CONFIGURE'
--- errors/templates/ERR_AGENT_CONFIGURE 2010-03-16 23:53:33 +0000
+++ errors/templates/ERR_AGENT_CONFIGURE 2011-04-10 07:34:53 +0000
@@ -27,7 +27,7 @@
For Firefox browsers go to:
- Tools -> Options -> Advanced -> Network -> Connection Settings
-- In the HTTP proxy box type the proxy name %h and port 3128.
+- In the HTTP proxy box type the proxy name %h and port %b.
@@ -35,7 +35,7 @@
For Internet Explorer browsers go to:
- Tools -> Internet Options -> Connection -> LAN Settings ->Proxy
-- In the HTTP proxy box type the proxy name %h and port 3128.
+- In the HTTP proxy box type the proxy name %h and port %b.
@@ -43,7 +43,7 @@
For Opera browsers go to:
- Tools -> Preferences -> Advanced -> Network -> Proxy Servers
-- In the HTTP proxy box type the proxy name %h and port 3128.
+- In the HTTP proxy box type the proxy name %h and port %b.
=== modified file 'src/errorpage.cc'
--- src/errorpage.cc 2011-03-16 09:29:40 +0000
+++ src/errorpage.cc 2011-04-10 07:33:40 +0000
@@ -670,6 +670,11 @@
#endif
p = "-";
break;
+
+ case 'b':
+ mb.Printf("%d", getMyPort());
+ break;
+
case 'B':
if (building_deny_info_url) break;
p = request ? ftpUrlWith2f(request) : "[no URL]";