libevent / libevent/libevent

LEV_OPT_DISABLED is ignored by evconnlistener_new_bind with IOCP enabled

Open
#256 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

os:windows prio:accepting-patches prio:deferred status:confirmed
Dominant language
C
Stars
12k
Forks
3.5k
Avg merge
12h 55m
Merged PRs (30d)
6

Description

doc said:
LEV_OPT_DISABLED
Initialize the listener to be disabled, not enabled

I didn't see evconnlistener_new_async handle about LEV_OPT_DISABLED

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading evconnlistener_new_bind and the IOCP-specific path, then compare it with evconnlistener_new_async for LEV_OPT_DISABLED handling. Reproduce the issue with IOCP enabled and verify that a listener created with LEV_OPT_DISABLED remains disabled until explicitly enabled.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
networking
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.