-
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
Cleanup of ByteBufferAccumulator
(approach 2)
#11094
Closed
Closed
Changes from 1 commit
Commits
Show all changes
57 commits
Select commit
Hold shift + click to select a range
061d8ac
Review ByteBufferAccumulator #10541
gregw 59a9307
Review ByteBufferAccumulator #10541
gregw 854e92c
Review ByteBufferAccumulator #10541
gregw f75ded5
Review ByteBufferAccumulator #10541
gregw 2970ce6
Review ByteBufferAccumulator #10541
gregw 4e0a106
Merge branch 'jetty-12.0.x' into fix/jetty-12/10541/byteBufferAccumul…
gregw 30102db
Review ByteBufferAccumulator #10541
gregw 9740820
Review ByteBufferAccumulator #10541
gregw 2ea7810
Review ByteBufferAccumulator #10541
gregw c70df80
Review ByteBufferAccumulator #10541
gregw 8e43335
Merge branch 'jetty-12.0.x' into fix/jetty-12/10541/byteBufferAccumul…
gregw 2faa60e
Review ByteBufferAccumulator #10541
gregw aeb164a
Review ByteBufferAccumulator #10541
gregw b514f19
Merge branch 'jetty-12.0.x' into fix/jetty-12/10541/byteBufferAccumul…
gregw 46ec1f8
Merge branch 'jetty-12.0.x' into fix/jetty-12/10541/byteBufferAccumul…
gregw 1fa20a4
Merge branch 'fix/jetty-12/10541/byteBufferAccumulator' into fix/jett…
gregw 158b108
Review ByteBufferAccumulator #10541
gregw c68da10
Review ByteBufferAccumulator #10541
gregw 7a91e77
New implementation of BufferedContentSink
gregw 7339dcd
javadoc
gregw 089145b
do not clear on release
gregw df3d950
More fixes to BufferedContentSink
gregw 475e570
forced flush
gregw 8a30dce
Fixed bug in BufferUtil
gregw 4b6b2a8
document long to int conversion
gregw 58ca19f
Merge branch 'jetty-12.0.x' into fix/jetty-12/10541/byteBufferAccumul…
gregw 4852058
Merge branch 'jetty-12.0.x' into fix/jetty-12/10541/byteBufferAccumul…
gregw 6f8a2d9
removed byte[] append API
gregw 44dcac8
removed writeTo(OutputStream)
gregw c48fae4
updates from review
gregw ed608ed
Merge branch 'jetty-12.0.x' into fix/jetty-12/10541/byteBufferAccumul…
gregw 6c9e40f
Don't modify deprecated class
gregw 3970a3a
More updates after review
gregw eb3097a
Merge branch 'jetty-12.0.x' into fix/jetty-12/10541/byteBufferAccumul…
gregw 22ec9b0
updated after merge
gregw 10dd573
updated after merge
gregw 2707777
replace ChunkAccumulator usages with ContentSourceRetainableByteBuffe…
lorban e06c10d
fix maxSize check, add test, add javadoc
lorban 1461ec6
fix Content.Sink.from(OutputStream) and add test
lorban 07c8cbf
merged copy and getByteBuffer implementation
gregw 7dae7b7
handle 0 capacity
gregw 9a91601
do not copy in append()
lorban 75236c1
add tests for append(RBB) variant
lorban 00c08eb
add tests for copy + fix bugs
lorban a56693f
improve javadoc
lorban 9a41edc
fix javadoc
lorban e7eec0e
improve tests
lorban 0adadf8
fix releasing of appended RBB
lorban ccca9aa
fix leaks and leak detection in tests
lorban 938408a
Merge branch 'jetty-12.0.x' into fix/jetty-12/10541/byteBufferAccumul…
gregw 48a6c65
Update from review
gregw fb5c5a3
Update from review
gregw 5d39b18
Merge branch 'jetty-12.0.x' into fix/jetty-12/10541/byteBufferAccumul…
gregw d1f86d0
Merge branch 'jetty-12.0.x' into fix/jetty-12/10541/byteBufferAccumul…
gregw 5936d4d
improved javadoc and removed asReadOnly
gregw 3c36697
Merge remote-tracking branch 'origin/jetty-12.0.x' into fix/jetty-12/…
lorban 6252858
Merge branch 'jetty-12.0.x' into fix/jetty-12/10541/byteBufferAccumul…
gregw File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Unfortunately, I think this method can only be deprecated for removal, as it is currently part of the API.
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.
Ah good point
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.
... unless we make this PR a 12.1 thing.... in which case we can deprecate in 12.0.x and remove here.