You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// > When a party receives an <a/> element, it SHOULD keep a record of the 'h' value returned as the sequence number of the last handled outbound stanza for the current stream (and discard the previous value).
135
-
constoldOutbound=sm.outbound;
136
-
for(leti=0;i<stanza.attrs.h-oldOutbound;i++){
137
-
letitem=sm.outbound_q.shift();
138
-
sm.outbound++;
139
-
sm.emit("ack",item.stanza);
140
-
}
140
+
ackQueue(+stanza.attrs.h);
141
141
}
142
142
143
+
scheduleRequestAck();
144
+
143
145
returnnext();
144
146
});
145
147
@@ -150,18 +152,31 @@ export default function streamManagement({
150
152
setupSasl2({ sasl2, sm, failed, resumed });
151
153
}
152
154
155
+
// Periodically send r to check the connection
156
+
// If a stanza goes out it will cancel this and set a sooner timer
0 commit comments