Skip to content
Browse files

Document how ssl notifies that the handshake is complete

  • Loading branch information...
1 parent 0f87867 commit bef021aeedf448a94201ef86d4638d408b3a08bc @mistotebe mistotebe committed with Nick Mathewson Aug 12, 2012
Showing with 3 additions and 0 deletions.
  1. +3 −0 Ref6a_advanced_bufferevents.txt
View
3 Ref6a_advanced_bufferevents.txt
@@ -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().

0 comments on commit bef021a

Please sign in to comment.
Something went wrong with that request. Please try again.