Implement multipart for netty-future, netty-cats & netty-zio#5315
Implement multipart for netty-future, netty-cats & netty-zio#5315ajozwik wants to merge 1 commit into
Conversation
78ea9a8 to
8d9e390
Compare
|
PR is ready. It can contains more changes - just on master, because I squashed commits with just merged (to master) changes .... Main part is based on MonadSubscriber - implementation of Subscriber - who subscribe to Netty publisher. In implementation java.util.concurrent.Condition is used. |
3f3a735 to
265995f
Compare
265995f to
03fedda
Compare
Code ReviewOverviewThis PR adds multipart request body support to the three async Netty backends ( Request side (decoding multipart):
Response side (encoding multipart):
Tests: Enables The de-duplication is the strongest part of this PR — the response-body multipart logic was genuinely copy-pasted before, and consolidating it is a clear win. 🔴 Significant concerns1. Lost-wakeup deadlock / NPE race in
|
Proposal of multipart implementation for netty - see #4851 - only multipart.
Implementation based on
nettyServerSyncimplementation - but without OxStreams.According to Note: Netty's multipart decoder does not expose other part headers, nor other disposition params. the test with netty should ignoring part headers -
partOtherHeaderSupport = falseIssue for support headers has been requested: FileUpload or HttpData should contain HTTP-Headers
What is missing?
For sync implementation multipart depends on OxStreams - what is not needed and can be moved to other submodule.