Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Epoll/Kqueue optional #1717

Closed
Closed
Milestone
@swimmesberger

Description

When using async-http-client in an OSGi environment and we do not want to use the native transport we have to ship with the io.netty:netty-transport-native-epoll, io.netty:netty-transport-native-kqueue and io.netty:netty-transport-native-unix-common dependencies even though they are not necessary.

We would prefer to use async-http-client with the default transport without the native dependencies. One way to fix this would be to markt these dependencies (and packages) in the maven-bundle-plugin as optional imports. (https://github.com/AsyncHttpClient/async-http-client/blob/master/pom.xml#L194)
Currently every dependency is imported as required the '*' symbol. It's possible to mark some of these packages as optional with following instructions:
io.netty.channel.kqueue;resolution:=optional,io.netty.channel.epoll;resolution:=optional

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      AltStyle によって変換されたページ (->オリジナル) /