Re: Problems with Secure Transport
Re: Problems with Secure Transport
- Subject: Re: Problems with Secure Transport
- From: Doug Mitchell <email@hidden>
- Date: Fri, 12 Sep 2003 16:01:05 -0700
On Friday, September 12, 2003, at 03:24 PM, Larry Gerndt wrote:
I posted this message a few weeks ago:
Can anyone shed any light on the result code "errSSLProtocol" which
I'm seeing
returned from SSLRead? If I attempt another read after that error
occurs, I
get "errSSLClosedAbort". If it helps, I'm calling SSLRead from an
MPTask,
and when I set breakpoint after each read, I never get the error.
Without the
breakpoint there, I do get it. There's another MPTask that does
SSLWrites. I
have checked to be sure that SSRead is never called during SSLWrite,
and it
appears that they are not, so I'm baffled about why I would get this
error.
Also, it seems that the first read and write succeed with no errors.
Then the
error happens shortly after that.
The responses I got were sparse, which leads me to wonder: Has anyone
really succeeded in implementing a real-world application using this
new
API?
Well, Apple has implemented Safari with it. And EAP/TLS over 802.1x
including client authentication. And Mail.app, for POP and IMAP
connections.
I would like some assurance that the error is really in my code and
not in the API.
Could be anywhere, including SecureTransport, MPTask, or your app. FWIW
I've never seen MPTask used with SecureTransport anywhere else.
Would it be appropriate to open a DTS incident to get some help on
this? I
fear my app would take a lot of time for them to figure out. Maybe I
should
try to write a simplified app that demonstrates the problem?
Writing a simplified app to isolate the problem is a great idea. As you
surely know, system-level bugs - resulting from the interaction between
multiple subsystems - are pretty tough to track down.
--dpm
_______________________________________________
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.