Skip to content

Commit

Permalink
Document how ssl notifies that the handshake is complete
Browse files Browse the repository at this point in the history
  • Loading branch information
mistotebe authored and nmathewson committed Aug 15, 2012
1 parent 0f87867 commit bef021a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Ref6a_advanced_bufferevents.txt
Expand Up @@ -488,6 +488,9 @@ The usual options are accepted; BEV_OPT_CLOSE_ON_FREE makes the SSL object
and the underlying fd or bufferevent get closed when the openssl bufferevent
itself is closed.

Once the handshake is complete, the new bufferevent's event callback gets invoked
with BEV_EVENT_CONNECTED in flags.

If you're creating a socket-based bufferevent and the SSL object already
has a socket set, you do not need to provide the socket yourself: just pass
-1. You can also set the fd later with bufferevent_setfd().
Expand Down

0 comments on commit bef021a

Please sign in to comment.