1
0
mirror of https://github.com/fafhrd91/actix-web synced 2025-07-01 16:55:08 +02:00

fix test and remove unused code

This commit is contained in:
Nikolay Kim
2018-10-04 23:46:43 -07:00
parent 7fdc18f9b9
commit caa5a54b8f
3 changed files with 12 additions and 630 deletions

View File

@ -510,21 +510,17 @@ impl ChunkedState {
#[cfg(test)]
mod tests {
use std::net::Shutdown;
use std::{cmp, io, time};
use std::{cmp, io};
use actix::System;
use bytes::{Buf, Bytes, BytesMut};
use futures::{future, future::ok};
use http::{Method, Version};
use tokio_io::{AsyncRead, AsyncWrite};
use super::*;
use error::ParseError;
use h1::{Dispatcher, InMessage};
use h1::InMessage;
use httpmessage::HttpMessage;
use request::Request;
use server::KeepAlive;
impl InMessage {
fn message(self) -> Request {