Tags: swift-server/async-http-client
Tags
Explicitly import locale modules (#771) The Darwin module is slowly being split up, and as it gets further along, it will stop importing some of the split-out modules like the one for locale.h that provides newlocale() and other locale API. However, there's a wrinkle that on platforms with xlocale, it's xlocale.h that provides most of the POSIX locale.h functions and not locale.h, so prefer the xlocale module when available.
Fix crash when writablity becomes false and races against finishing t… …he http request (#768) ### Motivation If the channel's writability changed to false just before we finished a request, we currently run into a precondition. ### Changes - Remove the precondition and handle the case appropiatly ### Result A crash less.
Add releases.yml config for github (#765) Motivation: Would like to use github to autogenerate release notes. Modifications: Bring over configuration consistent with NIO and other popular repos. Result: Once labels are synchronised release notes can be generated by github
Add unit tests for NWWaitingHandler, closes #589 (#702) * Add unit tests for NWWaitingHandler Motivation: Closes #589. Since we already have a public initializer for NIOTSNetworkEvents.WaitingForConnectivity, we should add unit tests for the handler now that it's straightforward. Modifications: The tests are in their own file `Tests/NWWaitingHandlerTests.swift`. * Bump swift-nio-transport-services to 1.13.0 * SwiftFormat@0.48.8 * Apply suggestions from code review Co-authored-by: David Nadoba <dnadoba@gmail.com> --------- Co-authored-by: David Nadoba <dnadoba@gmail.com>