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:
@@ -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 );
|
||||
|
||||
|
Reference in New Issue
Block a user