Skip to content

close backendConn#33

Open
edwardhey wants to merge 9 commits intomwitkow:bugfix/streaming-fixfrom
edwardhey:master
Open

close backendConn#33
edwardhey wants to merge 9 commits intomwitkow:bugfix/streaming-fixfrom
edwardhey:master

Conversation

@edwardhey
Copy link
Copy Markdown

No description provided.

Comment thread proxy/handler.go
ServerStreams: true,
ClientStreams: true,
}
HandleEndCallback func(context.Context, *grpc.ClientConn)
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It would be better, IMO, to allow the stream director to handle connection management, rather than going through a global callback. This was implemented in #16, which is also available as a separate repo: https://github.com/vgough/grpc-proxy/blob/master/proxy/handler.go.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants