make sure we mark the connection as SSL (important for redirects later)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.3.x@367 152afb58-edef-0310-8abb-c4023f1b3aa9svn/tags/lighttpd-1.3.14
parent
acfe706d73
commit
e5a1b1eb4a
|
@ -1139,10 +1139,11 @@ connection *connection_accept(server *srv, server_socket *srv_socket) {
|
|||
ERR_error_string(ERR_get_error(), NULL));
|
||||
|
||||
return NULL;
|
||||
} else {
|
||||
SSL_set_accept_state(con->ssl);
|
||||
}
|
||||
|
||||
SSL_set_accept_state(con->ssl);
|
||||
con->conf.is_ssl=1;
|
||||
|
||||
if (1 != (SSL_set_fd(con->ssl, cnt))) {
|
||||
log_error_write(srv, __FILE__, __LINE__, "ss", "SSL:",
|
||||
ERR_error_string(ERR_get_error(), NULL));
|
||||
|
|
Loading…
Reference in New Issue