mirror of https://github.com/mohtar/rust-fastcgi
Reset pos after resetting buf. Fix #5
This commit is contained in:
parent
abf5ee5112
commit
561a5b0af6
|
@ -316,6 +316,7 @@ impl<'a> BufRead for Stdin<'a> {
|
|||
self.req.is_eof = true;
|
||||
}
|
||||
self.req.buf = content;
|
||||
self.req.pos = 0;
|
||||
break;
|
||||
},
|
||||
_ => (),
|
||||
|
|
Loading…
Reference in New Issue