Skip to content

Commit

Permalink
[CLIENT-3071] Increase info command max response buffer size to 64 MiB
Browse files Browse the repository at this point in the history
  • Loading branch information
khaf committed Aug 12, 2024
1 parent 4e58b27 commit 986342f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Change History

## August 12 2024: v7.6.1

Minor improvement release.

- **Improvements**
- [CLIENT-3071] Increase info command max response buffer size to 64 MiB.

## July 19 2024: v7.6.0

Minor fix release.
Expand Down
2 changes: 1 addition & 1 deletion types/message.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ func NewMessage(mtype messageType, data []byte) *Message {
}
}

const maxAllowedBufferSize = 1024 * 1024
const maxAllowedBufferSize = 64 * 1024 * 1024 // 64MiB max

// Resize changes the internal buffer size for the message.
func (msg *Message) Resize(newSize int64) error {
Expand Down

0 comments on commit 986342f

Please sign in to comment.