Skip to content
Snippets Groups Projects
Commit e19b806e authored by Andy Green's avatar Andy Green
Browse files

alpn: handle ALLOW_NON_SSL_ON_SSL_PORT

parent 4c91ea88
Branches
Tags
No related merge requests found
......@@ -73,6 +73,9 @@ lws_tls_server_conn_alpn(struct lws *wsi)
char cstr[10];
unsigned len;
if (!wsi->tls.ssl)
return 0;
SSL_get0_alpn_selected(wsi->tls.ssl, &name, &len);
if (!len) {
lwsl_info("no ALPN upgrade\n");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment