mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-03-31 17:55:36 +00:00
http: add AnnounceResponse.warning_message; set in http_private
This commit is contained in:
parent
44f4474fb2
commit
70d79b1871
5 changed files with 25 additions and 4 deletions
|
|
@ -337,6 +337,7 @@ pub fn handle_announce_request(
|
|||
announce_interval: config.protocol.peer_announce_interval,
|
||||
peers: ResponsePeerListV4(response_peers),
|
||||
peers6: ResponsePeerListV6(vec![]),
|
||||
warning_message: None,
|
||||
};
|
||||
|
||||
response
|
||||
|
|
@ -366,6 +367,7 @@ pub fn handle_announce_request(
|
|||
announce_interval: config.protocol.peer_announce_interval,
|
||||
peers: ResponsePeerListV4(vec![]),
|
||||
peers6: ResponsePeerListV6(response_peers),
|
||||
warning_message: None,
|
||||
};
|
||||
|
||||
response
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue