diff options
author | xengineering <me@xengineering.eu> | 2023-06-05 18:48:54 +0200 |
---|---|---|
committer | xengineering <me@xengineering.eu> | 2023-06-05 18:48:54 +0200 |
commit | 2d9864426272055151c42cf6bc2d13fbe11ca50c (patch) | |
tree | 242749003d4b0520c6d864674d3a85bc55deaf38 /xmpp/session.go | |
parent | feb6a5a38ba15d0cf4bd88283093174991e66eaa (diff) | |
download | limox-2d9864426272055151c42cf6bc2d13fbe11ca50c.tar limox-2d9864426272055151c42cf6bc2d13fbe11ca50c.tar.zst limox-2d9864426272055151c42cf6bc2d13fbe11ca50c.zip |
Re-implement XML decoding
Diffstat (limited to 'xmpp/session.go')
-rw-r--r-- | xmpp/session.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/xmpp/session.go b/xmpp/session.go index 234c2e6..080fb21 100644 --- a/xmpp/session.go +++ b/xmpp/session.go @@ -40,6 +40,8 @@ func (s *session) run() { defer s.transport.Close() s.ed = newEncoderDecoder(s) + go s.ed.run() + defer func() { s.ed.terminator <- true }() s.openStream() defer s.closeStreams() |