Gisle Aas wrote: > > Blair Zajac <[EMAIL PROTECTED]> writes: > > > Are you going use the patches I submitted regarding the usage of the > > connection cache in LWP::UserAgent passing in undef? > > > > http:[EMAIL PROTECTED]/msg03066.html > > http:[EMAIL PROTECTED]/msg03067.html > > They are on my list over things to consider. In principle I see > nothing wrong with that patch. > > But why do you want to set up unlimited capacity? It means that your > program will start to fail once it reach the OS limit on the number of > live sockets or file descriptors allowed. Is it useful to have more > than 2-4 live connections going at any time? > > Regards, > Gisle
Good point regarding the OS limits. It might be easier to update the documentation then to make it clearer that using undef won't do what is expected from reading LWP::ConnCache. If you're doing downloading the a number of different sites at the same time, then I could see it being useful to have more then 2-4 live connections. Best, Blair -- Blair Zajac <[EMAIL PROTECTED]> - Perl & sysadmin services for hire Web and OS performance plots - http://www.orcaware.com/orca/
