openwrt / openwrt/packages

Question : libwebsockets -enbling support for libevent

Open
#21,157 10 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Makefile
Stars
4.6k
Forks
4k
Avg merge
3d 12h
Merged PRs (30d)
134

Description

Hello All,

I see that libwebsockets-full doesn't enable libevent2 support by default see (https://github.com/openwrt/packages/blob/master/libs/libwebsockets/Makefile#L87). by adding the ( -DLWS_WITH_LIBEVENT=ON)

Do you think it would be beneficial to enable it by default in the config, there are many application relays on it out there and many of them use libevent as event loop?

Thanks,

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 with the libwebsockets Makefile at the linked line 87 and review how libwebsockets-full configures optional features. Read the issue discussion to determine whether libevent2 support should be enabled by default, then verify that the package builds with the proposed configuration.

Written by the indexing model from the issue text.

Assessment

Domain
build-system
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.