← All tasks
javaAsyncHttpClient/async-http-client #1717Not a task: not reproduced

Epoll/Kqueue optional

envgap__AsyncHttpClient__async-http-client-1717

01 / FAILURE SIGNATURE

As reported upstream

No identifying execution failure has been captured.
Not a benchmark task.
  • In a clean container the reported failure did not reproduce, or the known fix did not make the project run.

02 / ENVIRONMENT RECIPE

Base commit
ac2d4bdf46abf96aeb5a61d56bc5718ac005184a
Manifest
pom.xml
Reproduce
Awaiting issue-specific recipe
Run under trace
Awaiting a meaningful runtime command

03 / ORIGINAL ISSUE TEXT

AsyncHttpClient/async-http-client #1717 · read the original issue
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

`
Continue on GitHub ↗

04 / LABELS

Labels from the report text only; not yet run

No supported category has been assigned.

Label rules and the text that matched
[]