mirror of
https://github.com/caddyserver/caddy.git
synced 2025-10-19 07:43:17 +00:00
fix nil logger
This commit is contained in:
parent
d7185fd002
commit
76b33c0a08
1 changed files with 1 additions and 0 deletions
|
@ -53,6 +53,7 @@ func (h *http2Listener) Accept() (net.Conn, error) {
|
|||
// or else the listener wouldn't be created
|
||||
h2Conn := &http2Conn{
|
||||
h2Expected: h.useH2,
|
||||
logger: h.logger,
|
||||
Conn: conn,
|
||||
}
|
||||
if isConnectionStater {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue