Skip to content

Commit

Permalink
Merge pull request #20 from atelieryuxki/main
Browse files Browse the repository at this point in the history
Debug ParseRequest failed reason.
  • Loading branch information
yuxki authored Oct 16, 2023
2 parents 5dc70b6 + 1d77ea5 commit 3d38ca2
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 @@ -214,6 +214,7 @@ func (c CacheHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) {

ocspReq, err := ocsp.ParseRequest(body)
if err != nil {
logger.Debug().Err(err).Msg("")
_, err = w.Write(ocsp.MalformedRequestErrorResponse)
if err != nil {
logger.Error().Err(err).Msg("")
Expand Down

0 comments on commit 3d38ca2

Please sign in to comment.