Skip to content

fix: add missing --listen option to Options()#24

Merged
toddr merged 1 commit intomainfrom
koan.toddr.bot/fix-issue-4
Mar 22, 2026
Merged

fix: add missing --listen option to Options()#24
toddr merged 1 commit intomainfrom
koan.toddr.bot/fix-issue-4

Conversation

@toddr-bot
Copy link
Copy Markdown

@toddr-bot toddr-bot commented Mar 21, 2026

Summary

The listen backlog value was used in Bind() for both TCP and Unix sockets but was never exposed as a command-line option in Options(), making it impossible to override the default value of 10.

Fixes #4

Changes

  • Added --listen <num> option (integer) to Options() in Net::Daemon
  • Added t/listen.t test verifying the option exists and values are passed through
  • Added t/listen.t to MANIFEST

Test plan

  • t/listen.t verifies the option is present, has the correct template, and that --listen 20 stores the value on the object
  • Full test suite passes (48 tests, 0 failures)

Generated by Kōan /fix


Quality Report

Changes: 3 files changed, 26 insertions(+)

Code scan: clean

Tests: passed (OK)

Branch hygiene: clean

Generated by Kōan post-mission quality pipeline

The listen backlog value was used in Bind() but never exposed as a
command-line option, making it impossible to override the default of 10.

Fixes #4

Co-Authored-By: Claude Opus 4.6 <[email protected]>
@toddr-bot toddr-bot force-pushed the koan.toddr.bot/fix-issue-4 branch from b3b2bc3 to e31090a Compare March 22, 2026 00:07
@toddr-bot
Copy link
Copy Markdown
Author

Rebase: fix: add missing --listen option to Options()

Branch koan.toddr.bot/fix-issue-4 rebased onto main and force-pushed.

Diff: 3 files changed, 26 insertions(+)

Actions

  • Rebased koan.toddr.bot/fix-issue-4 onto origin/main
  • Force-pushed koan.toddr.bot/fix-issue-4 to origin
  • CI passed

CI

CI passed.


Automated by Kōan

@toddr toddr marked this pull request as ready for review March 22, 2026 01:12
@toddr toddr merged commit 49afd44 into main Mar 22, 2026
24 checks passed
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.

--listen option is missing [rt.cpan.org #76134]

2 participants