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
Support unix domain sockets in HttpClient #2014
Comments
…t-missing-headers #2014 fix license header
There are still problems with this impl (some client tests ignored) and there is still a work around for the JNR bug 50, however this impl is already much better than the unix socket support that is already in the release. So will merge for now and put more effort in once there is a JNR fix. * WIP add unix domain sockets support in HttpClient * move unix socket client part to unix socket module #2014 * some cleanup #2014 * add missing headers #2014 * add TODO * UnixSocket client refactor * cleanup test and pom * minor changes, use LOG.isDebugEnabled() before using debug method * add UNIX SOCKET http client test with all other tests, push this to see what happen on Jenkins * fix some unit tests * fix more tests * fix load test * UnixSocket client * Demonstrate JNR bug * Worked around JNR bug 50 * close channel on client side as well * more details in log * log file path as well * #2014 disable test per default as doesn't work on some environement * Revert "#2014 disable test per default as doesn't work on some environement" * test only on unix * Allow test of specific transport(s) * Move unix socket to /tmp * move test socket to /tmp * move test socket to /tmp * ignore failing tests for now * fix bean name and possible to use sys prop org.eclipse.jetty.http.client.AbstractTest.Transports with mvn cli * test isBlank as surefire props is not null * correctly create tmp file with @before * do not delete file * use /tmp as build directory doesn't seem to work within docker... * do not delete sock file on client as it is own by the server * file must not exist when binding unix socket * #2014 fix license header * network specific tests assumed * Fixed to handle null selector keys * add assume for tests that assume a network connector Signed-off-by: olivier lamy <olamy@webtide.com> Signed-off-by: Greg Wilkins <gregw@webtide.com>
Signed-off-by: Greg Wilkins <gregw@webtide.com>
The client still has regular unit test failures, so I have disabled the tests in the build for now and we need to review this implementation. |
Signed-off-by: Greg Wilkins <gregw@webtide.com>
any logs? |
I didn't capture them, but it produces verbose server and client dumps when it does fail, so it is a very long trace. I think this is currently a low priority, so let's no look at this until 9.4.9 is out. |
Ah here is the start of a test failure:
|
This issue has been automatically marked as stale because it has been a full year without activit. It will be closed if no further activity occurs. Thank you for your contributions. |
This issue has been automatically marked as stale because it has been a full year without activity. It will be closed if no further activity occurs. Thank you for your contributions. |
I think we should wait for https://openjdk.java.net/jeps/380. |
Closed in favor of #6043. |
extend the support for unix domain sockets to HttpClient
The text was updated successfully, but these errors were encountered: