Skip to content

Commit a8a7bb0

Browse files
protoc-gen-grpc-gateway: guard against nil on drain (#5668)
When draining the request body, first ensure the body is not nil, otherwise this can cause a nil pointer panic.
1 parent e87b1b8 commit a8a7bb0

20 files changed

+420
-140
lines changed

examples/internal/helloworld/helloworld.pb.gw.go

Lines changed: 30 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)