[JAVA-3588] Re-vendor tls-channel Created: 13/Jan/20  Updated: 28/Oct/23  Resolved: 02/Jun/20

Status: Closed
Project: Java Driver
Component/s: Async
Affects Version/s: None
Fix Version/s: 4.1.0

Type: Improvement Priority: Major - P3
Reporter: Jeffrey Yemin Assignee: Ross Lawley
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

An 0.3 release was recently tagged on https://github.com/marianobarrios/tls-channel. We should review to see what changes are relevant and emulate them in our vendored copy.



 Comments   
Comment by Githook User [ 02/Jun/20 ]

Author:

{'name': 'Ross Lawley', 'email': 'ross.lawley@gmail.com', 'username': 'rozza'}

Message: Async updates to work with tls-channel

JAVA-3588
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/6267ee33ae497cc73f5736282009a10ba7e29ab8

Comment by Githook User [ 02/Jun/20 ]

Author:

{'name': 'Ross Lawley', 'email': 'ross.lawley@gmail.com', 'username': 'rozza'}

Message: TlsChannel fix: Handle zeroing in the BufferHolder

As we use a PowerOfTwoBufferPool the buffer can be greater
than maxTlsPacketSize.

JAVA-3588
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/7b2344ecfc752150acf9312e95db3033cf712a4c

Comment by Githook User [ 02/Jun/20 ]

Author:

{'name': 'Ross Lawley', 'email': 'ross.lawley@gmail.com', 'username': 'rozza'}

Message: TlsChannel support Buffer idiosyncrasies

Support flip(), mark(), reset() and position for ByteBuffers

Cannot use compilerArgs --release=8

JAVA-3588
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/bf5e210c073cef8699312037ae7d85ce6238dd65

Comment by Githook User [ 02/Jun/20 ]

Author:

{'name': 'Ross Lawley', 'email': 'ross.lawley@gmail.com', 'username': 'rozza'}

Message: Revendored tlschannel to 0.3.2

JAVA-3588
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/7cc4be219a15b08c69dfba8d02c3e014f808b90d

Comment by Ross Lawley [ 01/Jun/20 ]

PR: https://github.com/rozza/mongo-java-driver/pull/387

Comment by Ross Lawley [ 06/May/20 ]

https://github.com/rozza/mongo-java-driver/pull/383

Comment by Ross Lawley [ 01/May/20 ]

PR: https://github.com/rozza/mongo-java-driver/pull/382

Generated at Thu Feb 08 08:59:57 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.