• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Non-blocking SSLWrite problems
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Non-blocking SSLWrite problems


  • Subject: Re: Non-blocking SSLWrite problems
  • From: Frederick Cheung <email@hidden>
  • Date: Wed, 12 Oct 2005 22:25:10 +0100

On 10/12/05, Brian Webster <email@hidden> wrote:
> On Oct 12, 2005, at 12:08 PM, Rich Siegel wrote:
>
> > As far as I know, the SSLWriteProc should never return
> > errSSLWouldBlock,
> > and in fact none of mine ever do. Your SSLWriteProc should push the
> > data
> > at the socket, set *dataLength to the actual amount of data that was
> > actually transmitted, and only return an error if you want the whole
> > process to abort.
> The way the docs are written implies that you should be able to
> return errSSLWouldBlock.  From the discussion of the SSLWriteFunc
> callback:
>
I've certainly done this in my ssl write funcs without any problems.
I'm curious, after you have returned errSSLWouldBlock  (and SSLWrite
has returned) does SecureTransport call your SSLWriteProc again with
the remainder of the data?

Fred
 _______________________________________________
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

  • Follow-Ups:
    • Re: Non-blocking SSLWrite problems
      • From: Brian Webster <email@hidden>
References: 
 >Re: Non-blocking SSLWrite problems (From: Rich Siegel <email@hidden>)
 >Re: Non-blocking SSLWrite problems (From: Brian Webster <email@hidden>)

  • Prev by Date: Re: accessing the CFSteam that NSURLConnection is using?
  • Next by Date: Re: accessing the CFSteam that NSURLConnection is using?
  • Previous by thread: Re: Non-blocking SSLWrite problems
  • Next by thread: Re: Non-blocking SSLWrite problems
  • Index(es):
    • Date
    • Thread