-
Notifications
You must be signed in to change notification settings - Fork 646
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
Reintegrate multipart into netty5 branch #2327
Conversation
@violetagg , I have rebased to get the #2328 and the CI build has been modified in order to build the Netty Contrib MP before RN. |
I think this PR is ready for a review. In the mean time, if you want to start reviewing this PR, that would be great. |
@pderop Let's wait for the dependent PR in |
I added status blocked |
e8c8934
to
f1f736f
Compare
Rebased the PR on top of latest netty5 branch. To summarize, this PR has merged the following files from latest 1.0.x branch (SHA a001ed3): reactor-netty-http/src/main/java/reactor/netty/http/client/HttpClient.java And the following files have been re-added and merged from latest 1.0.x branch (SHA a001ed3): reactor-netty-examples/src/main/java/reactor/netty/examples/documentation/http/server/multipart/Application.java |
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.
This is an initial review ... I need additional time to check the functional correctness ...
Please address the additional warnings reported by the build. Thanks!
reactor-netty5-http/src/main/java/reactor/netty5/http/client/HttpClientFinalizer.java
Show resolved
Hide resolved
reactor-netty5-http/src/main/java/reactor/netty5/http/server/HttpServerFormDecoderProvider.java
Outdated
Show resolved
Hide resolved
reactor-netty5-http/src/main/java/reactor/netty5/http/server/HttpServerFormDecoderProvider.java
Outdated
Show resolved
Hide resolved
reactor-netty5-http/src/test/java/reactor/netty5/http/server/HttpServerTests.java
Outdated
Show resolved
Hide resolved
reactor-netty5-http/src/test/java/reactor/netty5/http/server/HttpServerTests.java
Outdated
Show resolved
Hide resolved
reactor-netty5-http/src/main/java/reactor/netty5/http/client/HttpClientOperations.java
Outdated
Show resolved
Hide resolved
reactor-netty5-http/src/main/java/reactor/netty5/http/client/HttpClientOperations.java
Outdated
Show resolved
Hide resolved
reactor-netty5-http/src/main/java/reactor/netty5/http/client/HttpClientOperations.java
Outdated
Show resolved
Hide resolved
in order to fix the additional compilation warnings, I had to do a fix in the netty-contrib, so I have created this PR (but I have not merged it): netty-contrib/codec-multipart#12 Do you think I can go ahead and merge it or should I ask Chris to review ? thanks |
It is better to receive feedback at least from someone |
reactor-netty5-http/src/test/java/reactor/netty5/http/server/HttpServerTests.java
Outdated
Show resolved
Hide resolved
The netty-contrib PR is now used from the httpcontent-used-as-raw-type, because the PR is not yet merged. the CI still reports some errors, I'm now looking into them. |
No need to check CodeQL for the time being. Once the third party project is released CodeQL should be working again. |
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.
@pderop I need some clarifications before continuing with the rest of the review.
reactor-netty5-http/src/main/java/reactor/netty5/http/client/HttpClientFinalizer.java
Outdated
Show resolved
Hide resolved
reactor-netty5-http/src/main/java/reactor/netty5/http/client/HttpClientFormEncoder.java
Outdated
Show resolved
Hide resolved
reactor-netty5-http/src/main/java/reactor/netty5/http/client/HttpClientOperations.java
Outdated
Show resolved
Hide resolved
reactor-netty5-http/src/main/java/reactor/netty5/http/client/HttpClientOperations.java
Show resolved
Hide resolved
reactor-netty5-http/src/main/java/reactor/netty5/http/server/HttpServerFormDecoderProvider.java
Outdated
Show resolved
Hide resolved
reactor-netty5-http/src/main/java/reactor/netty5/http/server/HttpServerFormDecoderProvider.java
Outdated
Show resolved
Hide resolved
reactor-netty5-http/src/main/java/reactor/netty5/http/server/HttpServerFormDecoderProvider.java
Outdated
Show resolved
Hide resolved
reactor-netty5-http/src/main/java/reactor/netty5/http/server/HttpServerFormDecoderProvider.java
Outdated
Show resolved
Hide resolved
…0.Alpha1-SNAPSHOT
…ged GH workflow to use PR#12 from httpcontent-used-as-raw-type repo
…the same as before
51a59af
to
0d5704e
Compare
rebased in order to be on top of latest netty5 branch. |
…le uploads with streams
…osing it in destroy method.
@violetagg , please take a look to previous commits, thank you. |
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.
@pderop Once we have a release for the third party project, please update the version and remove the CI changes and then we can merge this PR.
all tests are now failing, but it sounds like it's not related to this PR, indeed, we have this test which is now failing, but it also fails when using latest netty5 branch:
more specifically, here is the root error:
I'll try to figure out before merging this PR. |
so, there are still many errors, but I don't think they are caused by this PR. |
Related to #2221
This PR is an attempt to reintegrate the Multipart feature into netty5 branch using new netty-contrib multipart codec.
The old multipart code that has bee reintegrated comes from the latest 1.0.x branch.