Native HTTPRequest timeout should apply only to connect phase (fix #916)
This commit is contained in:
@@ -279,7 +279,7 @@ class NativeHTTPRequest {
|
|||||||
|
|
||||||
Timer.delay (function () {
|
Timer.delay (function () {
|
||||||
|
|
||||||
if (!worker.completed) {
|
if (bytesLoaded == 0 && bytesTotal == 0 && !worker.completed) {
|
||||||
|
|
||||||
worker.cancel ();
|
worker.cancel ();
|
||||||
cancel ();
|
cancel ();
|
||||||
|
|||||||
Reference in New Issue
Block a user