-
Notifications
You must be signed in to change notification settings - Fork 688
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Simplify Request(), allow for mux subject to possibly change. #523
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need to do something with go.mod files?
go.mod
Outdated
@@ -1,7 +1,9 @@ | |||
module github.com/nats-io/nats.go | |||
|
|||
require ( | |||
github.com/nats-io/jwt v0.2.12 | |||
github.com/golang/protobuf v1.3.2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a pain.. the server has the client in its deps (which arguably should not if it was not for the server tests) and if we have the client have the server in its deps we will always have say Server 2.1.0 depends on client 1.8.1, then client 1.9.0 depends on say server 2.1.0, etc.. so older nats client or server versions will be pulled.. We really need to figure that out because manually cleaning this file is no joy.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And the answer maybe that we "don't care" that there are those inter-deps?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I try to fix them, must have done a test before last push. One sec.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok take a look now.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
I will squash down and merge when green. |
Signed-off-by: Derek Collison <derek@nats.io>
PR #523 introduced and issue that could cause a Request() call to receive a reply that was intended for another Request() call if the responder sent multiple replies for the same request. This issue is only in v1.9.0 Signed-off-by: Ivan Kozlovic <ivan@synadia.com>
Signed-off-by: Derek Collison derek@nats.io