aboutsummaryrefslogtreecommitdiff
path: root/src/microspdy/session.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/microspdy/session.c')
-rw-r--r--src/microspdy/session.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/microspdy/session.c b/src/microspdy/session.c
index 4056e20e..93e4cc49 100644
--- a/src/microspdy/session.c
+++ b/src/microspdy/session.c
@@ -1305,12 +1305,8 @@ SPDYF_session_accept(struct SPDY_Daemon *daemon)
1305 1305
1306 session->daemon = daemon; 1306 session->daemon = daemon;
1307 session->socket_fd = new_socket_fd; 1307 session->socket_fd = new_socket_fd;
1308 1308
1309 session->fio_new_session = &SPDYF_openssl_new_session; 1309 SPDYF_io_set_session(session, SPDY_IO_SUBSYSTEM_OPENSSL);
1310 session->fio_close_session = &SPDYF_openssl_close_session;
1311 session->fio_is_pending = &SPDYF_openssl_is_pending;
1312 session->fio_recv = &SPDYF_openssl_recv;
1313 session->fio_send = &SPDYF_openssl_send;
1314 1310
1315 //init TLS context, handshake will be done 1311 //init TLS context, handshake will be done
1316 if(SPDY_YES != session->fio_new_session(session)) 1312 if(SPDY_YES != session->fio_new_session(session))