URL Access Problem
URL Access Problem
- Subject: URL Access Problem
- From: Mike Cohen <email@hidden>
- Date: Mon, 18 Feb 2002 14:00:31 -0500
I'm having a problem with URL Access Manager in my application.
I'm able to successfully make one request but my next request always fails
with error -30785, which shouldn't even occur in OS X. For each request I
call URLNewReference to create a reference, add header & body using
URLSetAttribute, call URLDownload with a handle to receive the response, and
finally call URLDisposeReference.
I'm not reusing the same reference, although I do reuse the same result
handle for URLDownload, although I set the size to 0 after copying the data
from it. The second calls to URLNewReference & URLSetAttribute don't return
any errors, but the second call to URLDownload returns -30785 & no data is
sent as far as I can tell. The first call does finish successfully and
return the expected data.
According to the URL Manager reference:
kURLExtensionFailureError -30785 Indicates that your extension failed to
load. Available in Mac OS 9 and earlier.
--
[ Mike Cohen |
http://www.macmegasite.com/ ]
[ email@hidden |
http://www.worldbeatplanet.com/ ]
Sound is the same for all the world - Youssou N'dour, "Eyes Open"
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.