diff options
author | Badlop <badlop@process-one.net> | 2009-06-16 17:46:42 +0000 |
---|---|---|
committer | Badlop <badlop@process-one.net> | 2009-06-16 17:46:42 +0000 |
commit | 17de26d800942020af0f8e6c5addaccd2eec9db5 (patch) | |
tree | ae0382179dd0de2c6f1ca84f44ac776653ce622a | |
parent | Do not display error message when starting several hosts (EJAB-571) (thanks t... (diff) |
Removed HTTP bind session count. Removed the 'sponsored bind session' text. (thanks to Michael Remond)
Details:
Removed the HTTP bind session count because it leaks information on the size of the platform.
Removed the text 'sponsored by Mabber' because it is confusing, as people could think a third-party service using HTTP bind is sponsored by Mabber.
SVN Revision: 2238
-rw-r--r-- | src/web/mod_http_bind.erl | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/src/web/mod_http_bind.erl b/src/web/mod_http_bind.erl index 2b0bcc6d6..1218aa06b 100644 --- a/src/web/mod_http_bind.erl +++ b/src/web/mod_http_bind.erl @@ -3,7 +3,7 @@ %%% Author : Stefan Strigler <steve@zeank.in-berlin.de> %%% Purpose : Implementation of XMPP over BOSH (XEP-0206) %%% Created : Tue Feb 20 13:15:52 CET 2007 -%%% Id : $Id: mod_http_bind.erl 549 2008-04-02 09:12:44Z cromain $ +%%% Id : $Id: mod_http_bind.erl 665 2008-06-26 08:41:48Z mremond $ %%%---------------------------------------------------------------------- %%%---------------------------------------------------------------------- @@ -57,14 +57,7 @@ process([], #request{method = 'GET', [{xmlcdata, "An implementation of "}, {xmlelement, "a", [{"href", "http://www.xmpp.org/extensions/xep-0206.html"}], [{xmlcdata, "XMPP over BOSH (XEP-0206)"}]}]}, - {xmlelement, "p", [], - [{xmlcdata, integer_to_list(mnesia:table_info(http_bind, size)) ++ " sessions found."}]}, - {xmlelement, "p", [], - [{xmlcdata, "Sponsored by "}, - {xmlelement, "a", [{"href", "http://mabber.com"}], - [{xmlcdata, "mabber"}]}, - {xmlcdata, "."}]} - ]}]}; + ]}]}; process(_Path, _Request) -> ?DEBUG("Bad Request: ~p", [_Request]), {400, [], {xmlelement, "h1", [], |