fixed connections falling back to non-ssl when keep-alive + ssl was used

git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.11-ssl-fixes@1334 152afb58-edef-0310-8abb-c4023f1b3aa9
svn/tags/lighttpd-1.4.12
Jan Kneschke 16 years ago
parent 5130edf9d0
commit dd35c9101c
  1. 6
      src/connections.c

@ -1342,6 +1342,12 @@ int connection_state_machine(server *srv, connection *con) {
con->loops_per_request = 0;
connection_set_state(srv, con, CON_STATE_READ);
/* patch con->conf.is_ssl if the connection is a ssl-socket already */
#ifdef USE_OPENSSL
con->conf.is_ssl = srv_sock->is_ssl;
#endif
break;
case CON_STATE_REQUEST_END: /* transient */

Loading…
Cancel
Save