CFNetwork HTTPS
CFNetwork HTTPS
- Subject: CFNetwork HTTPS
- From: Joshua <email@hidden>
- Date: Wed, 25 Apr 2007 17:54:07 -0700 (PDT)
I'm trying to use a read stream with "POST" to a https url. My code works with non-https, I can
read and get other urls. I thought I might need to set the SSL level using the call below, but the
call below using kCFStreamPropertySocketSecurityLevel always returns false (but if I comment out
the first setProperty the second succeeds). Is there a reason it cannot set this property? And do
I need it to do HTTPS?
Any info would be appreciated.
- Josh
setProperty = CFReadStreamSetProperty( readStreamRef,
kCFStreamPropertySocketSecurityLevel,
kCFStreamSocketSecurityLevelNegotiatedSSL );
setProperty = CFReadStreamSetProperty( readStreamRef,
kCFStreamPropertyHTTPAttemptPersistentConnection,
kCFBooleanTrue);
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden