Skip to content

Commit

Permalink
fix(http): gin bump down
Browse files Browse the repository at this point in the history
gin.ListenAndServe doesn't support trusted proxies and ClientIP doesn't work
bump gin down to 1.6.2 to mitigate temporarily
will update gin once gin-gonic/gin#2832 is merged
  • Loading branch information
sveatlo committed Sep 24, 2021
1 parent c609b4f commit d0793cd
Show file tree
Hide file tree
Showing 5 changed files with 100 additions and 57 deletions.
4 changes: 2 additions & 2 deletions _examples/go.mod
Expand Up @@ -3,11 +3,11 @@ module github.com/moderntv/cadre/_examples
go 1.16

require (
github.com/gin-gonic/gin v1.7.0
github.com/gin-gonic/gin v1.6.2
github.com/gogo/protobuf v1.3.2
github.com/moderntv/cadre v0.0.20
github.com/rs/zerolog v1.20.0
google.golang.org/grpc v1.36.0
google.golang.org/grpc v1.39.1
)

replace github.com/moderntv/cadre => ../

0 comments on commit d0793cd

Please sign in to comment.