# Publish only results the server holds on this connection · dara/icarus

[View on GitCafe](https://git.cafe/dara/icarus/commit/7a042156c0e8355515267ec80a3618557df9a1f9)

Repository: [dara/icarus](https://git.cafe/dara/icarus)

Visibility: public

Requested revision: 7a042156c0e8355515267ec80a3618557df9a1f9

Requested commit: 7a042156c0e8355515267ec80a3618557df9a1f9

Commit: 7a042156c0e8355515267ec80a3618557df9a1f9

Tree: cc8acf4df5cd88f93f536e316c7628f6acf38d57

Author: Dara Adedeji

Committer: Dara Adedeji

## Message

```
Publish only results the server holds on this connection

After a reconnect the Rust client kept every result and published them
again with the first transition, which can be the one acknowledging
re-authentication. Subscribers took the old connection's results for
current ones. The set's tokens now also exist before the step that can
fail, so a failed SubscribeSet unsubscribes its queries.

```

## Parents

- [da42fdebcae5eb55da4bcbdb1b2276d9473037a1](https://git.cafe/dara/icarus/commit/da42fdebcae5eb55da4bcbdb1b2276d9473037a1?format=markdown)

[Source at this commit](https://git.cafe/dara/icarus/tree/7a042156c0e8355515267ec80a3618557df9a1f9?format=markdown)
