Skip to content

Commit

Permalink
Merge pull request #567 from nats-io/bump_default_max_ctrl_line
Browse files Browse the repository at this point in the history
[FIXED] Bump default max control size to 4K
  • Loading branch information
kozlovic committed May 6, 2020
2 parents c48e770 + 2d143a7 commit 7bb3472
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion parser.go
Expand Up @@ -24,7 +24,7 @@ type msgArg struct {
size int
}

const MAX_CONTROL_LINE_SIZE = 1024
const MAX_CONTROL_LINE_SIZE = 4096

type parseState struct {
state int
Expand Down

0 comments on commit 7bb3472

Please sign in to comment.