rushmi704 reputationPosted Jun 2, 2004, 3:51 PM EDT
+1
This is happening because you are not closing the response after you make a request. Since the response is not closed the web server reaches its limit and hence serves no more requests. Simply add a res.Close for each iteration in the for loop. Edited code below.
for(i=0;i
Tanvir HudaRank #4,089 · 366 reputationPosted Mar 25, 2004, 5:07 AM EST
rushmi704 reputationPosted Jun 2, 2004, 3:51 PM EDT
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questionsTop experts