Releases: Balancingrock/SwifterSockets
Release 1.0.0
Swiftfire -and all its supporting packages- have been issued in their release 1.0.0
SwifterSockets has undergone some file-renaming and some reorganization. Otherwise the functionality itself is unchanged.
Migration to SPM 4
Switched to Swift Package Manager 4
Migration to Swift 4
Minor adjustments for Swift 4.
Dependency Update
BRUtils was updated to 0.10.0
Dependency update
BRUtils was updated to 0.9.0.
Minor updates to support Swiftfire
The BRUtils package has been upgraded to 0.5.0.
In 'SwifterSockets.Connection.swift' the methods incrementUsageCount and decrementUsageCount have been made public. (To help in supporting very large HTTP bodies by Swiftfire).
Bugfix release
Two bugs were fixed:
- A crash that would occur when a connection object received data just (milli seconds) before it was closed.
- A bug that would cause connection objects to go missing when a connection was accepted, but no data was ever received. This was a fairly common occurrence and would result in a non-response server.
Unfortunately this necessitated the change of 1 interface in Connection.swift: 'receiverData' is now supplanted by 'processReceivedData'.
Minor bugfixes
Bugfixes:
- Updated references captured by closures
- In 'transmitterClosed' the interface is immediately nilled to prevent SSL errors on closing
- Added closing of the socket on 'transmitterClosed'
Added functionality:
- Sorting of connections in the connection pool
API changes:
- Renamed 'abortConnection' to 'connectionWasClosed'
New feature
Added "affectInactivityDetection" parameters to Connection - transfer functions. This allows the transmission of data in the inactivity detection action itself. The parameter is by default set to "true" so no code updates are necessary.
Bugfix
The sQueue in SwifterSockets.Connection could be deallocated before its processes were finished.