Dart Limiting simultaneous connections -


i have interesting problem dart running in command line mode - fast!

the situation code has access web site , retrieve list of files can downloaded, downloads each file write local disk.

the problem each download operation running asynchronously , downloads starts failing errors 'socketexception: os error: semaphore timeout period has expired.' , 'connection closed before full header received'. far can determine os on pc failing open required connections or possibly web server been swamped.

how should change design limit number of simultaneous connections been made?

there several packages wich should make easy:


Popular posts from this blog

javascript - Js, document.getElementById("ID").innerHTML, error -

jquery - jqGrid update specific column data with out refreshing the entire column? -

objective c - Is there a way in OCMockito to make stubs fail when an unknown method is called? -