monkeyDluffy6017 commented on code in PR #9903:
URL: https://github.com/apache/apisix/pull/9903#discussion_r1281813886


##########
apisix/init.lua:
##########
@@ -178,11 +178,31 @@ end
 
 
 function _M.http_ssl_phase()
+    local ok, err = router.router_ssl.set(ngx.ctx.matched_ssl)
+    if not ok then
+        if err then
+            core.log.error("failed to fetch ssl config: ", err)
+        end
+        ngx_exit(-1)
+    end
+end
+
+
+function _M.http_ssl_protocols_phase()

Review Comment:
   is `http_ssl_client_hello_phase` better?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@apisix.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to