191:391ccd490d97 | 192:6a145e13d933 |
---|---|
91 SSL_free(conn->ssl); | 91 SSL_free(conn->ssl); |
92 } | 92 } |
93 free(conn); | 93 free(conn); |
94 } | 94 } |
95 | 95 |
96 IOStream* create_connection_iostream(SessionHandler *sh, Connection *conn, pool_handle_t *pool, WSBool *ssl) { | 96 IOStream* create_connection_iostream( |
97 SessionHandler *sh, | |
98 Connection *conn, | |
99 pool_handle_t *pool, | |
100 WSBool *ssl) | |
101 { | |
97 IOStream *io = NULL; | 102 IOStream *io = NULL; |
98 if(conn->ssl) { | 103 if(conn->ssl) { |
99 io = sslstream_new(pool, conn->ssl); | 104 io = sslstream_new(pool, conn->ssl); |
100 *ssl = 1; | 105 *ssl = 1; |
101 } else { | 106 } else { |