resgateio / resgate

A Realtime API Gateway used with NATS to build REST, real time, and RPC APIs, where all your clients are synchronized seamlessly.
https://resgate.io
MIT License
685 stars 67 forks source link

Resource response with HTTP logs error #215

Closed jirenius closed 2 years ago

jirenius commented 2 years ago

Issue

When a call request sent using HTTP POST returns a resource response, an error is logged:

http: superfluous response.WriteHeader call from github.com/resgateio/resgate/server.(*Service).temporaryConn.func1 (apiHandler.go:212)
jirenius commented 2 years ago

Resolved in PR #216