Tiger limits the number of concurrent downloads in WebKit?
Tiger limits the number of concurrent downloads in WebKit?
- Subject: Tiger limits the number of concurrent downloads in WebKit?
- From: "Greg Harris" <email@hidden>
- Date: Mon, 27 Oct 2008 18:18:24 -0400
I'm using WebKit to download files from a web page. On Leopard (tested
10.5.5) everything works as expected, you can download as many files as you
want concurrently. However, with the same app on Tiger (tested 10.4.10 and
10.4.11), if you have started 3 downloads, clicking on additional downloads
will timeout. It's almost like there's a hard limit to the number of
concurrent downloads you can have.
I'm detecting whether the file should be downloaded based on the MIME type
in the decidePolicyForMIMEType... method of the WebPolicyDelegate. If the
file should be downloaded, I'm creating a WebDownload object for that URL.
On attempting to download a fourth file while three are still downloading,
that fourth WebDownload object never calls download:didReceiveResponse, it
just eventually calls download:didFailWithError and times out. If you cancel
or finish one of the previous 3 downloads before the 4th one times out, the
4th one will begin downloading. If it matters, all of the WebView delegates
and download delegate are the same object.
Has anyone else run into this problem? Any ideas?
Thanks!
Greg Harris
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden