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 delvedor
parent a4f66d7f4a
commit cbfb9616a0
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) {