fission-codes / go-car-mirror

Generic Go implementation of the CAR Mirror protocol
Apache License 2.0
4 stars 0 forks source link

Possible need to unset state flags for pull #73

Closed justindotpub closed 1 year ago

justindotpub commented 1 year ago

I notice when pushing in the background, after the transfer is complete, source is in SOURCE_WAITING and sink is in SINK_WAITING.

After pulling in the background though, source is in SOURCE_WAITING and sink is in SINK_FLUSHING|SINK_SENDING|SINK_WAITING.

It looks like this might indicate that we should be unsetting some extra flags.

justindotpub commented 1 year ago

This issue is no longer valid, due to some of the session termination refactoring.