Skip to content

Commit

Permalink
Merge pull request #22 from atelieryuxki/main
Browse files Browse the repository at this point in the history
Debug OCSP request path.
  • Loading branch information
yuxki authored Oct 16, 2023
2 parents 3790817 + b95bea1 commit 3c7ccc6
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 3c7ccc6

Please sign in to comment.