Daniel Glazman wrote:

Darin Fisher wrote:

no, there is equivalent pref. i think there is a hard coded limit on the number of persistent control connections, but there are no limits on the number of data connections AFAIK.


I was asking because I have at least 5 bug reports from Nvu users who have
problems with their ISP : the ftp server for home pages' upload has a
max-connections-per-calling-IP limit... So each time they try to open a
document containing let's say 25 external images, they experience failures.


Darin, how hard do you think it would be to implement such a limit,
controllable by a pref?


It'd probably be a fair bit of work to implement these kinds of limits. Basically, you'd have to put a request on some sort of pending queue while you wait for the number of active control and/or data connections to drop below some threshold. Since the FTP code is mostly all running on the main thread, it shouldn't be too difficult to implement this logic.

-Darin
_______________________________________________
Mozilla-netlib mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-netlib

Reply via email to