mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-04-01 18:25:30 +00:00
aquatic_ws: pass on offers to other peers; minor fixes
This commit is contained in:
parent
f2ae494902
commit
5b58db90e3
5 changed files with 130 additions and 31 deletions
|
|
@ -86,7 +86,7 @@ pub struct AnnounceRequest {
|
|||
pub peer_id: PeerId,
|
||||
/// Just called "left" in protocol
|
||||
#[serde(rename = "left")]
|
||||
pub bytes_left: bool,
|
||||
pub bytes_left: usize, // FIXME: I had this set as bool before, check!
|
||||
/// Can be empty. Then, default is "update"
|
||||
#[serde(default)]
|
||||
pub event: AnnounceEvent,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue