Fix nil logger at v2rayhttp server
This commit is contained in:
parent
b4d294c05e
commit
3ea5f76470
1 changed files with 1 additions and 0 deletions
|
|
@ -47,6 +47,7 @@ func NewServer(ctx context.Context, logger logger.ContextLogger, options option.
|
|||
server := &Server{
|
||||
ctx: ctx,
|
||||
tlsConfig: tlsConfig,
|
||||
logger: logger,
|
||||
handler: handler,
|
||||
h2Server: &http2.Server{
|
||||
IdleTimeout: time.Duration(options.IdleTimeout),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue