in reply to Re: "Do not exceed 10 half-open simultaneous connections" flag for LWP::UserAgent
in thread "Do not exceed 10 half-open simultaneous connections" flag for LWP::UserAgent

I assume you are using this for a bot. Why not set up a loop that accepts the limit, but monitors when a download is finished, closes that Agent, then does another, etc.? You would still face the limit at any given time, but could could sset it up to contually execute...
  • Comment on Re^2: "Do not exceed 10 half-open simultaneous connections" flag for LWP::UserAgent

Replies are listed 'Best First'.
Re^3: "Do not exceed 10 half-open simultaneous connections" flag for LWP::UserAgent
by rustyx5 (Initiate) on Mar 13, 2008 at 22:50 UTC
    No, this is sort of a web crawler, so I initiate all my connections myself. As I said before, one real easy solution is to only have 10 at any given time, but in reality I can have more, just not more than 10 in the "connecting" state at any given time. Damn it, I should probably get a normal O/S :-)