Skip to content

Add max test connections#103

Merged
sirainen merged 1 commit intodovecot:mainfrom
slusarz:add-max_test_connections
Mar 7, 2026
Merged

Add max test connections#103
sirainen merged 1 commit intodovecot:mainfrom
slusarz:add-max_test_connections

Conversation

@slusarz
Copy link
Copy Markdown
Contributor

@slusarz slusarz commented Mar 4, 2026

set_conf_default() is added here as an additional commit, or else it would cause merge conflicts later if these were set separately (since the previous commit adds a default value).

@slusarz slusarz force-pushed the add-max_test_connections branch from a9139e3 to f72f085 Compare March 4, 2026 03:50
@sirainen
Copy link
Copy Markdown
Contributor

sirainen commented Mar 4, 2026

Seems a bit unnecessary. I think a hardcoded limit would work just as well..

@slusarz
Copy link
Copy Markdown
Contributor Author

slusarz commented Mar 6, 2026

Heh. This was a jules flagged issue, and it suggested a hardcoded value, and then i spent 30 minutes and manually changed to a CLI value. So maybe I will go back and find the original MR suggestion.

Enforce a hardcoded limit of 100 connections in the test parser to
prevent unbounded memory allocation in test files.

Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
@slusarz slusarz force-pushed the add-max_test_connections branch from f72f085 to 7c7b418 Compare March 6, 2026 07:58
@slusarz
Copy link
Copy Markdown
Contributor Author

slusarz commented Mar 6, 2026

Reverted to hardcoding the limit.

@sirainen sirainen merged commit 3bf203a into dovecot:main Mar 7, 2026
7 checks passed
@slusarz slusarz deleted the add-max_test_connections branch March 8, 2026 17:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants