Software /
code /
prosody
Comparison
plugins/mod_s2s/mod_s2s.lua @ 6362:f5f44504e18b
mod_s2s: Reset stream ID when resetting stream [compliance]
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Wed, 27 Aug 2014 13:20:08 +0200 |
parent | 6359:c74670b3be53 |
child | 6364:4e93e8768c36 |
comparison
equal
deleted
inserted
replaced
6361:f12889981ece | 6362:f5f44504e18b |
---|---|
526 | 526 |
527 session.notopen = true; | 527 session.notopen = true; |
528 | 528 |
529 function session.reset_stream() | 529 function session.reset_stream() |
530 session.notopen = true; | 530 session.notopen = true; |
531 session.streamid = nil; | |
531 session.stream:reset(); | 532 session.stream:reset(); |
532 end | 533 end |
533 | 534 |
534 session.open_stream = session_open_stream; | 535 session.open_stream = session_open_stream; |
535 | 536 |