-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
implement the unix domain socket #1688
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The problem with this PR is that is completely break the existing API because of the InetAddress to SocketAddress change.
Sadly, I'm not willing to break everything now for the sole sake of supporting domain sockets. Maybe in a future major release.
client/src/main/java/org/asynchttpclient/RequestBuilderBase.java
Outdated
Show resolved
Hide resolved
client/src/main/java/org/asynchttpclient/netty/channel/ChannelManager.java
Outdated
Show resolved
Hide resolved
client/src/main/java/org/asynchttpclient/netty/channel/ChannelManager.java
Outdated
Show resolved
Hide resolved
client/src/main/java/org/asynchttpclient/netty/channel/ChannelManager.java
Outdated
Show resolved
Hide resolved
client/src/main/java/org/asynchttpclient/netty/channel/ChannelManager.java
Outdated
Show resolved
Hide resolved
client/src/main/java/org/asynchttpclient/netty/channel/EpollDomainTransportFactory.java
Outdated
Show resolved
Hide resolved
client/src/main/java/org/asynchttpclient/netty/channel/KQueueDomainTransportFactory.java
Outdated
Show resolved
Hide resolved
abort(null, future, getCause(cause)); | ||
} | ||
}); | ||
}else { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
code not formatted
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My idea does not meet the formatting rules, please help format
Thanks for your code review, I will take the time to solve the problem of breaking these existing APIs. |
I have reduced the breaking of the original API |
Can I ask which version can incorporate this function? |
6ea11f4
to
f8fab66
Compare
When will this feature be supported? |
usage can see example.CompletableFutures