mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-24 16:23:40 +01:00
* src/web/ejabberd_http_poll.erl: Bugfix: using tuple instead of a Pid
to send Erlang messages in a rarely used case. SVN Revision: 580
This commit is contained in:
parent
bd276f0b07
commit
7d0f9ddce2
@ -1,3 +1,8 @@
|
||||
2006-06-15 Mickael Remond <mickael.remond@process-one.net>
|
||||
|
||||
* src/web/ejabberd_http_poll.erl: Bugfix: using tuple instead of a Pid
|
||||
to send Erlang messages in a rarely used case.
|
||||
|
||||
2006-06-13 Mickael Remond <mickael.remond@process-one.net>
|
||||
|
||||
* src/ejabberd_auth.erl: Fixed broken multiple connection with
|
||||
|
@ -204,7 +204,8 @@ handle_sync_event(activate, From, StateName, StateData) ->
|
||||
"" ->
|
||||
{reply, ok, StateName, StateData#state{waiting_input = From}};
|
||||
Input ->
|
||||
From ! {tcp, {http_poll, self()}, list_to_binary(Input)},
|
||||
{Receiver, _Tag} = From,
|
||||
Receiver ! {tcp, {http_poll, self()}, list_to_binary(Input)},
|
||||
{reply, ok, StateName, StateData#state{input = "",
|
||||
waiting_input = false,
|
||||
last_receiver = From
|
||||
|
Loading…
Reference in New Issue
Block a user