parent
6beb303bcf
commit
e388842d37
|
@ -168,6 +168,8 @@ extension OpenVPN {
|
||||||
static let digest: Digest = .sha1
|
static let digest: Digest = .sha1
|
||||||
|
|
||||||
static let compressionFraming: CompressionFraming = .disabled
|
static let compressionFraming: CompressionFraming = .disabled
|
||||||
|
|
||||||
|
static let compressionAlgorithm: CompressionAlgorithm = .disabled
|
||||||
}
|
}
|
||||||
|
|
||||||
/// The way to create a `Configuration` object for a `OpenVPNSession`.
|
/// The way to create a `Configuration` object for a `OpenVPNSession`.
|
||||||
|
@ -351,6 +353,11 @@ extension OpenVPN {
|
||||||
public var fallbackCompressionFraming: CompressionFraming {
|
public var fallbackCompressionFraming: CompressionFraming {
|
||||||
return compressionFraming ?? Fallback.compressionFraming
|
return compressionFraming ?? Fallback.compressionFraming
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// :nodoc:
|
||||||
|
public var fallbackCompressionAlgorithm: CompressionAlgorithm {
|
||||||
|
return compressionAlgorithm ?? Fallback.compressionAlgorithm
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/// The immutable configuration for `OpenVPNSession`.
|
/// The immutable configuration for `OpenVPNSession`.
|
||||||
|
|
Loading…
Reference in New Issue