Changeset 5344 for pjproject/trunk/pjlib/src/pj/ssl_sock_ossl.c
- Timestamp:
- Jun 15, 2016 1:59:14 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjlib/src/pj/ssl_sock_ossl.c
r5343 r5344 1969 1969 ssock->ssl_state = SSL_STATE_HANDSHAKING; 1970 1970 SSL_set_accept_state(ssock->ossl_ssl); 1971 //To avoid race condition, we don't need to do it here and 1972 //let the handshake happen in ssock->asock's callback instead. 1973 //status = do_handshake(ssock); 1971 status = do_handshake(ssock); 1974 1972 1975 1973 on_return: 1976 if (ssock && status != PJ_SUCCESS) { 1977 //on_handshake_complete(ssock, status); 1978 close_sockets(ssock); 1974 if (ssock && status != PJ_EPENDING) { 1975 on_handshake_complete(ssock, status); 1979 1976 } 1980 1977
Note: See TracChangeset
for help on using the changeset viewer.