Refuse a maxOctets below 1 at startup, like the other limits #24

Merged
lilleman merged 2 commits from range-check-max-octets into main 2026-09-24 00:08:19 +02:00
Owner

Adds maxOctets to the startup limit check, so server({ maxOctets: 0 }) is refused.

Adds maxOctets to the startup limit check, so server({ maxOctets: 0 }) is refused.
lilleman added 1 commit 2026-09-23 23:48:18 +02:00
Refuse a maxOctets below 1 at startup, like the other limits
Test / lint (pull_request) Successful in 49s
Test / test (18) (pull_request) Successful in 29s
Test / test (20) (pull_request) Successful in 29s
Test / test (22) (pull_request) Successful in 29s
Test / test (24) (pull_request) Successful in 28s
Test / test (26) (pull_request) Successful in 29s
Mirror / push (push) Successful in 3s
80f77afa0f
lilleman added 1 commit 2026-09-24 00:06:23 +02:00
Pin that maxOctets refuses Infinity, and say refuse where the changelog said drop
Test / lint (pull_request) Successful in 20s
Test / test (18) (pull_request) Successful in 30s
Test / test (20) (pull_request) Successful in 29s
Test / test (22) (pull_request) Successful in 31s
Test / test (24) (pull_request) Successful in 28s
Test / test (26) (pull_request) Successful in 30s
Mirror / push (push) Successful in 4s
c5ef4c4703
lilleman marked the pull request as ready for review 2026-09-24 00:08:18 +02:00
lilleman merged commit c5ef4c4703 into main 2026-09-24 00:08:19 +02:00
lilleman deleted branch range-check-max-octets 2026-09-24 00:08:19 +02:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: larvit/smpp-js#24