diff options
author | joe <joe@61a7d7f5-40b7-0310-9c16-bb0ea8cb1845> | 2006-10-24 20:26:15 +0000 |
---|---|---|
committer | joe <joe@61a7d7f5-40b7-0310-9c16-bb0ea8cb1845> | 2006-10-24 20:26:15 +0000 |
commit | 11544946bd4851da1be6ff3c1fad4fd3512ed3f4 (patch) | |
tree | db79c1c7577c3cf654fd1536bcb87cca86568f19 /src/ne_openssl.c | |
parent | cb69c961d5e80a8a3f960554062884cb9a40cb82 (diff) | |
download | neon-11544946bd4851da1be6ff3c1fad4fd3512ed3f4.tar.gz |
Add add new type-safer notification/status API:
* src/ne_session.h (ne_notify_status): Redefine callback type,
passing pointer to ne_session_status_info structure.
* src/ne_request.c (notify_status): Invoke notify callback, and
progress callback as appropriate.
(send_request_body, ne_read_response_block, lookup_host,
ne_begin_request, do_connect): Adjust to set up and invoke
the notify callback.
* src/ne_openssl.c (ne__negotiate_ssl): Drop notify callback
invocation.
* src/ne_private.h (struct ne_session_s): Store status union.
* macros/neon.m4: Define NE_FMT_NE_OFF_T.
* test/request.c (status_cb, status): Add new test.
git-svn-id: http://svn.webdav.org/repos/projects/neon/trunk@1094 61a7d7f5-40b7-0310-9c16-bb0ea8cb1845
Diffstat (limited to 'src/ne_openssl.c')
-rw-r--r-- | src/ne_openssl.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/ne_openssl.c b/src/ne_openssl.c index 28d5e18..39dbfc8 100644 --- a/src/ne_openssl.c +++ b/src/ne_openssl.c @@ -658,11 +658,6 @@ int ne__negotiate_ssl(ne_session *sess) ctx->sess = SSL_get1_session(ssl); } - if (sess->notify_cb) { - sess->notify_cb(sess->notify_ud, ne_conn_secure, - SSL_get_version(ssl)); - } - return NE_OK; } |