ZIm/crates/rpc/src
Max Brunsfeld 1264e36429
Remove Default impl for ConnectionId (#7452)
We noticed the following message in my logs when trying to debug some
lag when collaborating:

```
2024-02-06T09:42:09-08:00 [ERROR] error handling message. client_id:3, sender_id:Some(PeerId { owner_id: 327, id: 1123430 }), type:GetCompletions, error:no such connection: 0/0
```

That `0/0` looks like a bogus connection id, constructed via a derived
`Default`. We didn't ever find a code path that would *use* a default
`ConnectionId` and lead to this error, but it did seem like an
improvement to not have a `Default` for that type.

Release Notes:

- N/A

Co-authored-by: Marshall <marshall@zed.dev>
2024-02-06 15:45:15 -05:00
..
auth.rs Fix typos 2023-06-02 22:02:19 -04:00
conn.rs Remove 2 suffix for fs, db, semantic_index, prettier 2024-01-03 12:09:42 -08:00
error.rs disallow opening private files (#7165) 2024-01-31 12:05:51 -08:00
macros.rs Check user is host for host-broadcasted project messages 2024-01-08 12:04:59 -08:00
notification.rs chore: cfg(test) a test in rpc. (#3978) 2024-01-09 18:00:54 +01:00
peer.rs Remove Default impl for ConnectionId (#7452) 2024-02-06 15:45:15 -05:00
proto.rs TEMP 2024-01-25 13:24:45 -07:00
rpc.rs TEMP 2024-01-25 13:24:45 -07:00