  } bio_filter_in_ctx_t;
  
  /*
-@@ -1412,6 +1414,42 @@
+@@ -1412,6 +1414,45 @@
          APR_BRIGADE_INSERT_TAIL(bb, bucket);
      }
  

+		if (sslconn->alpn_negofns) {
+	#ifdef HAVE_TLS_ALPN
+			SSL_get0_alpn_selected(inctx->ssl, &next_proto, &next_proto_len);
+	#else
+			SSL_get0_next_proto_negotiated(
+								   inctx->ssl, &next_proto, &next_proto_len);
+	#endif
+			ap_log_cerror(APLOG_MARK, APLOG_DEBUG, APR_SUCCESS, f->c,
+						  APLOGNO(02306) "SSL negotiated protocol: '%s'",

 #ifdef HAVE_SRP
 const char *ssl_cmd_SSLSRPVerifierFile(cmd_parms *cmd, void *dcfg, const char *arg);
 const char *ssl_cmd_SSLSRPUnknownUserSeed(cmd_parms *cmd, void *dcfg, const char *arg);
@@ -796,6 +811,15 @@
                                        EVP_CIPHER_CTX *, HMAC_CTX *, int);
 #endif
 
