Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion lib/agent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -228,9 +228,10 @@ class Agent extends EventEmitter {

req.sender.reset()

if (block1 != null && packet.ack) {
if (block1 != null) {
// If the client takes too long to respond then the retry sender will send
// another packet with the previous messageId, which we've already removed.
// Handle both piggybacked (ACK with Block1) and non-piggybacked (CON with Block1) responses
const segmentedSender = req.segmentedSender
if (segmentedSender != null) {
// If there's more to send/receive, then carry on!
Expand Down
Loading
Loading