You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Consequence: one cannot expect a HttpResponseBodyPart.isLast returning true in onBodyPartReceived.
The thing is that Netty notifies the end of the response stream with a special fake empty chunk. From my perspective, passing this fake chunk to the handler is just a waste (more work for computing response body) and you get notified in onCompleted anyway.
We have to come up with a decision here. Fix for 1.7.x? Drop isLast in 2.0?
Note that if we decide to fix, Netty and Grizzly providers won't notify the same number of chunks, so we'll have to adapt the tests.