pieterlouw / caddy-grpc

grpc plugin for Caddy Server
Apache License 2.0
48 stars 15 forks source link

close connection to avoid leak #11

Open yangjian opened 4 years ago

yangjian commented 4 years ago

backend connection is created for each request, but not auto closed. The connection is kept open until timeout at backend server side. As request is handled synchronically, fix it by always closing backend connection.