1
0
mirror of https://github.com/lammertb/libhttp.git synced 2025-08-10 14:23:00 +03:00

SSL flags now proper booleans

This commit is contained in:
Lammert Bies
2016-12-26 16:28:02 +01:00
parent 7541ad039e
commit c0fa698948
14 changed files with 53 additions and 60 deletions

View File

@@ -105,7 +105,7 @@ void XX_httplib_handle_request( struct httplib_connection *conn ) {
* 1.2. do a https redirect, if required. Do not decode URIs yet.
*/
if ( ! conn->client.is_ssl && conn->client.ssl_redir ) {
if ( ! conn->client.has_ssl && conn->client.has_redir ) {
ssl_index = XX_httplib_get_first_ssl_listener_index( conn->ctx );