diff --git a/go.mod b/go.mod index 10b4b1a92..173bd1616 100644 --- a/go.mod +++ b/go.mod @@ -31,7 +31,7 @@ require ( github.com/spf13/cobra v1.4.0 github.com/spf13/pflag v1.0.5 github.com/stretchr/testify v1.7.1 - github.com/valyala/fasthttp v1.34.0 + github.com/valyala/fasthttp v1.35.0 golang.org/x/text v0.3.7 gopkg.in/square/go-jose.v2 v2.6.0 gopkg.in/yaml.v2 v2.4.0 diff --git a/go.sum b/go.sum index ec799b655..4c84a7d1a 100644 --- a/go.sum +++ b/go.sum @@ -1287,8 +1287,9 @@ github.com/urfave/cli v1.22.1/go.mod h1:Gos4lmkARVdJ6EkW0WaNv/tZAAMe9V7XWyB60NtX github.com/urfave/negroni v1.0.0/go.mod h1:Meg73S6kFm/4PpbYdq35yYWoCZ9mS/YSx+lKnmiohz4= github.com/valyala/bytebufferpool v1.0.0 h1:GqA5TC/0021Y/b9FG4Oi9Mr3q7XYx6KllzawFIhcdPw= github.com/valyala/bytebufferpool v1.0.0/go.mod h1:6bBcMArwyJ5K/AmCkWv1jt77kVWyCJ6HpOuEn7z0Csc= -github.com/valyala/fasthttp v1.34.0 h1:d3AAQJ2DRcxJYHm7OXNXtXt2as1vMDfxeIcFvhmGGm4= github.com/valyala/fasthttp v1.34.0/go.mod h1:epZA5N+7pY6ZaEKRmstzOuYJx9HI8DI1oaCGZpdH4h0= +github.com/valyala/fasthttp v1.35.0 h1:wwkR8mZn2NbigFsaw2Zj5r+xkmzjbrA/lyTmiSlal/Y= +github.com/valyala/fasthttp v1.35.0/go.mod h1:t/G+3rLek+CyY9bnIE+YlMRddxVAAGjhxndDB4i4C0I= github.com/valyala/fasttemplate v1.0.1/go.mod h1:UQGH1tvbgY+Nz5t2n7tXsz52dQxojPUpymEIMZ47gx8= github.com/valyala/tcplisten v1.0.0/go.mod h1:T0xQ8SeCZGxckz9qRXTfG43PvQ/mcWh7FwZEA7Ioqkc= github.com/weppos/publicsuffix-go v0.4.0/go.mod h1:z3LCPQ38eedDQSwmsSRW4Y7t2L8Ln16JPQ02lHAdn5k= diff --git a/internal/commands/certificates.go b/internal/commands/certificates.go index b6f0bfc5b..6b581c12f 100644 --- a/internal/commands/certificates.go +++ b/internal/commands/certificates.go @@ -8,9 +8,9 @@ import ( "path/filepath" "time" - "github.com/authelia/authelia/v4/internal/utils" - "github.com/spf13/cobra" + + "github.com/authelia/authelia/v4/internal/utils" ) // NewCertificatesCmd returns a new Certificates Cmd. diff --git a/internal/server/server.go b/internal/server/server.go index 6bd13484c..9e40679af 100644 --- a/internal/server/server.go +++ b/internal/server/server.go @@ -8,8 +8,6 @@ import ( "strconv" "time" - "github.com/authelia/authelia/v4/internal/logging" - duoapi "github.com/duosecurity/duo_api_golang" "github.com/fasthttp/router" "github.com/valyala/fasthttp" @@ -19,6 +17,7 @@ import ( "github.com/authelia/authelia/v4/internal/configuration/schema" "github.com/authelia/authelia/v4/internal/duo" "github.com/authelia/authelia/v4/internal/handlers" + "github.com/authelia/authelia/v4/internal/logging" "github.com/authelia/authelia/v4/internal/middlewares" ) diff --git a/internal/server/server_test.go b/internal/server/server_test.go index dcf86d464..ef166833b 100644 --- a/internal/server/server_test.go +++ b/internal/server/server_test.go @@ -14,13 +14,12 @@ import ( "testing" "time" - "github.com/authelia/authelia/v4/internal/logging" - "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" "github.com/valyala/fasthttp" "github.com/authelia/authelia/v4/internal/configuration/schema" + "github.com/authelia/authelia/v4/internal/logging" "github.com/authelia/authelia/v4/internal/middlewares" "github.com/authelia/authelia/v4/internal/utils" )