passepartout-apple/Packages/PassepartoutOpenVPNOpenSSL/Tests/PassepartoutOpenVPNOpenSSLTests
Davide a13cc3474c
OpenVPN: Restore and improve negotiation speed (#1095)
The new OpenVPN parser was painfully slow due to allocating
NSRegularExpression zillion times, which resulted in poor performance
(4x time!) when processing long PUSH_REPLY messages. This is a hard
regression from v2 because [TunnelKit created the regexes
statically](339b509ddf/Sources/TunnelKitOpenVPNCore/ConfigurationParser.swift (L42)).

Solution: pre-allocate the regular expressions at parser creation time.

Optimize long fragmented replies further by catching PUSH_REPLY
continuations early, rather than parsing line by line.
2025-01-22 22:33:39 +01:00
..
Resources Rework App+Kit as monorepository (#1055) 2025-01-13 12:26:53 +01:00
ConfigurationTests.swift Update copyright 2025-01-15 20:22:52 +01:00
ControlChannelTests.swift Update copyright 2025-01-15 20:22:52 +01:00
ControlPacketTests.swift Update copyright 2025-01-15 20:22:52 +01:00
JSONTests.swift Update copyright 2025-01-15 20:22:52 +01:00
LZOFactoryTests.swift Update copyright 2025-01-15 20:22:52 +01:00
NetworkSettingsBuilderTests.swift Update copyright 2025-01-15 20:22:52 +01:00
OpenVPNConnectionTests.swift Update copyright 2025-01-15 20:22:52 +01:00
OSSLCryptoBoxTests.swift Update copyright 2025-01-15 20:22:52 +01:00
OSSLTLSBoxTests.swift Update copyright 2025-01-15 20:22:52 +01:00
PacketStreamTests.swift Update copyright 2025-01-15 20:22:52 +01:00
PushReplyTests.swift OpenVPN: Restore and improve negotiation speed (#1095) 2025-01-22 22:33:39 +01:00
StandardLZOTests.swift Update copyright 2025-01-15 20:22:52 +01:00
StandardOpenVPNOpenSSLParserTests.swift Update copyright 2025-01-15 20:22:52 +01:00
StandardOpenVPNParserTests.swift OpenVPN: Restore and improve negotiation speed (#1095) 2025-01-22 22:33:39 +01:00
XORProcessorTests.swift Update copyright 2025-01-15 20:22:52 +01:00
ZeroingDataExtensionsTests.swift Update copyright 2025-01-15 20:22:52 +01:00