mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-26 17:38:45 +01:00
* src/web/ejabberd_http_poll.erl: Fixed sending of Set-Cookie
header SVN Revision: 257
This commit is contained in:
parent
d77a936b32
commit
69225f9e14
@ -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
|
||||
|
@ -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 ->
|
||||
|
Loading…
Reference in New Issue
Block a user