ing
This commit is contained in:
parent
37a8f3dba0
commit
d7303f416b
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -66,3 +66,4 @@ glide.lock
|
||||||
.DS_Store
|
.DS_Store
|
||||||
dist/
|
dist/
|
||||||
debug
|
debug
|
||||||
|
.Gopkg.lock
|
||||||
|
|
|
@ -127,7 +127,7 @@ func (s *AuthServlets) Handshake(servletCtx server.ServletCtx, ctx *fasthttp.Req
|
||||||
|
|
||||||
extHeader := &fasthttp.ResponseHeader{}
|
extHeader := &fasthttp.ResponseHeader{}
|
||||||
|
|
||||||
noAuthProbeStatusType := ocmm.ToNoAuthProbeStatusType(nap.Status.Name)
|
noAuthProbeStatusType := ocmm.ToNoAuthProbeStatusType(nap.MetaNoAuthProbeStatus.Name)
|
||||||
switch noAuthProbeStatusType {
|
switch noAuthProbeStatusType {
|
||||||
case ocmm.NoAuthProbeStatusTypeACCEPT:
|
case ocmm.NoAuthProbeStatusTypeACCEPT:
|
||||||
extHeader.Add(occn.HTTPResponseHeaderKey_NoAuthProbe_Method, occn.HTTPResponseHeaderValue_NoAuthProbe_Method_Accept)
|
extHeader.Add(occn.HTTPResponseHeaderKey_NoAuthProbe_Method, occn.HTTPResponseHeaderValue_NoAuthProbe_Method_Accept)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user