diff options
Diffstat (limited to 'src/web/ejabberd_http_poll.erl')
-rw-r--r-- | src/web/ejabberd_http_poll.erl | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/web/ejabberd_http_poll.erl b/src/web/ejabberd_http_poll.erl index 58d918a73..d76173a30 100644 --- a/src/web/ejabberd_http_poll.erl +++ b/src/web/ejabberd_http_poll.erl @@ -119,8 +119,10 @@ process_request(#request{path = [], end; _ -> {200, [?CT, {"Set-Cookie", "ID=-2:0; expires=-1"}], ""} - end. - + end; +process_request(_Request) -> + {400, [], {xmlelement, "h1", [], + [{xmlcdata, "400 Bad Request"}]}}. %%%---------------------------------------------------------------------- %%% Callback functions from gen_fsm |