🎨 Fix typos

This commit is contained in:
C-3PO 2018-07-04 20:04:16 +02:00
parent a3bff814ef
commit 14e73367c6
Signed by: c3po
GPG key ID: 62993C4BB4D86F24
2 changed files with 3 additions and 3 deletions

View file

@ -1,6 +1,6 @@
import * as http from 'http';
/** Too avoid */
/** Too avoid overloading the server, do not allow large files (> 100 MB) to be handled in memory. */
const MAX_MEMORY_SIZE = 100 * 1024 * 1024;
export default function handleResponse(
@ -34,7 +34,7 @@ export default function handleResponse(
chunkList.push(chunk);
});
//If we finished reading response, check for correctness and return it
//If we finished reading response, check for correctness, then return it
response.on('end', () => {
//Check that length is correct
if (totalLength !== headerLength) {