Skip to content

Commit

Permalink
Fix a goroutine-leak in HTTP kee-palive
Browse files Browse the repository at this point in the history
CloseNotifier channel is triggered only if the connection is closed,
the goroutines for earlier requests used to remain until the last
request closes the connection when HTTP keep-alive is used.
  • Loading branch information
yugui committed Feb 26, 2016
1 parent 8ef22a6 commit 811d361
Show file tree
Hide file tree
Showing 4 changed files with 240 additions and 80 deletions.
88 changes: 66 additions & 22 deletions examples/examplepb/a_bit_of_everything.pb.gw.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 12 additions & 4 deletions examples/examplepb/echo_service.pb.gw.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 811d361

Please sign in to comment.