mirror of https://gitee.com/bigwinds/arangodb
Backport 32338ef07f
This commit is contained in:
parent
e2fe4fd9a3
commit
c65a292fc9
|
@ -629,7 +629,7 @@ namespace triagens {
|
|||
}
|
||||
|
||||
// end of header found
|
||||
if (*ptr == '\r' || *ptr == '\0') {
|
||||
if (*ptr == '\r' || *ptr == '\n' || *ptr == '\0') {
|
||||
size_t len = pos - ptr;
|
||||
_readBufferOffset += len + 1;
|
||||
ptr += len + 1;
|
||||
|
|
Loading…
Reference in New Issue