Re: more than 2 downloads
[email protected] (Daniel Barclay)
| Newsgroups | gmane.comp.mozilla.devel.prefs |
|---|---|
| Organization | Another Netscape Collabra Server User |
| Message-ID | <[email protected]> |
TenThumbs wrote: > Clients that use persistent connections SHOULD limit the number of > ... A > single-user client SHOULD NOT maintain more than 2 connections with > any server or proxy. Would this allow users to start more than 2 downloads without waiting for previous downloads to finish without causing excessive-connection problems?: When the user requests to download a document, if 2 connections are already open (still downloading other documents), use a (short-term) third connection to perform a HEAD request to get content type, disposition and name information needed for the UI actions to start the download, but queue the actual downloading until one of the two long-term connections is free. That way, the user could initiate multiple downloads right away instead of having to wait for earlier downloads to complete to perform the UI interaction (e.g., the Save dialog) for other documents. Obviously, HEAD doesn't work if the download uses POST instead of GET. Also, how likely is it that HEAD request and the delayed GET request wouldn't return matching headers? Daniel