remove stupid stdout sasl response bit
This commit is contained in:
parent
ad0054ea56
commit
ec41f1d4ff
|
@ -195,9 +195,6 @@ where
|
||||||
// While we aren't finished, receive more data from the other party
|
// While we aren't finished, receive more data from the other party
|
||||||
let response = Response::new(str::from_utf8(&sasl_data)?.to_string());
|
let response = Response::new(str::from_utf8(&sasl_data)?.to_string());
|
||||||
debug!("response: {:?}", response);
|
debug!("response: {:?}", response);
|
||||||
let stdout = tokio::io::stdout();
|
|
||||||
let mut writer = Writer::new(stdout);
|
|
||||||
writer.write_full(&response).await?;
|
|
||||||
self.writer.write_full(&response).await?;
|
self.writer.write_full(&response).await?;
|
||||||
debug!("response written");
|
debug!("response written");
|
||||||
|
|
||||||
|
@ -415,7 +412,7 @@ mod tests {
|
||||||
use std::time::Duration;
|
use std::time::Duration;
|
||||||
|
|
||||||
use super::*;
|
use super::*;
|
||||||
use crate::{connection::Connection};
|
use crate::connection::Connection;
|
||||||
use futures::sink;
|
use futures::sink;
|
||||||
use test_log::test;
|
use test_log::test;
|
||||||
use tokio::time::sleep;
|
use tokio::time::sleep;
|
||||||
|
|
Loading…
Reference in New Issue