# Match guest's reported buffers on host when synchronizing after reconnect · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/585c23e9f634e99c0cf1376c5dc1b8b00512175a)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 585c23e9f634e99c0cf1376c5dc1b8b00512175a

Requested commit: 585c23e9f634e99c0cf1376c5dc1b8b00512175a

Commit: 585c23e9f634e99c0cf1376c5dc1b8b00512175a

Tree: c3f099103550aabb6bc29b53753759aa97079ec9

Author: Antonio Scandurra

Committer: Antonio Scandurra

## Message

```
Match guest's reported buffers on host when synchronizing after reconnect

If the host thinks a guest has a buffer that they don't have, the host won't
send it to them when they attempt to open it the next time. This can happen
if the guest disconnected before they received the host's response to an
initial open buffer request.

Co-Authored-By: Nathan Sobo <nathan@zed.dev>

```

## Parents

- [0d31c8c1c8773863be2862d26825149cf85d9b34](https://git.cafe/gitcafe/zed/commit/0d31c8c1c8773863be2862d26825149cf85d9b34?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/585c23e9f634e99c0cf1376c5dc1b8b00512175a?format=markdown)
