mirror of
https://github.com/processone/ejabberd.git
synced 2024-09-21 14:06:57 +02: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>
|
2004-08-12 Alexey Shchepin <alexey@sevcom.net>
|
||||||
|
|
||||||
* src/ejabberd_c2s.erl: Bugfix in resend_offline_messages/1
|
* src/ejabberd_c2s.erl: Bugfix in resend_offline_messages/1
|
||||||
|
@ -105,7 +105,9 @@ process_request(#request{path = [],
|
|||||||
{ok, OutPacket} ->
|
{ok, OutPacket} ->
|
||||||
if
|
if
|
||||||
ID == ID1 ->
|
ID == ID1 ->
|
||||||
{200, [?CT], OutPacket};
|
Cookie = "ID=" ++ ID ++ "; expires=-1",
|
||||||
|
{200, [?CT, {"Set-Cookie", Cookie}],
|
||||||
|
OutPacket};
|
||||||
ID1 == "mobile" ->
|
ID1 == "mobile" ->
|
||||||
{200, [?CT], [ID, $\n, OutPacket]};
|
{200, [?CT], [ID, $\n, OutPacket]};
|
||||||
true ->
|
true ->
|
||||||
|
Loading…
Reference in New Issue
Block a user