mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-04-01 10:15:31 +00:00
aquatic_http: clean up / move around code; update TODO
This commit is contained in:
parent
c8de9857f8
commit
6fc4b693cd
4 changed files with 29 additions and 33 deletions
|
|
@ -184,13 +184,6 @@ pub fn run_handshake_and_read_requests<'a>(
|
|||
|
||||
debug!("read request, sending to handler");
|
||||
|
||||
if let Request::Announce(ref request) = request {
|
||||
for (i, c) in request.info_hash.0.chars().enumerate() {
|
||||
debug!("{}: {}", i, c.escape_unicode());
|
||||
}
|
||||
debug!("request info hash char count: {}", request.info_hash.0.chars().count());
|
||||
}
|
||||
|
||||
if let Err(err) = request_channel_sender
|
||||
.send((meta, request))
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue