Complying with new NIOPooledRecvBufferAllocator naming.
This commit is contained in:
parent
b196953882
commit
c06c50e74d
|
|
@ -21,7 +21,7 @@ let package = Package(
|
|||
.library(name: "NIOTransportServices", targets: ["NIOTransportServices"])
|
||||
],
|
||||
dependencies: [
|
||||
.package(url: "https://github.com/apple/swift-nio.git", from: "2.62.0"),
|
||||
.package(url: "https://github.com/apple/swift-nio.git", branch: "main"),
|
||||
.package(url: "https://github.com/apple/swift-atomics.git", from: "1.0.2"),
|
||||
],
|
||||
targets: [
|
||||
|
|
|
|||
|
|
@ -232,10 +232,10 @@ internal final class NIOTSConnectionChannel: StateManagedNWConnectionChannel {
|
|||
/// A lock that guards the _addressCache.
|
||||
internal let _addressCacheLock = NIOLock()
|
||||
|
||||
/// The `PooledRecvBufferAllocator` used to allocate buffers for incoming data
|
||||
internal var recvBufferPool: PooledRecvBufferAllocator
|
||||
/// The `NIOPooledRecvBufferAllocator` used to allocate buffers for incoming data
|
||||
internal var recvBufferPool: NIOPooledRecvBufferAllocator
|
||||
|
||||
/// A constant to hold the maximum amount of buffers that should be created by the `PooledRecvBufferAllocator`
|
||||
/// A constant to hold the maximum amount of buffers that should be created by the `NIOPooledRecvBufferAllocator`
|
||||
///
|
||||
/// Once we allow multiple messages per read on the channel, this should become a `maxMessagesPerRead` property
|
||||
/// and a corresponding channel option that users can configure.
|
||||
|
|
|
|||
Loading…
Reference in New Issue