mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-28 16:34:13 +01:00
Return debug message back
This commit is contained in:
parent
1daa7ef785
commit
d35a8805b0
@ -365,6 +365,7 @@ parse(#socket_state{xml_stream = XMLStream,
|
||||
socket = Socket,
|
||||
shaper = ShaperState} = SocketData, Data)
|
||||
when is_binary(Data) ->
|
||||
?DEBUG("(~s) Received XML on stream = ~p", [pp(SocketData), Data]),
|
||||
XMLStream1 = fxml_stream:parse(XMLStream, Data),
|
||||
{ShaperState1, Pause} = shaper:update(ShaperState, byte_size(Data)),
|
||||
Ret = if Pause > 0 ->
|
||||
|
Loading…
Reference in New Issue
Block a user