Server support for headers between routes

Signed-off-by: Derek Collison <derek@nats.io>
This commit is contained in:
Derek Collison
2020-05-13 19:31:06 -07:00
parent d8b475c4b0
commit f5ceab339a
9 changed files with 397 additions and 52 deletions

View File

@@ -1442,6 +1442,11 @@ func (c *client) processLeafUnsub(arg []byte) error {
return nil
}
func (c *client) processLeafHeaderMsgArgs(arg []byte) error {
fmt.Printf("arg is %q\n", arg)
return nil
}
func (c *client) processLeafMsgArgs(arg []byte) error {
// Unroll splitArgs to avoid runtime/heap issues
a := [MAX_MSG_ARGS][]byte{}