You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
All of the code in NIOTS should be guarded by if #canImport(Network). However NIOFilterEmptyWritesHandler isn't. Since its intended use is to work around a bug in Network framework, it's only helpful when Network framework is available anyway.
We can't add the check now as it would break API, but we should consider adding the missing compilation check for the next major version of NIOTS.
The text was updated successfully, but these errors were encountered:
glbrntt
changed the title
NIOFilterEmptyWritesHandler isn't guarded by #canImport(Network)
NIOFilterEmptyWritesHandler isn't guarded by if #canImport(Network)Jan 15, 2021
All of the code in NIOTS should be guarded by
if #canImport(Network)
. HoweverNIOFilterEmptyWritesHandler
isn't. Since its intended use is to work around a bug in Network framework, it's only helpful when Network framework is available anyway.We can't add the check now as it would break API, but we should consider adding the missing compilation check for the next major version of NIOTS.
The text was updated successfully, but these errors were encountered: