-
deuce authored
Try to recv() Content-Length bytes when specified, and 1024 bytes at a time when not. Call js.gc() after each recv(). The gc() call fixes the "out of memory" error which occured on HTTP pages over about 128KiB and makes reading web pages considerably faster.
deuce authoredTry to recv() Content-Length bytes when specified, and 1024 bytes at a time when not. Call js.gc() after each recv(). The gc() call fixes the "out of memory" error which occured on HTTP pages over about 128KiB and makes reading web pages considerably faster.