mirror of
https://github.com/actix/actix-extras.git
synced 2024-11-28 01:32:57 +01:00
remove debug prints
This commit is contained in:
parent
70ea43b3c0
commit
88031b7fde
@ -600,7 +600,6 @@ impl<S, H> ProcessResponse<S, H> {
|
|||||||
Ok(Async::Ready(Some(frame))) => {
|
Ok(Async::Ready(Some(frame))) => {
|
||||||
match frame {
|
match frame {
|
||||||
Frame::Payload(None) => {
|
Frame::Payload(None) => {
|
||||||
println!("ACTOR PAYLOAD EOF");
|
|
||||||
info.context = Some(ctx);
|
info.context = Some(ctx);
|
||||||
self.iostate = IOState::Done;
|
self.iostate = IOState::Done;
|
||||||
if let Err(err) = io.write_eof() {
|
if let Err(err) = io.write_eof() {
|
||||||
@ -611,7 +610,6 @@ impl<S, H> ProcessResponse<S, H> {
|
|||||||
break
|
break
|
||||||
},
|
},
|
||||||
Frame::Payload(Some(chunk)) => {
|
Frame::Payload(Some(chunk)) => {
|
||||||
println!("ACTOR PAYLOAD");
|
|
||||||
self.iostate = IOState::Actor(ctx);
|
self.iostate = IOState::Actor(ctx);
|
||||||
match io.write(chunk.as_ref()) {
|
match io.write(chunk.as_ref()) {
|
||||||
Err(err) => {
|
Err(err) => {
|
||||||
@ -623,7 +621,6 @@ impl<S, H> ProcessResponse<S, H> {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
Frame::Drain(fut) => {
|
Frame::Drain(fut) => {
|
||||||
println!("ACTOR DRAIN");
|
|
||||||
self.drain = Some(fut);
|
self.drain = Some(fut);
|
||||||
self.iostate = IOState::Actor(ctx);
|
self.iostate = IOState::Actor(ctx);
|
||||||
break
|
break
|
||||||
|
Loading…
Reference in New Issue
Block a user