Skip to content

Commit

Permalink
fix: clear fragment buffer
Browse files Browse the repository at this point in the history
  • Loading branch information
jean-roland committed Dec 6, 2023
1 parent 9c5861f commit 3da36ed
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/transport/raweth/tx.c
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,8 @@ int8_t _z_raweth_send_n_msg(_z_session_t *zn, const _z_network_message_t *n_msg,
// Mark the session that we have transmitted data
ztm->_transmitted = true;
}
// Clear the expandable buffer
_z_wbuf_clear(&fbf);
}
#if Z_FEATURE_MULTI_THREAD == 1
_z_mutex_unlock(&ztm->_mutex_tx);
Expand Down

0 comments on commit 3da36ed

Please sign in to comment.