This commit is contained in:
geek 2018-06-05 21:04:12 +09:00
parent 37a8f3dba0
commit d7303f416b
2 changed files with 2 additions and 1 deletions

1
.gitignore vendored
View File

@ -66,3 +66,4 @@ glide.lock
.DS_Store
dist/
debug
.Gopkg.lock

View File

@ -127,7 +127,7 @@ func (s *AuthServlets) Handshake(servletCtx server.ServletCtx, ctx *fasthttp.Req
extHeader := &fasthttp.ResponseHeader{}
noAuthProbeStatusType := ocmm.ToNoAuthProbeStatusType(nap.Status.Name)
noAuthProbeStatusType := ocmm.ToNoAuthProbeStatusType(nap.MetaNoAuthProbeStatus.Name)
switch noAuthProbeStatusType {
case ocmm.NoAuthProbeStatusTypeACCEPT:
extHeader.Add(occn.HTTPResponseHeaderKey_NoAuthProbe_Method, occn.HTTPResponseHeaderValue_NoAuthProbe_Method_Accept)