Remove "bad ip" comment again
This commit is contained in:
parent
0f1d07409d
commit
2625896263
1 changed files with 0 additions and 8 deletions
|
|
@ -105,10 +105,6 @@ impl<H: PeerConnectionHandler> PeerConnection<H> {
|
||||||
) -> anyhow::Result<()> {
|
) -> anyhow::Result<()> {
|
||||||
use tokio::io::AsyncWriteExt;
|
use tokio::io::AsyncWriteExt;
|
||||||
|
|
||||||
// if self.addr.ip().to_string() != "213.189.217.38" {
|
|
||||||
// bail!("bad ip")
|
|
||||||
// }
|
|
||||||
|
|
||||||
let rwtimeout = self
|
let rwtimeout = self
|
||||||
.options
|
.options
|
||||||
.read_write_timeout
|
.read_write_timeout
|
||||||
|
|
@ -153,10 +149,6 @@ impl<H: PeerConnectionHandler> PeerConnection<H> {
|
||||||
&self,
|
&self,
|
||||||
outgoing_chan: tokio::sync::mpsc::UnboundedReceiver<WriterRequest>,
|
outgoing_chan: tokio::sync::mpsc::UnboundedReceiver<WriterRequest>,
|
||||||
) -> anyhow::Result<()> {
|
) -> anyhow::Result<()> {
|
||||||
// if self.addr.ip().to_string() != "213.189.217.38" {
|
|
||||||
// bail!("bad ip")
|
|
||||||
// }
|
|
||||||
|
|
||||||
use tokio::io::AsyncWriteExt;
|
use tokio::io::AsyncWriteExt;
|
||||||
let rwtimeout = self
|
let rwtimeout = self
|
||||||
.options
|
.options
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue