mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-24 16:23:40 +01:00
* src/ejabberd_receiver.erl: Bugfix
SVN Revision: 688
This commit is contained in:
parent
d5c59d134b
commit
0b281746c2
@ -1,3 +1,7 @@
|
||||
2006-12-01 Alexey Shchepin <alexey@sevcom.net>
|
||||
|
||||
* src/ejabberd_receiver.erl: Bugfix
|
||||
|
||||
2006-11-30 Mickael Remond <mickael.remond@process-one.net>
|
||||
|
||||
* src/mod_proxy65/mod_proxy65_services.erl: We now try to get the
|
||||
|
@ -117,7 +117,12 @@ handle_call({starttls, TLSSocket}, _From,
|
||||
#state{xml_stream_state = XMLStreamState,
|
||||
c2s_pid = C2SPid,
|
||||
max_stanza_size = MaxStanzaSize} = State) ->
|
||||
xml_stream:close(XMLStreamState),
|
||||
if
|
||||
XMLStreamState /= undefined ->
|
||||
xml_stream:close(XMLStreamState);
|
||||
true ->
|
||||
ok
|
||||
end,
|
||||
NewXMLStreamState = xml_stream:new(C2SPid, MaxStanzaSize),
|
||||
NewState = State#state{socket = TLSSocket,
|
||||
sock_mod = tls,
|
||||
|
Loading…
Reference in New Issue
Block a user