mirror of
https://github.com/gogrlx/nats-server.git
synced 2026-04-02 03:38:42 -07:00
Additional service latency upgrades.
We now share more information about the responder and the requestor. The requestor information by default is not shared, but can be when declaring the import. Also fixed bug for error handling on old request style requests that would always result on a 408 response. Signed-off-by: Derek Collison <derek@nats.io>
This commit is contained in:
@@ -256,7 +256,7 @@ func TestClientConnect(t *testing.T) {
|
||||
t.Fatalf("Expected state of OP_START vs %d\n", c.state)
|
||||
}
|
||||
|
||||
if !reflect.DeepEqual(c.opts, clientOpts{Echo: true, Verbose: true, Pedantic: true, Authorization: "YZZ222", Name: "router"}) {
|
||||
if !reflect.DeepEqual(c.opts, clientOpts{Echo: true, Verbose: true, Pedantic: true, Token: "YZZ222", Name: "router"}) {
|
||||
t.Fatalf("Did not parse connect options correctly: %+v\n", c.opts)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user