From fa744fdcdaa3ea8d306cc5477f69eaf6a44f62fd Mon Sep 17 00:00:00 2001 From: Derek Collison Date: Wed, 17 Jun 2020 15:47:55 -0700 Subject: [PATCH] Proper no response Signed-off-by: Derek Collison --- server/client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/client.go b/server/client.go index d3d84486..8196cb44 100644 --- a/server/client.go +++ b/server/client.go @@ -3201,7 +3201,7 @@ func (c *client) processInboundClientMsg(msg []byte) bool { c.mu.Lock() if c.opts.NoResponders { if sub := c.subForReply(c.pa.reply); sub != nil { - proto := fmt.Sprintf("HMSG %s %s 15 15\r\nNATS/1.0 503\r\n\r\n", c.pa.reply, sub.sid) + proto := fmt.Sprintf("HMSG %s %s 16 16\r\nNATS/1.0 503\r\n\r\n\r\n", c.pa.reply, sub.sid) c.sendProtoNow([]byte(proto)) } }