Skip to content

Commit

Permalink
logging bug
Browse files Browse the repository at this point in the history
  • Loading branch information
ThatcherT committed Jul 18, 2024
1 parent 694467e commit ba02246
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions src/ngx_http_ssl_ja4_module.h
Original file line number Diff line number Diff line change
Expand Up @@ -354,10 +354,19 @@ ngx_ssl_ja4_detail_print(ngx_pool_t *pool, ngx_ssl_ja4_t *ja4)
}

/* ALPN Values */
ngx_log_debug1(NGX_LOG_DEBUG_EVENT,
pool->log, 0, "ssl_ja4: ALPN Value: %s\n",
ja4->alpn_first_value);
}
// handle if null
if (ja4->alpn_first_value == NULL)
{
ngx_log_debug1(NGX_LOG_DEBUG_EVENT,
pool->log, 0, "ssl_ja4: ALPN Value: NULL\n");
}
else
{
ngx_log_debug1(NGX_LOG_DEBUG_EVENT,
pool->log, 0, "ssl_ja4: ALPN Value: %s\n",
ja4->alpn_first_value);
}

#endif

// FUNCTION PROTOTYPES
Expand Down

0 comments on commit ba02246

Please sign in to comment.