* src/web/ejabberd_http_poll.erl: Fixed sending of Set-Cookie

header

SVN Revision: 257
This commit is contained in:
Alexey Shchepin 2004-08-15 21:18:53 +00:00
parent d77a936b32
commit 69225f9e14
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2004-08-14 Alexey Shchepin <alexey@sevcom.net>
* src/web/ejabberd_http_poll.erl: Fixed sending of Set-Cookie
header
2004-08-12 Alexey Shchepin <alexey@sevcom.net>
* src/ejabberd_c2s.erl: Bugfix in resend_offline_messages/1

View File

@ -105,7 +105,9 @@ process_request(#request{path = [],
{ok, OutPacket} ->
if
ID == ID1 ->
{200, [?CT], OutPacket};
Cookie = "ID=" ++ ID ++ "; expires=-1",
{200, [?CT, {"Set-Cookie", Cookie}],
OutPacket};
ID1 == "mobile" ->
{200, [?CT], [ID, $\n, OutPacket]};
true ->