URL Access problem
URL Access problem
- Subject: URL Access problem
- From: Mike Cohen <email@hidden>
- Date: Fri, 08 Feb 2002 13:26:21 -0500
Hi,
I'm having a problem with URL Access. I'm attempting to send a series of
requests and receive responses using URLDownload.
For each request, I call URLNewReference, set the method to POST, add some
headers, add the request body, call URLDownload with a handle as the
destination and no FSSpec, and finally call URLDisposeReference.
The first request works perfectly and I get the expected response. However,
when I make the next request, URLDownload crashes. The stack frame shows two
occurrences of SecurityHI followed by multiple occurrences of Security,
finally resulting an an access exception in libSystem.B.dylib.
I'm reusing the same destination handle, which I'm NOT disposing, although I
do set the handle size to 0 before each request.
--
[ 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.