Software /
code /
prosody
Comparison
core/xmlhandlers.lua @ 165:4adc53e03b4d
Extra garbage collection, for debugging
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Fri, 24 Oct 2008 18:43:26 +0100 |
parent | 150:d09b8a1ab046 |
child | 166:d4ee015fcee4 |
comparison
equal
deleted
inserted
replaced
164:8dc1faa5b1df | 165:4adc53e03b4d |
---|---|
67 if session.notopen then | 67 if session.notopen then |
68 if name == "stream" then | 68 if name == "stream" then |
69 streamopened(session, attr); | 69 streamopened(session, attr); |
70 return; | 70 return; |
71 end | 71 end |
72 error("Client failed to open stream successfully"); | 72 error("Client failed to open stream successfully, it sent tag "..name); |
73 end | 73 end |
74 if curr_ns == "jabber:client" and name ~= "iq" and name ~= "presence" and name ~= "message" then | 74 if curr_ns == "jabber:client" and name ~= "iq" and name ~= "presence" and name ~= "message" then |
75 error("Client sent invalid top-level stanza"); | 75 error("Client sent invalid top-level stanza"); |
76 end | 76 end |
77 | 77 |