nasa / bplib

Apache License 2.0
27 stars 13 forks source link

Fix #158, do not update stream_pos on retry attempts #159

Closed jphickey closed 1 year ago

jphickey commented 2 years ago

The "stream_pos" on the sender side should only be updated on the first attempt to send a block of data via bplib_send(). On subsequent retries it should only call bplib_send() again.

This also adds information to the debug messages to show the offsets and positions so the activity in this area can be more clearly observed.

Fixes #158