fix(buffer): get_buf to not return consumed part of buffer

Closes #406
This commit is contained in:
Sean McArthur
2015-03-29 21:20:09 -07:00
parent ce5231508e
commit 04e3b56515
2 changed files with 21 additions and 2 deletions

View File

@@ -228,7 +228,6 @@ mod tests {
Host: example.domain\r\n\
Expect: 100-continue\r\n\
Content-Length: 10\r\n\
Connection: close\r\n\
\r\n\
1234567890\
");