-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Issue #2014 - Unix Socket Client #2025
Conversation
Signed-off-by: olivier lamy <[email protected]>
Signed-off-by: olivier lamy <[email protected]>
Signed-off-by: olivier lamy <[email protected]>
Signed-off-by: olivier lamy <[email protected]>
Signed-off-by: olivier lamy <[email protected]>
Simplified extension added JnrTest.java to check pure JNR Signed-off-by: Greg Wilkins <[email protected]>
Signed-off-by: olivier lamy <[email protected]>
Signed-off-by: olivier lamy <[email protected]>
…ee what happen on Jenkins Signed-off-by: olivier lamy <[email protected]>
Signed-off-by: olivier lamy <[email protected]>
Signed-off-by: olivier lamy <[email protected]>
Signed-off-by: olivier lamy <[email protected]>
…/jetty.project into jetty-9.4.x-2014-unixsocket-client Signed-off-by: Greg Wilkins <[email protected]>
Hmm IP validation still borked, but I'll take responsibility for merge as I can see all commits are signed off OK. |
Better local address check test cleanup Signed-off-by: Greg Wilkins <[email protected]>
@olamy Some of the tests are failing for large content. The testRequestWithLargeResponseContent passes quickly every time for 2241024 sized responses, but timeouts every time for 2251024 responses? investigating.... |
@olamy I think I have found a JNR bug that is causing our failures. When doing an asynchronous write that hits flow control, a write returns 0 bytes written, but it has consumed those bytes from the ByteBuffer anyway! So we don't resend them! I can see this clearly in our logs, but will now try to reproduce with pure JNR. |
Signed-off-by: Greg Wilkins <[email protected]>
There is definitely a JNR bug with flow controlled writes. I have opened jnr/jnr-unixsocket#50 and will now look to see if it is fixable. |
Signed-off-by: Greg Wilkins <[email protected]>
The work around in this PR appears to work. I have submitted jnr/jnr-unixsocket#50 and PR jnr/jnr-unixsocket#51 to the JNR project to get a proper fix. @sbordet we could merge in the mean time? |
Signed-off-by: Greg Wilkins <[email protected]>
@sbordet I think we should go ahead and merge this (if it passes review) without waiting for a JNR fix. No action yet on the issue/PR I raised and the work around I have in this PR will fix problems we have already had with the server connector, also the fix becomes a noop if the bug is fixed and a new release put in place. |
@gregw I cannot see unixsocket tests before the tests we just added recently in the branch. |
@olamy oh right you are!
So the file is for the expected What type of file system is it? is it encrypted? Let me alter the tests to try using a |
@gregw good catch on the file/directory not writable. I guess this should work in any directory writable. But let's try this /tmp and merge this (finally! :-) ). |
The new change results in ...
|
Signed-off-by: Greg Wilkins <[email protected]>
Signed-off-by: Greg Wilkins <[email protected]>
With the latest changes, I think that all the tests failing on jenkins are also failing locally. So there is still a problem with this PR that needs debugging. |
Signed-off-by: Greg Wilkins <[email protected]>
…ent.AbstractTest.Transports with mvn cli Signed-off-by: olivier lamy <[email protected]>
Signed-off-by: olivier lamy <[email protected]>
Signed-off-by: olivier lamy <[email protected]>
Signed-off-by: olivier lamy <[email protected]>
Signed-off-by: olivier lamy <[email protected]>
Signed-off-by: olivier lamy <[email protected]>
Signed-off-by: olivier lamy <[email protected]>
…t-fixes Jetty 9.4.x 2014 unixsocket client fixes
Signed-off-by: olivier lamy <[email protected]>
…t-missing-headers #2014 fix license header
Signed-off-by: Greg Wilkins <[email protected]>
Signed-off-by: Greg Wilkins <[email protected]>
Signed-off-by: Greg Wilkins <[email protected]>
For #2014 unix socket client. Replaces #2021 and #2024