mirror of
https://github.com/MeexReay/sRAC.git
synced 2025-06-24 10:32:58 +03:00
remove dbg!
This commit is contained in:
parent
a5120ddb82
commit
3c6f9fb006
@ -73,16 +73,14 @@ pub fn on_chunked_data(
|
|||||||
client_has: u64,
|
client_has: u64,
|
||||||
) -> Result<Vec<u8>, Box<dyn Error>> {
|
) -> Result<Vec<u8>, Box<dyn Error>> {
|
||||||
if let Some(url) = ctx.args.proxy_to.as_ref() {
|
if let Some(url) = ctx.args.proxy_to.as_ref() {
|
||||||
return dbg!(
|
return read_messages(
|
||||||
read_messages(
|
|
||||||
&mut connect(url, ctx.args.use_proxy.clone())?,
|
&mut connect(url, ctx.args.use_proxy.clone())?,
|
||||||
1024, // TODO: softcode this
|
1024, // TODO: softcode this
|
||||||
client_has as usize,
|
client_has as usize,
|
||||||
true,
|
true,
|
||||||
)?
|
)?
|
||||||
.map(|o| (o.0.join("\n") + "\n").as_bytes().to_vec())
|
.map(|o| (o.0.join("\n") + "\n").as_bytes().to_vec())
|
||||||
.ok_or("err on reading in proxy mode".into())
|
.ok_or("err on reading in proxy mode".into());
|
||||||
);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
let messages = ctx.messages.read().unwrap().clone();
|
let messages = ctx.messages.read().unwrap().clone();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user