From e6d7f78a7add301d16d7e044f7383a76a357122b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joakim=20Frosteg=C3=A5rd?= Date: Wed, 27 Oct 2021 21:11:07 +0200 Subject: [PATCH] aquatic_http: don't use bindings_after_at - it causes CI error --- aquatic_http/src/lib/glommio/network.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/aquatic_http/src/lib/glommio/network.rs b/aquatic_http/src/lib/glommio/network.rs index a756704..085d417 100644 --- a/aquatic_http/src/lib/glommio/network.rs +++ b/aquatic_http/src/lib/glommio/network.rs @@ -346,8 +346,11 @@ impl Connection { let peer_addr = self.get_peer_addr()?; match request { - Request::Announce(request @ AnnounceRequest { info_hash, .. }) => { + Request::Announce(request) => { + let info_hash = request.info_hash; + if self.access_list.borrow().allows(self.config.access_list.mode, &info_hash.0) { + let request = ChannelRequest::Announce { request, connection_id: self.connection_id,