Handle connectivity issues while reading the body (#1343)

This commit is contained in:
Tomas Della Vedova
2020-11-10 18:16:25 +01:00
committed by GitHub
parent a62e26e901
commit edd4f78bad
8 changed files with 269 additions and 231 deletions

View File

@ -109,7 +109,7 @@ class MockConnectionSniff extends Connection {
'content-type': 'application/json;utf=8',
date: new Date().toISOString(),
connection: 'keep-alive',
'content-length': '205'
'content-length': '191'
}
process.nextTick(() => {
if (!aborted) {