Software /
code /
prosody
Comparison
core/xmlhandlers.lua @ 166:d4ee015fcee4
Backed out changeset 4adc53e03b4d (garbage collection)
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Fri, 24 Oct 2008 19:04:51 +0100 |
parent | 165:4adc53e03b4d |
child | 331:830fd67f9378 |
comparison
equal
deleted
inserted
replaced
165:4adc53e03b4d | 166:d4ee015fcee4 |
---|---|
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, it sent tag "..name); | 72 error("Client failed to open stream successfully"); |
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 |