log fixes

This commit is contained in:
Sean McArthur
2014-11-10 16:28:56 -08:00
parent 03fb215326
commit d51657a831
2 changed files with 2 additions and 2 deletions

View File

@@ -476,7 +476,7 @@ pub fn read_header<R: Reader>(stream: &mut R) -> HttpResult<Option<RawHeaderLine
let mut value = vec![];
loop {
match inspect!("header byte", try_io!(stream.read_byte())) {
match try_io!(stream.read_byte()) {
CR if name.len() == 0 => {
match try_io!(stream.read_byte()) {
LF => return Ok(None),