mirror of
https://github.com/processone/ejabberd.git
synced 2025-01-01 17:53:00 +01:00
* src/ejabberd_receiver.erl: Added new debugging trace: It is now
possible to dump the XML stream received from a client (usefull for client debugging). SVN Revision: 487
This commit is contained in:
parent
568909d5bb
commit
1295893864
@ -1,3 +1,9 @@
|
|||||||
|
2006-01-20 Mickael Remond <mickael.remond@process-one.net>
|
||||||
|
|
||||||
|
* src/ejabberd_receiver.erl: Added new debugging trace: It is now
|
||||||
|
possible to dump the XML stream received from a client (usefull for
|
||||||
|
client debugging).
|
||||||
|
|
||||||
2006-01-19 Alexey Shchepin <alexey@sevcom.net>
|
2006-01-19 Alexey Shchepin <alexey@sevcom.net>
|
||||||
|
|
||||||
* src/aclocal.m4: Updated for zlib support
|
* src/aclocal.m4: Updated for zlib support
|
||||||
|
@ -239,6 +239,7 @@ activate_socket(#state{socket = Socket,
|
|||||||
process_data(Data,
|
process_data(Data,
|
||||||
#state{xml_stream_state = XMLStreamState,
|
#state{xml_stream_state = XMLStreamState,
|
||||||
shaper_state = ShaperState} = State) ->
|
shaper_state = ShaperState} = State) ->
|
||||||
|
?DEBUG("Received XML on stream = ~p", [binary_to_list(Data)]),
|
||||||
XMLStreamState1 = xml_stream:parse(XMLStreamState, Data),
|
XMLStreamState1 = xml_stream:parse(XMLStreamState, Data),
|
||||||
{NewShaperState, Pause} = shaper:update(ShaperState, size(Data)),
|
{NewShaperState, Pause} = shaper:update(ShaperState, size(Data)),
|
||||||
if
|
if
|
||||||
|
Loading…
Reference in New Issue
Block a user