Skip to content

Commit

Permalink
Debug OCSP request path.
Browse files Browse the repository at this point in the history
  • Loading branch information
yuxki committed Oct 16, 2023
1 parent 584aa8a commit b95bea1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cache_handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,7 @@ func (c CacheHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) {

switch r.Method {
case http.MethodGet:
logger.Debug().Err(err).Str("ocsp-request-path", r.URL.Path).Msg("")
body, err = base64.StdEncoding.DecodeString(path.Base(r.URL.Path))
case http.MethodPost:
body, err = io.ReadAll(r.Body)
Expand Down

0 comments on commit b95bea1

Please sign in to comment.