Skip to content

flaky test: testRaceNewRequestsVsShutdown: Attempting to use HTTP1ConnectionProvider with unexpected state: closing (expected: [opened]) #176

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
weissi opened this issue Mar 5, 2020 · 9 comments · Fixed by #192
Assignees
Labels
area/testing Improvements to tests.
Milestone

Comments

@weissi
Copy link
Contributor

weissi commented Mar 5, 2020

Test Suite 'Selected tests' started at 2020-03-05 6:23:11.382 pm
Test Suite 'AsyncHTTPClientTests.xctest' started at 2020-03-05 6:23:11.383 pm
Test Suite 'HTTPClientTests' started at 2020-03-05 6:23:11.383 pm
Test Case '-[AsyncHTTPClientTests.HTTPClientTests testRaceNewRequestsVsShutdown]' started.
Precondition failed: Attempting to use HTTP1ConnectionProvider with unexpected state: closing (expected: [opened]): file /Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/ConnectionPool.swift, line 487
2020-03-05 18:23:11.502863+0000 xctest[4058:75217] Precondition failed: Attempting to use HTTP1ConnectionProvider with unexpected state: closing (expected: [opened]): file /Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/ConnectionPool.swift, line 487

bt:

(lldb) bt
* thread #9, name = 'NIO-ELT-2-#0'
    frame #0: 0x00007fff6f31e3e0 libswiftCore.dylib`_swift_runtime_on_report
    frame #1: 0x00007fff6f398243 libswiftCore.dylib`_swift_stdlib_reportFatalErrorInFile + 211
    frame #2: 0x00007fff6f05fa2e libswiftCore.dylib`closure #1 (Swift.UnsafeBufferPointer<Swift.UInt8>) -> () in closure #1 (Swift.UnsafeBufferPointer<Swift.UInt8>) -> () in closure #1 (Swift.UnsafeBufferPointer<Swift.UInt8>) -> () in Swift._assertionFailure(_: Swift.StaticString, _: Swift.String, file: Swift.StaticString, line: Swift.UInt, flags: Swift.UInt32) -> Swift.Never + 286
    frame #3: 0x00007fff6f05f637 libswiftCore.dylib`closure #1 (Swift.UnsafeBufferPointer<Swift.UInt8>) -> () in closure #1 (Swift.UnsafeBufferPointer<Swift.UInt8>) -> () in Swift._assertionFailure(_: Swift.StaticString, _: Swift.String, file: Swift.StaticString, line: Swift.UInt, flags: Swift.UInt32) -> Swift.Never + 87
    frame #4: 0x00007fff6f05fc27 libswiftCore.dylib`function signature specialization <Arg[1] = [Closure Propagated : closure #1 (Swift.UnsafeBufferPointer<Swift.UInt8>) -> () in closure #1 (Swift.UnsafeBufferPointer<Swift.UInt8>) -> () in Swift._assertionFailure(_: Swift.StaticString, _: Swift.String, file: Swift.StaticString, line: Swift.UInt, flags: Swift.UInt32) -> Swift.Never, Argument Types : [Swift.StaticStringSwift.UnsafeBufferPointer<Swift.UInt8>Swift.UIntSwift.UInt32]> of generic specialization <()> of Swift.String.withUTF8<A>((Swift.UnsafeBufferPointer<Swift.UInt8>) throws -> A) throws -> A + 183
    frame #5: 0x00007fff6f05e210 libswiftCore.dylib`Swift._assertionFailure(_: Swift.StaticString, _: Swift.String, file: Swift.StaticString, line: Swift.UInt, flags: Swift.UInt32) -> Swift.Never + 528
  * frame #6: 0x000000011356dbf5 AsyncHTTPClientTests`closure #1 in ConnectionPool.HTTP1ConnectionProvider.activityPrecondition(expected=1 value, self=0x0000000100b16e00) at ConnectionPool.swift:487:17
    frame #7: 0x000000011355e2ef AsyncHTTPClientTests`thunk for @callee_guaranteed () -> (@error @owned Error) at <compiler-generated>:0
    frame #8: 0x0000000113570434 AsyncHTTPClientTests`thunk for @callee_guaranteed () -> (@error @owned Error)partial apply at <compiler-generated>:0
    frame #9: 0x0000000113266765 AsyncHTTPClientTests`Lock.withLock<T>(body=0x0000000113570420 AsyncHTTPClientTests`reabstraction thunk helper from @callee_guaranteed () -> (@error @owned Swift.Error) to @escaping @callee_guaranteed () -> (@out (), @error @owned Swift.Error)partial apply forwarder with unmangled suffix ".81" at <compiler-generated>, self=(mutex = 0x0000000100b17000)) at lock.swift:79:20
    frame #10: 0x000000011356d300 AsyncHTTPClientTests`ConnectionPool.HTTP1ConnectionProvider.activityPrecondition(expected=1 value, self=0x0000000100b16e00) at ConnectionPool.swift:486:28
    frame #11: 0x00000001135682b3 AsyncHTTPClientTests`ConnectionPool.HTTP1ConnectionProvider.makeConnection(eventLoop=0x0000000100e1b2b0, self=0x0000000100b16e00) at ConnectionPool.swift:372:18
    frame #12: 0x000000011356a3a6 AsyncHTTPClientTests`closure #1 in ConnectionPool.HTTP1ConnectionProvider.configureCloseCallback(result=(success = () @ 0x000070000359bff0), self=0x0000000100b16e00, connection=0x0000000102b092d0) at ConnectionPool.swift:439:30
    frame #13: 0x000000011356b1f0 AsyncHTTPClientTests`thunk for @escaping @callee_guaranteed (@guaranteed Result<(), Error>) -> () at <compiler-generated>:0
    frame #14: 0x0000000113180ff1 AsyncHTTPClientTests`closure #1 in EventLoopFuture.whenComplete(callback=0x000000011356f910 AsyncHTTPClientTests`partial apply forwarder for reabstraction thunk helper from @escaping @callee_guaranteed (@guaranteed Swift.Result<(), Swift.Error>) -> () to @escaping @callee_guaranteed (@in_guaranteed Swift.Result<(), Swift.Error>) -> () at <compiler-generated>, self=0x0000000102b05bc0) at EventLoopFuture.swift:738:13
    frame #15: 0x0000000113179544 AsyncHTTPClientTests`CallbackList._run(self=NIO.CallbackList @ 0x000070000359c430) at EventLoopFuture.swift:88:27
    frame #16: 0x000000011317a3eb AsyncHTTPClientTests`EventLoopPromise._resolve(value=, self=NIO.EventLoopPromise<()> @ 0x000070000359c520) at EventLoopFuture.swift:226:42
    frame #17: 0x000000011317a2c2 AsyncHTTPClientTests`EventLoopPromise.succeed(value=() @ 0xffffffffffffffff, self=NIO.EventLoopPromise<()> @ 0x000070000359c5d0) at EventLoopFuture.swift:171:14
    frame #18: 0x00000001130d5109 AsyncHTTPClientTests`closure #4 in BaseSocketChannel.close0(self=0x0000000102b07d10) at BaseSocketChannel.swift:851:31
    frame #19: 0x00000001131f573c AsyncHTTPClientTests`thunk for @escaping @callee_guaranteed () -> () at <compiler-generated>:0
    frame #20: 0x00000001131f88c1 AsyncHTTPClientTests`partial apply for thunk for @escaping @callee_guaranteed () -> () at <compiler-generated>:0
    frame #21: 0x00000001131f575c AsyncHTTPClientTests`thunk for @escaping @callee_guaranteed () -> (@out ()) at <compiler-generated>:0
    frame #22: 0x00000001131f57b8 AsyncHTTPClientTests`closure #3 in SelectableEventLoop.run(task=0x00000001131f86f0 AsyncHTTPClientTests`partial apply forwarder for reabstraction thunk helper from @escaping @callee_guaranteed () -> (@out ()) to @escaping @callee_guaranteed () -> () at <compiler-generated>) at SelectableEventLoop.swift:382:25
    frame #23: 0x00000001130c890f AsyncHTTPClientTests`thunk for @callee_guaranteed () -> (@error @owned Error) at <compiler-generated>:0
    frame #24: 0x00000001131f86b4 AsyncHTTPClientTests`thunk for @callee_guaranteed () -> (@error @owned Error)partial apply at <compiler-generated>:0
    frame #25: 0x00000001131efe13 AsyncHTTPClientTests`closure #1 in withAutoReleasePool<T>(execute=0x00000001131f86a0 AsyncHTTPClientTests`reabstraction thunk helper from @callee_guaranteed () -> (@error @owned Swift.Error) to @escaping @callee_guaranteed () -> (@out (), @error @owned Swift.Error)partial apply forwarder with unmangled suffix ".8" at <compiler-generated>) at SelectableEventLoop.swift:25:13
    frame #26: 0x00000001131efe6f AsyncHTTPClientTests`partial apply for closure #1 in withAutoReleasePool<A>(_:) at <compiler-generated>:0
    frame #27: 0x00007fff6f6b6d8e libswiftObjectiveC.dylib`ObjectiveC.autoreleasepool<A>(invoking: () throws -> A) throws -> A + 46
    frame #28: 0x00000001131efdaa AsyncHTTPClientTests`withAutoReleasePool<T>(execute=0x00000001131f86a0 AsyncHTTPClientTests`reabstraction thunk helper from @callee_guaranteed () -> (@error @owned Swift.Error) to @escaping @callee_guaranteed () -> (@out (), @error @owned Swift.Error)partial apply forwarder with unmangled suffix ".8" at <compiler-generated>) at SelectableEventLoop.swift:24:16
    frame #29: 0x00000001131f427e AsyncHTTPClientTests`SelectableEventLoop.run(self=0x0000000100e1b2b0) at SelectableEventLoop.swift:381:21
    frame #30: 0x00000001131707b9 AsyncHTTPClientTests`closure #1 in static MultiThreadedEventLoopGroup.setupThreadAndEventLoop(t=0x0000000100e1af90, initializer=0x0000000113177db0 AsyncHTTPClientTests`partial apply forwarder for reabstraction thunk helper from @escaping @callee_guaranteed (@in_guaranteed NIO.NIOThread) -> (@out ()) to @escaping @callee_guaranteed (@guaranteed NIO.NIOThread) -> () at <compiler-generated>, self=NIO.MultiThreadedEventLoopGroup, lock=(mutex = 0x0000000100c12df0), _loop=0x0000000100e1b2b0, loopUpAndRunningGroup=0x0000000100c12e30) at EventLoop.swift:792:23
    frame #31: 0x000000011317523b AsyncHTTPClientTests`partial apply for closure #1 in static MultiThreadedEventLoopGroup.setupThreadAndEventLoop(name:initializer:) at <compiler-generated>:0
    frame #32: 0x0000000113170eaf AsyncHTTPClientTests`thunk for @escaping @callee_guaranteed (@guaranteed NIOThread) -> () at <compiler-generated>:0
    frame #33: 0x0000000113247341 AsyncHTTPClientTests`partial apply for thunk for @escaping @callee_guaranteed (@guaranteed NIOThread) -> () at <compiler-generated>:0
    frame #34: 0x000000011324482c AsyncHTTPClientTests`closure #1 in static NIOThread.spawnAndRun(p=(_rawValue = 0x0000000100c12dc0 -> 0x00007fff9531b770 libswiftCore.dylib`InitialAllocationPool + 4848)) at Thread.swift:118:13
    frame #35: 0x00000001132448a9 AsyncHTTPClientTests`@objc closure #1 in static NIOThread.spawnAndRun(name:detachThread:body:) at <compiler-generated>:0
    frame #36: 0x00007fff6fc07109 libsystem_pthread.dylib`_pthread_start + 148
    frame #37: 0x00007fff6fc02b8b libsystem_pthread.dylib`thread_start + 15

p self:

(lldb) p self
(AsyncHTTPClient.ConnectionPool.HTTP1ConnectionProvider) $R1 = 0x0000000100b16e00 {
  eventLoop = 0x0000000100e1b2b0 {
    _selector = 0x0000000100e1beb0 {
      lifecycleState = open
      eventsCapacity = 64
      events = 0x0000000106017800
      registrations = 7 key/value pairs {
        [0] = {
          key = 17
          value = socketChannel {
            socketChannel = {
              0 = 0x4000000100e23b10 {
                NIO.BaseStreamSocketChannel = {
                  NIO.BaseSocketChannel = {
                    parent = nil
                    socket = 0x0000000100e23c60 {
                      NIO.BaseSocket = {
                        descriptor = 17
                      }
                    }
                    closePromise = {
                      futureResult = 0x0000000100e24040 {
                        _value = nil
                        eventLoop = 0x0000000100e1b2b0 {...}
                        _callbacks = {
                          firstCallback = nil
                          furtherCallbacks = nil
                        }
                      }
                    }
                    selectableEventLoop = 0x0000000100e1b2b0 {...}
                    _offEventLoopLock = 0x0000000100e23fa0 (mutex = 0x0000000100e23fc0)
                    isActiveAtomic = 0x0000000100e24000 {}
                    socketDescription = "BaseSocket { fd=17 }"
                    readPending = false
                    pendingConnect = some {
                      futureResult = 0x0000000100e24120 {
                        _value = nil
                        eventLoop = 0x0000000100e1b2b0 {...}
                        _callbacks = {
                          firstCallback = 0x0000000113183e60 AsyncHTTPClientTests`partial apply forwarder for closure #1 () -> NIO.CallbackList in NIO.EventLoopFuture.whenSuccess((A) -> ()) -> () at <compiler-generated>
                          furtherCallbacks = 1 value {
                            [0] = 0x0000000113178590 AsyncHTTPClientTests`partial apply forwarder for reabstraction thunk helper from @escaping @callee_guaranteed () -> (@owned NIO.CallbackList) to @escaping @callee_guaranteed () -> (@out NIO.CallbackList) at <compiler-generated>
                          }
                        }
                      }
                    }
                    recvAllocator = {
                      minIndex = 3
                      maxIndex = 38
                      minimum = 64
                      maximum = 65536
                      initial = 1024
                      index = 32
                      nextReceiveBufferSize = 1024
                      decreaseNow = false
                    }
                    maxMessagesPerRead = 4
                    inFlushNow = false
                    autoRead = true
                    _pipeline = 0x0000000100e241c0 {
                      head = 0x0000000100e24210 {
                        next = 0x0000000100e24270 {
                          next = nil
                          prev = 0x0000000100e24210 {...}
                          pipeline = 0x0000000100e241c0 {...}
                          name = "tail"
                          inboundHandler = 0x0000000100b107b0
                          outboundHandler = nil
                          removeHandlerInvoked = false
                          userTriggeredRemovalStarted = false
                        }
                        prev = nil
                        pipeline = 0x0000000100e241c0 {...}
                        name = "head"
                        inboundHandler = nil
                        outboundHandler = 0x0000000100b11490
                        removeHandlerInvoked = false
                        userTriggeredRemovalStarted = false
                      }
                      tail = 0x0000000100e24270 {...}
                      idx = 0
                      destroyed = false
                      eventLoop = 0x0000000100e1b2b0 {...}
                      _channel = 0x0000000100e23b10 {
                        NIO.BaseStreamSocketChannel = {
                          NIO.BaseSocketChannel = {
                            parent = nil
                            socket = 0x0000000100e23c60 {...}
                            closePromise = {
                              futureResult = 0x0000000100e24040 {...}
                            }
                            selectableEventLoop = 0x0000000100e1b2b0 {...}
                            _offEventLoopLock = 0x0000000100e23fa0 {...}
                            isActiveAtomic = 0x0000000100e24000 {...}
                            socketDescription = "BaseSocket { fd=17 }"
                            readPending = false
                            pendingConnect = some {
                              futureResult = 0x0000000100e24120 {...}
                            }
                            recvAllocator = {
                              minIndex = 3
                              maxIndex = 38
                              minimum = 64
                              maximum = 65536
                              initial = 1024
                              index = 32
                              nextReceiveBufferSize = 1024
                              decreaseNow = false
                            }
                            maxMessagesPerRead = 4
                            inFlushNow = false
                            autoRead = true
                            _pipeline = 0x0000000100e241c0 {...}
                            _addressCache = {
                              local = v6 {
                                v6 = {
                                  _storage = 0x4000000100e243b0 {
                                    value = {
                                      address = {
                                        sin6_len = 28
                                        sin6_family = 30
                                        sin6_port = 47054
                                        sin6_flowinfo = 0
                                        sin6_addr = {
                                          __u6_addr = {
                                            __u6_addr8 = (0 = 0, 1 = 0, 2 = 0, 3 = 0, 4 = 0, 5 = 0, 6 = 0, 7 = 0, 8 = 0, 9 = 0, 10 = 0, 11 = 0, 12 = 0, 13 = 0, 14 = 0, 15 = 1)
                                            __u6_addr16 = (0 = 0, 1 = 0, 2 = 0, 3 = 0, 4 = 0, 5 = 0, 6 = 0, 7 = 256)
                                            __u6_addr32 = (0 = 0, 1 = 0, 2 = 0, 3 = 16777216)
                                          }
                                        }
                                        sin6_scope_id = 0
                                      }
                                      host = "::1"
                                    }
                                  }
                                }
                              }
                              remote = nil
                            }
                            _bufferAllocatorCache = (malloc = 0x00000001130fcf30 AsyncHTTPClientTests`@objc closure #1 (Swift.Int) -> Swift.Optional<Swift.UnsafeMutableRawPointer> in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, realloc = 0x00000001130fcfa0 AsyncHTTPClientTests`@objc closure #2 (Swift.Optional<Swift.UnsafeMutableRawPointer>, Swift.Int) -> Swift.Optional<Swift.UnsafeMutableRawPointer> in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, free = 0x00000001130fcff0 AsyncHTTPClientTests`@objc closure #3 (Swift.Optional<Swift.UnsafeMutableRawPointer>) -> () in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, memcpy = 0x00000001130fd060 AsyncHTTPClientTests`@objc closure #4 (Swift.UnsafeMutableRawPointer, Swift.UnsafeRawPointer, Swift.Int) -> () in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>)
                            interestedEvent = (rawValue = 9)
                            lifecycleManager = {
                              eventLoop = 0x0000000100e1b2b0 {...}
                              isActiveAtomic = 0x0000000100e24000 {...}
                              hasSeenEOFNotification = false
                              currentState = fullyRegistered
                            }
                            bufferAllocator = (malloc = 0x00000001130fcf30 AsyncHTTPClientTests`@objc closure #1 (Swift.Int) -> Swift.Optional<Swift.UnsafeMutableRawPointer> in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, realloc = 0x00000001130fcfa0 AsyncHTTPClientTests`@objc closure #2 (Swift.Optional<Swift.UnsafeMutableRawPointer>, Swift.Int) -> Swift.Optional<Swift.UnsafeMutableRawPointer> in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, free = 0x00000001130fcff0 AsyncHTTPClientTests`@objc closure #3 (Swift.Optional<Swift.UnsafeMutableRawPointer>) -> () in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, memcpy = 0x00000001130fd060 AsyncHTTPClientTests`@objc closure #4 (Swift.UnsafeMutableRawPointer, Swift.UnsafeRawPointer, Swift.Int) -> () in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>)
                          }
                          connectTimeoutScheduled = nil
                          allowRemoteHalfClosure = false
                          inputShutdown = false
                          outputShutdown = false
                          pendingWrites = 0x0000000100e23cd0 {
                            state = {
                              pendingWrites = {
                                _buffer = {
                                  _buffer = {
                                    _buffer = {
                                      _storage = 16 values {
                                        [0] = 0x000000011376e0e8
                                        [1] = 0x000000011376e0e8
                                        [2] = 0x000000011376e0e8
                                        [3] = 0x000000011376e0e8
                                        [4] = 0x000000011376e0e8
                                        [5] = 0x000000011376e0e8
                                        [6] = 0x000000011376e0e8
                                        [7] = 0x000000011376e0e8
                                        [8] = 0x000000011376e0e8
                                        [9] = 0x000000011376e0e8
                                        [10] = 0x000000011376e0e8
                                        [11] = 0x000000011376e0e8
                                        [12] = 0x000000011376e0e8
                                        [13] = 0x000000011376e0e8
                                        [14] = 0x000000011376e0e8
                                        [15] = 0x000000011376e0e8
                                      }
                                    }
                                  }
                                  headBackingIndex = 0
                                  tailBackingIndex = 0
                                }
                                _markedIndexOffset = nil
                              }
                              bytes = 0
                            }
                            iovecs = (_position = 0x000000010601a400, count = 1024)
                            storageRefs = (_position = 0x000000010601e400, count = 1024)
                            waterMark = (low = 32768, high = 65536)
                            channelWritabilityFlag = 0x0000000100e23f80 {}
                            writeSpinCount = 16
                            isOpen = true
                          }
                        }
                        connectTimeout = nil
                      }
                    }
                    _addressCache = {
                      local = v6 {
                        v6 = {
                          _storage = 0x4000000100e243b0 {...}
                        }
                      }
                      remote = nil
                    }
                    _bufferAllocatorCache = (malloc = 0x00000001130fcf30 AsyncHTTPClientTests`@objc closure #1 (Swift.Int) -> Swift.Optional<Swift.UnsafeMutableRawPointer> in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, realloc = 0x00000001130fcfa0 AsyncHTTPClientTests`@objc closure #2 (Swift.Optional<Swift.UnsafeMutableRawPointer>, Swift.Int) -> Swift.Optional<Swift.UnsafeMutableRawPointer> in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, free = 0x00000001130fcff0 AsyncHTTPClientTests`@objc closure #3 (Swift.Optional<Swift.UnsafeMutableRawPointer>) -> () in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, memcpy = 0x00000001130fd060 AsyncHTTPClientTests`@objc closure #4 (Swift.UnsafeMutableRawPointer, Swift.UnsafeRawPointer, Swift.Int) -> () in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>)
                    interestedEvent = (rawValue = 9)
                    lifecycleManager = {
                      eventLoop = 0x0000000100e1b2b0 {...}
                      isActiveAtomic = 0x0000000100e24000 {...}
                      hasSeenEOFNotification = false
                      currentState = fullyRegistered
                    }
                    bufferAllocator = (malloc = 0x00000001130fcf30 AsyncHTTPClientTests`@objc closure #1 (Swift.Int) -> Swift.Optional<Swift.UnsafeMutableRawPointer> in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, realloc = 0x00000001130fcfa0 AsyncHTTPClientTests`@objc closure #2 (Swift.Optional<Swift.UnsafeMutableRawPointer>, Swift.Int) -> Swift.Optional<Swift.UnsafeMutableRawPointer> in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, free = 0x00000001130fcff0 AsyncHTTPClientTests`@objc closure #3 (Swift.Optional<Swift.UnsafeMutableRawPointer>) -> () in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, memcpy = 0x00000001130fd060 AsyncHTTPClientTests`@objc closure #4 (Swift.UnsafeMutableRawPointer, Swift.UnsafeRawPointer, Swift.Int) -> () in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>)
                  }
                  connectTimeoutScheduled = nil
                  allowRemoteHalfClosure = false
                  inputShutdown = false
                  outputShutdown = false
                  pendingWrites = 0x0000000100e23cd0 {...}
                }
                connectTimeout = nil
              }
              1 = (rawValue = 9)
            }
          }
        }
        [1] = {
          key = 15
          value = socketChannel {
            socketChannel = {
              0 = 0x4000000102987530 {
                NIO.BaseStreamSocketChannel = {
                  NIO.BaseSocketChannel = {
                    parent = nil
                    socket = 0x0000000102987680 {
                      NIO.BaseSocket = {
                        descriptor = 15
                      }
                    }
                    closePromise = {
                      futureResult = 0x0000000102987a60 {
                        _value = nil
                        eventLoop = 0x0000000100e1b2b0 {...}
                        _callbacks = {
                          firstCallback = nil
                          furtherCallbacks = nil
                        }
                      }
                    }
                    selectableEventLoop = 0x0000000100e1b2b0 {...}
                    _offEventLoopLock = 0x00000001029879c0 (mutex = 0x00000001029879e0)
                    isActiveAtomic = 0x0000000102987a20 {}
                    socketDescription = "BaseSocket { fd=15 }"
                    readPending = false
                    pendingConnect = some {
                      futureResult = 0x0000000102987b40 {
                        _value = nil
                        eventLoop = 0x0000000100e1b2b0 {...}
                        _callbacks = {
                          firstCallback = 0x0000000113183e60 AsyncHTTPClientTests`partial apply forwarder for closure #1 () -> NIO.CallbackList in NIO.EventLoopFuture.whenSuccess((A) -> ()) -> () at <compiler-generated>
                          furtherCallbacks = 1 value {
                            [0] = 0x0000000113178590 AsyncHTTPClientTests`partial apply forwarder for reabstraction thunk helper from @escaping @callee_guaranteed () -> (@owned NIO.CallbackList) to @escaping @callee_guaranteed () -> (@out NIO.CallbackList) at <compiler-generated>
                          }
                        }
                      }
                    }
                    recvAllocator = {
                      minIndex = 3
                      maxIndex = 38
                      minimum = 64
                      maximum = 65536
                      initial = 1024
                      index = 32
                      nextReceiveBufferSize = 1024
                      decreaseNow = false
                    }
                    maxMessagesPerRead = 4
                    inFlushNow = false
                    autoRead = true
                    _pipeline = 0x0000000102987be0 {
                      head = 0x0000000102987c30 {
                        next = 0x0000000102987c90 {
                          next = nil
                          prev = 0x0000000102987c30 {...}
                          pipeline = 0x0000000102987be0 {...}
                          name = "tail"
                          inboundHandler = 0x0000000100b107b0 {...}
                          outboundHandler = nil
                          removeHandlerInvoked = false
                          userTriggeredRemovalStarted = false
                        }
                        prev = nil
                        pipeline = 0x0000000102987be0 {...}
                        name = "head"
                        inboundHandler = nil
                        outboundHandler = 0x0000000100b11490 {...}
                        removeHandlerInvoked = false
                        userTriggeredRemovalStarted = false
                      }
                      tail = 0x0000000102987c90 {...}
                      idx = 0
                      destroyed = false
                      eventLoop = 0x0000000100e1b2b0 {...}
                      _channel = 0x0000000102987530 {
                        NIO.BaseStreamSocketChannel = {
                          NIO.BaseSocketChannel = {
                            parent = nil
                            socket = 0x0000000102987680 {...}
                            closePromise = {
                              futureResult = 0x0000000102987a60 {...}
                            }
                            selectableEventLoop = 0x0000000100e1b2b0 {...}
                            _offEventLoopLock = 0x00000001029879c0 {...}
                            isActiveAtomic = 0x0000000102987a20 {...}
                            socketDescription = "BaseSocket { fd=15 }"
                            readPending = false
                            pendingConnect = some {
                              futureResult = 0x0000000102987b40 {...}
                            }
                            recvAllocator = {
                              minIndex = 3
                              maxIndex = 38
                              minimum = 64
                              maximum = 65536
                              initial = 1024
                              index = 32
                              nextReceiveBufferSize = 1024
                              decreaseNow = false
                            }
                            maxMessagesPerRead = 4
                            inFlushNow = false
                            autoRead = true
                            _pipeline = 0x0000000102987be0 {...}
                            _addressCache = {
                              local = v6 {
                                v6 = {
                                  _storage = 0x4000000102987dd0 {
                                    value = {
                                      address = {
                                        sin6_len = 28
                                        sin6_family = 30
                                        sin6_port = 46542
                                        sin6_flowinfo = 0
                                        sin6_addr = {
                                          __u6_addr = {
                                            __u6_addr8 = (0 = 0, 1 = 0, 2 = 0, 3 = 0, 4 = 0, 5 = 0, 6 = 0, 7 = 0, 8 = 0, 9 = 0, 10 = 0, 11 = 0, 12 = 0, 13 = 0, 14 = 0, 15 = 1)
                                            __u6_addr16 = (0 = 0, 1 = 0, 2 = 0, 3 = 0, 4 = 0, 5 = 0, 6 = 0, 7 = 256)
                                            __u6_addr32 = (0 = 0, 1 = 0, 2 = 0, 3 = 16777216)
                                          }
                                        }
                                        sin6_scope_id = 0
                                      }
                                      host = "::1"
                                    }
                                  }
                                }
                              }
                              remote = nil
                            }
                            _bufferAllocatorCache = (malloc = 0x00000001130fcf30 AsyncHTTPClientTests`@objc closure #1 (Swift.Int) -> Swift.Optional<Swift.UnsafeMutableRawPointer> in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, realloc = 0x00000001130fcfa0 AsyncHTTPClientTests`@objc closure #2 (Swift.Optional<Swift.UnsafeMutableRawPointer>, Swift.Int) -> Swift.Optional<Swift.UnsafeMutableRawPointer> in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, free = 0x00000001130fcff0 AsyncHTTPClientTests`@objc closure #3 (Swift.Optional<Swift.UnsafeMutableRawPointer>) -> () in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, memcpy = 0x00000001130fd060 AsyncHTTPClientTests`@objc closure #4 (Swift.UnsafeMutableRawPointer, Swift.UnsafeRawPointer, Swift.Int) -> () in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>)
                            interestedEvent = (rawValue = 9)
                            lifecycleManager = {
                              eventLoop = 0x0000000100e1b2b0 {...}
                              isActiveAtomic = 0x0000000102987a20 {...}
                              hasSeenEOFNotification = false
                              currentState = fullyRegistered
                            }
                            bufferAllocator = (malloc = 0x00000001130fcf30 AsyncHTTPClientTests`@objc closure #1 (Swift.Int) -> Swift.Optional<Swift.UnsafeMutableRawPointer> in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, realloc = 0x00000001130fcfa0 AsyncHTTPClientTests`@objc closure #2 (Swift.Optional<Swift.UnsafeMutableRawPointer>, Swift.Int) -> Swift.Optional<Swift.UnsafeMutableRawPointer> in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, free = 0x00000001130fcff0 AsyncHTTPClientTests`@objc closure #3 (Swift.Optional<Swift.UnsafeMutableRawPointer>) -> () in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, memcpy = 0x00000001130fd060 AsyncHTTPClientTests`@objc closure #4 (Swift.UnsafeMutableRawPointer, Swift.UnsafeRawPointer, Swift.Int) -> () in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>)
                          }
                          connectTimeoutScheduled = nil
                          allowRemoteHalfClosure = false
                          inputShutdown = false
                          outputShutdown = false
                          pendingWrites = 0x00000001029876f0 {
                            state = {
                              pendingWrites = {
                                _buffer = {
                                  _buffer = {
                                    _buffer = {
                                      _storage = 16 values {
                                        [0] = 0x000000011376e0e8
                                        [1] = 0x000000011376e0e8
                                        [2] = 0x000000011376e0e8
                                        [3] = 0x000000011376e0e8
                                        [4] = 0x000000011376e0e8
                                        [5] = 0x000000011376e0e8
                                        [6] = 0x000000011376e0e8
                                        [7] = 0x000000011376e0e8
                                        [8] = 0x000000011376e0e8
                                        [9] = 0x000000011376e0e8
                                        [10] = 0x000000011376e0e8
                                        [11] = 0x000000011376e0e8
                                        [12] = 0x000000011376e0e8
                                        [13] = 0x000000011376e0e8
                                        [14] = 0x000000011376e0e8
                                        [15] = 0x000000011376e0e8
                                      }
                                    }
                                  }
                                  headBackingIndex = 0
                                  tailBackingIndex = 0
                                }
                                _markedIndexOffset = nil
                              }
                              bytes = 0
                            }
                            iovecs = (_position = 0x000000010601a400, count = 1024)
                            storageRefs = (_position = 0x000000010601e400, count = 1024)
                            waterMark = (low = 32768, high = 65536)
                            channelWritabilityFlag = 0x00000001029879a0 {}
                            writeSpinCount = 16
                            isOpen = true
                          }
                        }
                        connectTimeout = nil
                      }
                    }
                    _addressCache = {
                      local = v6 {
                        v6 = {
                          _storage = 0x4000000102987dd0 {...}
                        }
                      }
                      remote = nil
                    }
                    _bufferAllocatorCache = (malloc = 0x00000001130fcf30 AsyncHTTPClientTests`@objc closure #1 (Swift.Int) -> Swift.Optional<Swift.UnsafeMutableRawPointer> in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, realloc = 0x00000001130fcfa0 AsyncHTTPClientTests`@objc closure #2 (Swift.Optional<Swift.UnsafeMutableRawPointer>, Swift.Int) -> Swift.Optional<Swift.UnsafeMutableRawPointer> in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, free = 0x00000001130fcff0 AsyncHTTPClientTests`@objc closure #3 (Swift.Optional<Swift.UnsafeMutableRawPointer>) -> () in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, memcpy = 0x00000001130fd060 AsyncHTTPClientTests`@objc closure #4 (Swift.UnsafeMutableRawPointer, Swift.UnsafeRawPointer, Swift.Int) -> () in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>)
                    interestedEvent = (rawValue = 9)
                    lifecycleManager = {
                      eventLoop = 0x0000000100e1b2b0 {...}
                      isActiveAtomic = 0x0000000102987a20 {...}
                      hasSeenEOFNotification = false
                      currentState = fullyRegistered
                    }
                    bufferAllocator = (malloc = 0x00000001130fcf30 AsyncHTTPClientTests`@objc closure #1 (Swift.Int) -> Swift.Optional<Swift.UnsafeMutableRawPointer> in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, realloc = 0x00000001130fcfa0 AsyncHTTPClientTests`@objc closure #2 (Swift.Optional<Swift.UnsafeMutableRawPointer>, Swift.Int) -> Swift.Optional<Swift.UnsafeMutableRawPointer> in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, free = 0x00000001130fcff0 AsyncHTTPClientTests`@objc closure #3 (Swift.Optional<Swift.UnsafeMutableRawPointer>) -> () in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, memcpy = 0x00000001130fd060 AsyncHTTPClientTests`@objc closure #4 (Swift.UnsafeMutableRawPointer, Swift.UnsafeRawPointer, Swift.Int) -> () in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>)
                  }
                  connectTimeoutScheduled = nil
                  allowRemoteHalfClosure = false
                  inputShutdown = false
                  outputShutdown = false
                  pendingWrites = 0x00000001029876f0 {...}
                }
                connectTimeout = nil
              }
              1 = (rawValue = 9)
            }
          }
        }
        [2] = {
          key = 16
          value = socketChannel {
            socketChannel = {
              0 = 0x4000000100b1ec60 {
                NIO.BaseStreamSocketChannel = {
                  NIO.BaseSocketChannel = {
                    parent = nil
                    socket = 0x0000000100b1edb0 {
                      NIO.BaseSocket = {
                        descriptor = 16
                      }
                    }
                    closePromise = {
                      futureResult = 0x0000000100b1f170 {
                        _value = nil
                        eventLoop = 0x0000000100e1b2b0 {...}
                        _callbacks = {
                          firstCallback = nil
                          furtherCallbacks = nil
                        }
                      }
                    }
                    selectableEventLoop = 0x0000000100e1b2b0 {...}
                    _offEventLoopLock = 0x0000000100b1f0f0 (mutex = 0x0000000100b1f110)
                    isActiveAtomic = 0x0000000100b1ebf0 {}
                    socketDescription = "BaseSocket { fd=16 }"
                    readPending = false
                    pendingConnect = some {
                      futureResult = 0x0000000100b1f250 {
                        _value = nil
                        eventLoop = 0x0000000100e1b2b0 {...}
                        _callbacks = {
                          firstCallback = 0x0000000113183e60 AsyncHTTPClientTests`partial apply forwarder for closure #1 () -> NIO.CallbackList in NIO.EventLoopFuture.whenSuccess((A) -> ()) -> () at <compiler-generated>
                          furtherCallbacks = 1 value {
                            [0] = 0x0000000113178590 AsyncHTTPClientTests`partial apply forwarder for reabstraction thunk helper from @escaping @callee_guaranteed () -> (@owned NIO.CallbackList) to @escaping @callee_guaranteed () -> (@out NIO.CallbackList) at <compiler-generated>
                          }
                        }
                      }
                    }
                    recvAllocator = {
                      minIndex = 3
                      maxIndex = 38
                      minimum = 64
                      maximum = 65536
                      initial = 1024
                      index = 32
                      nextReceiveBufferSize = 1024
                      decreaseNow = false
                    }
                    maxMessagesPerRead = 4
                    inFlushNow = false
                    autoRead = true
                    _pipeline = 0x0000000100b1f2f0 {
                      head = 0x0000000100b1f340 {
                        next = 0x0000000100b1f3a0 {
                          next = nil
                          prev = 0x0000000100b1f340 {...}
                          pipeline = 0x0000000100b1f2f0 {...}
                          name = "tail"
                          inboundHandler = 0x0000000100b107b0 {...}
                          outboundHandler = nil
                          removeHandlerInvoked = false
                          userTriggeredRemovalStarted = false
                        }
                        prev = nil
                        pipeline = 0x0000000100b1f2f0 {...}
                        name = "head"
                        inboundHandler = nil
                        outboundHandler = 0x0000000100b11490 {...}
                        removeHandlerInvoked = false
                        userTriggeredRemovalStarted = false
                      }
                      tail = 0x0000000100b1f3a0 {...}
                      idx = 0
                      destroyed = false
                      eventLoop = 0x0000000100e1b2b0 {...}
                      _channel = 0x0000000100b1ec60 {
                        NIO.BaseStreamSocketChannel = {
                          NIO.BaseSocketChannel = {
                            parent = nil
                            socket = 0x0000000100b1edb0 {...}
                            closePromise = {
                              futureResult = 0x0000000100b1f170 {...}
                            }
                            selectableEventLoop = 0x0000000100e1b2b0 {...}
                            _offEventLoopLock = 0x0000000100b1f0f0 {...}
                            isActiveAtomic = 0x0000000100b1ebf0 {...}
                            socketDescription = "BaseSocket { fd=16 }"
                            readPending = false
                            pendingConnect = some {
                              futureResult = 0x0000000100b1f250 {...}
                            }
                            recvAllocator = {
                              minIndex = 3
                              maxIndex = 38
                              minimum = 64
                              maximum = 65536
                              initial = 1024
                              index = 32
                              nextReceiveBufferSize = 1024
                              decreaseNow = false
                            }
                            maxMessagesPerRead = 4
                            inFlushNow = false
                            autoRead = true
                            _pipeline = 0x0000000100b1f2f0 {...}
                            _addressCache = {
                              local = v6 {
                                v6 = {
                                  _storage = 0x4000000100b1f4e0 {
                                    value = {
                                      address = {
                                        sin6_len = 28
                                        sin6_family = 30
                                        sin6_port = 46798
                                        sin6_flowinfo = 0
                                        sin6_addr = {
                                          __u6_addr = {
                                            __u6_addr8 = (0 = 0, 1 = 0, 2 = 0, 3 = 0, 4 = 0, 5 = 0, 6 = 0, 7 = 0, 8 = 0, 9 = 0, 10 = 0, 11 = 0, 12 = 0, 13 = 0, 14 = 0, 15 = 1)
                                            __u6_addr16 = (0 = 0, 1 = 0, 2 = 0, 3 = 0, 4 = 0, 5 = 0, 6 = 0, 7 = 256)
                                            __u6_addr32 = (0 = 0, 1 = 0, 2 = 0, 3 = 16777216)
                                          }
                                        }
                                        sin6_scope_id = 0
                                      }
                                      host = "::1"
                                    }
                                  }
                                }
                              }
                              remote = nil
                            }
                            _bufferAllocatorCache = (malloc = 0x00000001130fcf30 AsyncHTTPClientTests`@objc closure #1 (Swift.Int) -> Swift.Optional<Swift.UnsafeMutableRawPointer> in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, realloc = 0x00000001130fcfa0 AsyncHTTPClientTests`@objc closure #2 (Swift.Optional<Swift.UnsafeMutableRawPointer>, Swift.Int) -> Swift.Optional<Swift.UnsafeMutableRawPointer> in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, free = 0x00000001130fcff0 AsyncHTTPClientTests`@objc closure #3 (Swift.Optional<Swift.UnsafeMutableRawPointer>) -> () in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, memcpy = 0x00000001130fd060 AsyncHTTPClientTests`@objc closure #4 (Swift.UnsafeMutableRawPointer, Swift.UnsafeRawPointer, Swift.Int) -> () in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>)
                            interestedEvent = (rawValue = 9)
                            lifecycleManager = {
                              eventLoop = 0x0000000100e1b2b0 {...}
                              isActiveAtomic = 0x0000000100b1ebf0 {...}
                              hasSeenEOFNotification = false
                              currentState = fullyRegistered
                            }
                            bufferAllocator = (malloc = 0x00000001130fcf30 AsyncHTTPClientTests`@objc closure #1 (Swift.Int) -> Swift.Optional<Swift.UnsafeMutableRawPointer> in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, realloc = 0x00000001130fcfa0 AsyncHTTPClientTests`@objc closure #2 (Swift.Optional<Swift.UnsafeMutableRawPointer>, Swift.Int) -> Swift.Optional<Swift.UnsafeMutableRawPointer> in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, free = 0x00000001130fcff0 AsyncHTTPClientTests`@objc closure #3 (Swift.Optional<Swift.UnsafeMutableRawPointer>) -> () in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, memcpy = 0x00000001130fd060 AsyncHTTPClientTests`@objc closure #4 (Swift.UnsafeMutableRawPointer, Swift.UnsafeRawPointer, Swift.Int) -> () in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>)
                          }
                          connectTimeoutScheduled = nil
                          allowRemoteHalfClosure = false
                          inputShutdown = false
                          outputShutdown = false
                          pendingWrites = 0x0000000100b1ee20 {
                            state = {
                              pendingWrites = {
                                _buffer = {
                                  _buffer = {
                                    _buffer = {
                                      _storage = 16 values {
                                        [0] = 0x000000011376e0e8
                                        [1] = 0x000000011376e0e8
                                        [2] = 0x000000011376e0e8
                                        [3] = 0x000000011376e0e8
                                        [4] = 0x000000011376e0e8
                                        [5] = 0x000000011376e0e8
                                        [6] = 0x000000011376e0e8
                                        [7] = 0x000000011376e0e8
                                        [8] = 0x000000011376e0e8
                                        [9] = 0x000000011376e0e8
                                        [10] = 0x000000011376e0e8
                                        [11] = 0x000000011376e0e8
                                        [12] = 0x000000011376e0e8
                                        [13] = 0x000000011376e0e8
                                        [14] = 0x000000011376e0e8
                                        [15] = 0x000000011376e0e8
                                      }
                                    }
                                  }
                                  headBackingIndex = 0
                                  tailBackingIndex = 0
                                }
                                _markedIndexOffset = nil
                              }
                              bytes = 0
                            }
                            iovecs = (_position = 0x000000010601a400, count = 1024)
                            storageRefs = (_position = 0x000000010601e400, count = 1024)
                            waterMark = (low = 32768, high = 65536)
                            channelWritabilityFlag = 0x0000000100b1f0d0 {}
                            writeSpinCount = 16
                            isOpen = true
                          }
                        }
                        connectTimeout = nil
                      }
                    }
                    _addressCache = {
                      local = v6 {
                        v6 = {
                          _storage = 0x4000000100b1f4e0 {...}
                        }
                      }
                      remote = nil
                    }
                    _bufferAllocatorCache = (malloc = 0x00000001130fcf30 AsyncHTTPClientTests`@objc closure #1 (Swift.Int) -> Swift.Optional<Swift.UnsafeMutableRawPointer> in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, realloc = 0x00000001130fcfa0 AsyncHTTPClientTests`@objc closure #2 (Swift.Optional<Swift.UnsafeMutableRawPointer>, Swift.Int) -> Swift.Optional<Swift.UnsafeMutableRawPointer> in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, free = 0x00000001130fcff0 AsyncHTTPClientTests`@objc closure #3 (Swift.Optional<Swift.UnsafeMutableRawPointer>) -> () in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, memcpy = 0x00000001130fd060 AsyncHTTPClientTests`@objc closure #4 (Swift.UnsafeMutableRawPointer, Swift.UnsafeRawPointer, Swift.Int) -> () in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>)
                    interestedEvent = (rawValue = 9)
                    lifecycleManager = {
                      eventLoop = 0x0000000100e1b2b0 {...}
                      isActiveAtomic = 0x0000000100b1ebf0 {...}
                      hasSeenEOFNotification = false
                      currentState = fullyRegistered
                    }
                    bufferAllocator = (malloc = 0x00000001130fcf30 AsyncHTTPClientTests`@objc closure #1 (Swift.Int) -> Swift.Optional<Swift.UnsafeMutableRawPointer> in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, realloc = 0x00000001130fcfa0 AsyncHTTPClientTests`@objc closure #2 (Swift.Optional<Swift.UnsafeMutableRawPointer>, Swift.Int) -> Swift.Optional<Swift.UnsafeMutableRawPointer> in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, free = 0x00000001130fcff0 AsyncHTTPClientTests`@objc closure #3 (Swift.Optional<Swift.UnsafeMutableRawPointer>) -> () in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, memcpy = 0x00000001130fd060 AsyncHTTPClientTests`@objc closure #4 (Swift.UnsafeMutableRawPointer, Swift.UnsafeRawPointer, Swift.Int) -> () in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>)
                  }
                  connectTimeoutScheduled = nil
                  allowRemoteHalfClosure = false
                  inputShutdown = false
                  outputShutdown = false
                  pendingWrites = 0x0000000100b1ee20 {...}
                }
                connectTimeout = nil
              }
              1 = (rawValue = 9)
            }
          }
        }
        [3] = {
          key = 19
          value = socketChannel {
            socketChannel = {
              0 = 0x4000000100c1e5d0 {
                NIO.BaseStreamSocketChannel = {
                  NIO.BaseSocketChannel = {
                    parent = nil
                    socket = 0x0000000100c1e5b0 {
                      NIO.BaseSocket = {
                        descriptor = 19
                      }
                    }
                    closePromise = {
                      futureResult = 0x0000000100c1eae0 {
                        _value = nil
                        eventLoop = 0x0000000100e1b2b0 {...}
                        _callbacks = {
                          firstCallback = nil
                          furtherCallbacks = nil
                        }
                      }
                    }
                    selectableEventLoop = 0x0000000100e1b2b0 {...}
                    _offEventLoopLock = 0x0000000100c1ea40 (mutex = 0x0000000100c1ea60)
                    isActiveAtomic = 0x0000000100c1eaa0 {}
                    socketDescription = "BaseSocket { fd=19 }"
                    readPending = false
                    pendingConnect = some {
                      futureResult = 0x0000000100c1ebc0 {
                        _value = nil
                        eventLoop = 0x0000000100e1b2b0 {...}
                        _callbacks = {
                          firstCallback = 0x0000000113183e60 AsyncHTTPClientTests`partial apply forwarder for closure #1 () -> NIO.CallbackList in NIO.EventLoopFuture.whenSuccess((A) -> ()) -> () at <compiler-generated>
                          furtherCallbacks = 1 value {
                            [0] = 0x0000000113178590 AsyncHTTPClientTests`partial apply forwarder for reabstraction thunk helper from @escaping @callee_guaranteed () -> (@owned NIO.CallbackList) to @escaping @callee_guaranteed () -> (@out NIO.CallbackList) at <compiler-generated>
                          }
                        }
                      }
                    }
                    recvAllocator = {
                      minIndex = 3
                      maxIndex = 38
                      minimum = 64
                      maximum = 65536
                      initial = 1024
                      index = 32
                      nextReceiveBufferSize = 1024
                      decreaseNow = false
                    }
                    maxMessagesPerRead = 4
                    inFlushNow = false
                    autoRead = true
                    _pipeline = 0x0000000100c1ec60 {
                      head = 0x0000000100c1ecb0 {
                        next = 0x0000000100c1ed10 {
                          next = nil
                          prev = 0x0000000100c1ecb0 {...}
                          pipeline = 0x0000000100c1ec60 {...}
                          name = "tail"
                          inboundHandler = 0x0000000100b107b0 {...}
                          outboundHandler = nil
                          removeHandlerInvoked = false
                          userTriggeredRemovalStarted = false
                        }
                        prev = nil
                        pipeline = 0x0000000100c1ec60 {...}
                        name = "head"
                        inboundHandler = nil
                        outboundHandler = 0x0000000100b11490 {...}
                        removeHandlerInvoked = false
                        userTriggeredRemovalStarted = false
                      }
                      tail = 0x0000000100c1ed10 {...}
                      idx = 0
                      destroyed = false
                      eventLoop = 0x0000000100e1b2b0 {...}
                      _channel = 0x0000000100c1e5d0 {
                        NIO.BaseStreamSocketChannel = {
                          NIO.BaseSocketChannel = {
                            parent = nil
                            socket = 0x0000000100c1e5b0 {...}
                            closePromise = {
                              futureResult = 0x0000000100c1eae0 {...}
                            }
                            selectableEventLoop = 0x0000000100e1b2b0 {...}
                            _offEventLoopLock = 0x0000000100c1ea40 {...}
                            isActiveAtomic = 0x0000000100c1eaa0 {...}
                            socketDescription = "BaseSocket { fd=19 }"
                            readPending = false
                            pendingConnect = some {
                              futureResult = 0x0000000100c1ebc0 {...}
                            }
                            recvAllocator = {
                              minIndex = 3
                              maxIndex = 38
                              minimum = 64
                              maximum = 65536
                              initial = 1024
                              index = 32
                              nextReceiveBufferSize = 1024
                              decreaseNow = false
                            }
                            maxMessagesPerRead = 4
                            inFlushNow = false
                            autoRead = true
                            _pipeline = 0x0000000100c1ec60 {...}
                            _addressCache = {
                              local = v6 {
                                v6 = {
                                  _storage = 0x4000000100c1ee50 {
                                    value = {
                                      address = {
                                        sin6_len = 28
                                        sin6_family = 30
                                        sin6_port = 47566
                                        sin6_flowinfo = 0
                                        sin6_addr = {
                                          __u6_addr = {
                                            __u6_addr8 = (0 = 0, 1 = 0, 2 = 0, 3 = 0, 4 = 0, 5 = 0, 6 = 0, 7 = 0, 8 = 0, 9 = 0, 10 = 0, 11 = 0, 12 = 0, 13 = 0, 14 = 0, 15 = 1)
                                            __u6_addr16 = (0 = 0, 1 = 0, 2 = 0, 3 = 0, 4 = 0, 5 = 0, 6 = 0, 7 = 256)
                                            __u6_addr32 = (0 = 0, 1 = 0, 2 = 0, 3 = 16777216)
                                          }
                                        }
                                        sin6_scope_id = 0
                                      }
                                      host = "::1"
                                    }
                                  }
                                }
                              }
                              remote = nil
                            }
                            _bufferAllocatorCache = (malloc = 0x00000001130fcf30 AsyncHTTPClientTests`@objc closure #1 (Swift.Int) -> Swift.Optional<Swift.UnsafeMutableRawPointer> in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, realloc = 0x00000001130fcfa0 AsyncHTTPClientTests`@objc closure #2 (Swift.Optional<Swift.UnsafeMutableRawPointer>, Swift.Int) -> Swift.Optional<Swift.UnsafeMutableRawPointer> in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, free = 0x00000001130fcff0 AsyncHTTPClientTests`@objc closure #3 (Swift.Optional<Swift.UnsafeMutableRawPointer>) -> () in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, memcpy = 0x00000001130fd060 AsyncHTTPClientTests`@objc closure #4 (Swift.UnsafeMutableRawPointer, Swift.UnsafeRawPointer, Swift.Int) -> () in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>)
                            interestedEvent = (rawValue = 9)
                            lifecycleManager = {
                              eventLoop = 0x0000000100e1b2b0 {...}
                              isActiveAtomic = 0x0000000100c1eaa0 {...}
                              hasSeenEOFNotification = false
                              currentState = fullyRegistered
                            }
                            bufferAllocator = (malloc = 0x00000001130fcf30 AsyncHTTPClientTests`@objc closure #1 (Swift.Int) -> Swift.Optional<Swift.UnsafeMutableRawPointer> in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, realloc = 0x00000001130fcfa0 AsyncHTTPClientTests`@objc closure #2 (Swift.Optional<Swift.UnsafeMutableRawPointer>, Swift.Int) -> Swift.Optional<Swift.UnsafeMutableRawPointer> in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, free = 0x00000001130fcff0 AsyncHTTPClientTests`@objc closure #3 (Swift.Optional<Swift.UnsafeMutableRawPointer>) -> () in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, memcpy = 0x00000001130fd060 AsyncHTTPClientTests`@objc closure #4 (Swift.UnsafeMutableRawPointer, Swift.UnsafeRawPointer, Swift.Int) -> () in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>)
                          }
                          connectTimeoutScheduled = nil
                          allowRemoteHalfClosure = false
                          inputShutdown = false
                          outputShutdown = false
                          pendingWrites = 0x0000000100c1e770 {
                            state = {
                              pendingWrites = {
                                _buffer = {
                                  _buffer = {
                                    _buffer = {
                                      _storage = 16 values {
                                        [0] = 0x000000011376e0e8
                                        [1] = 0x000000011376e0e8
                                        [2] = 0x000000011376e0e8
                                        [3] = 0x000000011376e0e8
                                        [4] = 0x000000011376e0e8
                                        [5] = 0x000000011376e0e8
                                        [6] = 0x000000011376e0e8
                                        [7] = 0x000000011376e0e8
                                        [8] = 0x000000011376e0e8
                                        [9] = 0x000000011376e0e8
                                        [10] = 0x000000011376e0e8
                                        [11] = 0x000000011376e0e8
                                        [12] = 0x000000011376e0e8
                                        [13] = 0x000000011376e0e8
                                        [14] = 0x000000011376e0e8
                                        [15] = 0x000000011376e0e8
                                      }
                                    }
                                  }
                                  headBackingIndex = 0
                                  tailBackingIndex = 0
                                }
                                _markedIndexOffset = nil
                              }
                              bytes = 0
                            }
                            iovecs = (_position = 0x000000010601a400, count = 1024)
                            storageRefs = (_position = 0x000000010601e400, count = 1024)
                            waterMark = (low = 32768, high = 65536)
                            channelWritabilityFlag = 0x0000000100c1ea20 {}
                            writeSpinCount = 16
                            isOpen = true
                          }
                        }
                        connectTimeout = nil
                      }
                    }
                    _addressCache = {
                      local = v6 {
                        v6 = {
                          _storage = 0x4000000100c1ee50 {...}
                        }
                      }
                      remote = nil
                    }
                    _bufferAllocatorCache = (malloc = 0x00000001130fcf30 AsyncHTTPClientTests`@objc closure #1 (Swift.Int) -> Swift.Optional<Swift.UnsafeMutableRawPointer> in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, realloc = 0x00000001130fcfa0 AsyncHTTPClientTests`@objc closure #2 (Swift.Optional<Swift.UnsafeMutableRawPointer>, Swift.Int) -> Swift.Optional<Swift.UnsafeMutableRawPointer> in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, free = 0x00000001130fcff0 AsyncHTTPClientTests`@objc closure #3 (Swift.Optional<Swift.UnsafeMutableRawPointer>) -> () in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, memcpy = 0x00000001130fd060 AsyncHTTPClientTests`@objc closure #4 (Swift.UnsafeMutableRawPointer, Swift.UnsafeRawPointer, Swift.Int) -> () in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>)
                    interestedEvent = (rawValue = 9)
                    lifecycleManager = {
                      eventLoop = 0x0000000100e1b2b0 {...}
                      isActiveAtomic = 0x0000000100c1eaa0 {...}
                      hasSeenEOFNotification = false
                      currentState = fullyRegistered
                    }
                    bufferAllocator = (malloc = 0x00000001130fcf30 AsyncHTTPClientTests`@objc closure #1 (Swift.Int) -> Swift.Optional<Swift.UnsafeMutableRawPointer> in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, realloc = 0x00000001130fcfa0 AsyncHTTPClientTests`@objc closure #2 (Swift.Optional<Swift.UnsafeMutableRawPointer>, Swift.Int) -> Swift.Optional<Swift.UnsafeMutableRawPointer> in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, free = 0x00000001130fcff0 AsyncHTTPClientTests`@objc closure #3 (Swift.Optional<Swift.UnsafeMutableRawPointer>) -> () in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, memcpy = 0x00000001130fd060 AsyncHTTPClientTests`@objc closure #4 (Swift.UnsafeMutableRawPointer, Swift.UnsafeRawPointer, Swift.Int) -> () in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>)
                  }
                  connectTimeoutScheduled = nil
                  allowRemoteHalfClosure = false
                  inputShutdown = false
                  outputShutdown = false
                  pendingWrites = 0x0000000100c1e770 {...}
                }
                connectTimeout = nil
              }
              1 = (rawValue = 9)
            }
          }
        }
        [4] = {
          key = 20
          value = socketChannel {
            socketChannel = {
              0 = 0x400000010285c610 {
                NIO.BaseStreamSocketChannel = {
                  NIO.BaseSocketChannel = {
                    parent = nil
                    socket = 0x000000010286c390 {
                      NIO.BaseSocket = {
                        descriptor = 20
                      }
                    }
                    closePromise = {
                      futureResult = 0x000000010284a2d0 {
                        _value = nil
                        eventLoop = 0x0000000100e1b2b0 {...}
                        _callbacks = {
                          firstCallback = nil
                          furtherCallbacks = nil
                        }
                      }
                    }
                    selectableEventLoop = 0x0000000100e1b2b0 {...}
                    _offEventLoopLock = 0x000000010284eb00 (mutex = 0x0000000102874360)
                    isActiveAtomic = 0x000000010285c760 {}
                    socketDescription = "BaseSocket { fd=20 }"
                    readPending = false
                    pendingConnect = some {
                      futureResult = 0x0000000102983280 {
                        _value = nil
                        eventLoop = 0x0000000100e1b2b0 {...}
                        _callbacks = {
                          firstCallback = 0x0000000113183e60 AsyncHTTPClientTests`partial apply forwarder for closure #1 () -> NIO.CallbackList in NIO.EventLoopFuture.whenSuccess((A) -> ()) -> () at <compiler-generated>
                          furtherCallbacks = 1 value {
                            [0] = 0x0000000113178590 AsyncHTTPClientTests`partial apply forwarder for reabstraction thunk helper from @escaping @callee_guaranteed () -> (@owned NIO.CallbackList) to @escaping @callee_guaranteed () -> (@out NIO.CallbackList) at <compiler-generated>
                          }
                        }
                      }
                    }
                    recvAllocator = {
                      minIndex = 3
                      maxIndex = 38
                      minimum = 64
                      maximum = 65536
                      initial = 1024
                      index = 32
                      nextReceiveBufferSize = 1024
                      decreaseNow = false
                    }
                    maxMessagesPerRead = 4
                    inFlushNow = false
                    autoRead = true
                    _pipeline = 0x000000010287b370 {
                      head = 0x000000010287b3c0 {
                        next = 0x000000010286e4e0 {
                          next = nil
                          prev = 0x000000010287b3c0 {...}
                          pipeline = 0x000000010287b370 {...}
                          name = "tail"
                          inboundHandler = 0x0000000100b107b0 {...}
                          outboundHandler = nil
                          removeHandlerInvoked = false
                          userTriggeredRemovalStarted = false
                        }
                        prev = nil
                        pipeline = 0x000000010287b370 {...}
                        name = "head"
                        inboundHandler = nil
                        outboundHandler = 0x0000000100b11490 {...}
                        removeHandlerInvoked = false
                        userTriggeredRemovalStarted = false
                      }
                      tail = 0x000000010286e4e0 {...}
                      idx = 0
                      destroyed = false
                      eventLoop = 0x0000000100e1b2b0 {...}
                      _channel = 0x000000010285c610 {
                        NIO.BaseStreamSocketChannel = {
                          NIO.BaseSocketChannel = {
                            parent = nil
                            socket = 0x000000010286c390 {...}
                            closePromise = {
                              futureResult = 0x000000010284a2d0 {...}
                            }
                            selectableEventLoop = 0x0000000100e1b2b0 {...}
                            _offEventLoopLock = 0x000000010284eb00 {...}
                            isActiveAtomic = 0x000000010285c760 {...}
                            socketDescription = "BaseSocket { fd=20 }"
                            readPending = false
                            pendingConnect = some {
                              futureResult = 0x0000000102983280 {...}
                            }
                            recvAllocator = {
                              minIndex = 3
                              maxIndex = 38
                              minimum = 64
                              maximum = 65536
                              initial = 1024
                              index = 32
                              nextReceiveBufferSize = 1024
                              decreaseNow = false
                            }
                            maxMessagesPerRead = 4
                            inFlushNow = false
                            autoRead = true
                            _pipeline = 0x000000010287b370 {...}
                            _addressCache = {
                              local = v6 {
                                v6 = {
                                  _storage = 0x40000001029871a0 {
                                    value = {
                                      address = {
                                        sin6_len = 28
                                        sin6_family = 30
                                        sin6_port = 47822
                                        sin6_flowinfo = 0
                                        sin6_addr = {
                                          __u6_addr = {
                                            __u6_addr8 = (0 = 0, 1 = 0, 2 = 0, 3 = 0, 4 = 0, 5 = 0, 6 = 0, 7 = 0, 8 = 0, 9 = 0, 10 = 0, 11 = 0, 12 = 0, 13 = 0, 14 = 0, 15 = 1)
                                            __u6_addr16 = (0 = 0, 1 = 0, 2 = 0, 3 = 0, 4 = 0, 5 = 0, 6 = 0, 7 = 256)
                                            __u6_addr32 = (0 = 0, 1 = 0, 2 = 0, 3 = 16777216)
                                          }
                                        }
                                        sin6_scope_id = 0
                                      }
                                      host = "::1"
                                    }
                                  }
                                }
                              }
                              remote = nil
                            }
                            _bufferAllocatorCache = (malloc = 0x00000001130fcf30 AsyncHTTPClientTests`@objc closure #1 (Swift.Int) -> Swift.Optional<Swift.UnsafeMutableRawPointer> in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, realloc = 0x00000001130fcfa0 AsyncHTTPClientTests`@objc closure #2 (Swift.Optional<Swift.UnsafeMutableRawPointer>, Swift.Int) -> Swift.Optional<Swift.UnsafeMutableRawPointer> in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, free = 0x00000001130fcff0 AsyncHTTPClientTests`@objc closure #3 (Swift.Optional<Swift.UnsafeMutableRawPointer>) -> () in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, memcpy = 0x00000001130fd060 AsyncHTTPClientTests`@objc closure #4 (Swift.UnsafeMutableRawPointer, Swift.UnsafeRawPointer, Swift.Int) -> () in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>)
                            interestedEvent = (rawValue = 9)
                            lifecycleManager = {
                              eventLoop = 0x0000000100e1b2b0 {...}
                              isActiveAtomic = 0x000000010285c760 {...}
                              hasSeenEOFNotification = false
                              currentState = fullyRegistered
                            }
                            bufferAllocator = (malloc = 0x00000001130fcf30 AsyncHTTPClientTests`@objc closure #1 (Swift.Int) -> Swift.Optional<Swift.UnsafeMutableRawPointer> in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, realloc = 0x00000001130fcfa0 AsyncHTTPClientTests`@objc closure #2 (Swift.Optional<Swift.UnsafeMutableRawPointer>, Swift.Int) -> Swift.Optional<Swift.UnsafeMutableRawPointer> in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, free = 0x00000001130fcff0 AsyncHTTPClientTests`@objc closure #3 (Swift.Optional<Swift.UnsafeMutableRawPointer>) -> () in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, memcpy = 0x00000001130fd060 AsyncHTTPClientTests`@objc closure #4 (Swift.UnsafeMutableRawPointer, Swift.UnsafeRawPointer, Swift.Int) -> () in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>)
                          }
                          connectTimeoutScheduled = nil
                          allowRemoteHalfClosure = false
                          inputShutdown = false
                          outputShutdown = false
                          pendingWrites = 0x000000010287b2e0 {
                            state = {
                              pendingWrites = {
                                _buffer = {
                                  _buffer = {
                                    _buffer = {
                                      _storage = 16 values {
                                        [0] = 0x000000011376e0e8
                                        [1] = 0x000000011376e0e8
                                        [2] = 0x000000011376e0e8
                                        [3] = 0x000000011376e0e8
                                        [4] = 0x000000011376e0e8
                                        [5] = 0x000000011376e0e8
                                        [6] = 0x000000011376e0e8
                                        [7] = 0x000000011376e0e8
                                        [8] = 0x000000011376e0e8
                                        [9] = 0x000000011376e0e8
                                        [10] = 0x000000011376e0e8
                                        [11] = 0x000000011376e0e8
                                        [12] = 0x000000011376e0e8
                                        [13] = 0x000000011376e0e8
                                        [14] = 0x000000011376e0e8
                                        [15] = 0x000000011376e0e8
                                      }
                                    }
                                  }
                                  headBackingIndex = 0
                                  tailBackingIndex = 0
                                }
                                _markedIndexOffset = nil
                              }
                              bytes = 0
                            }
                            iovecs = (_position = 0x000000010601a400, count = 1024)
                            storageRefs = (_position = 0x000000010601e400, count = 1024)
                            waterMark = (low = 32768, high = 65536)
                            channelWritabilityFlag = 0x0000000102875400 {}
                            writeSpinCount = 16
                            isOpen = true
                          }
                        }
                        connectTimeout = nil
                      }
                    }
                    _addressCache = {
                      local = v6 {
                        v6 = {
                          _storage = 0x40000001029871a0 {...}
                        }
                      }
                      remote = nil
                    }
                    _bufferAllocatorCache = (malloc = 0x00000001130fcf30 AsyncHTTPClientTests`@objc closure #1 (Swift.Int) -> Swift.Optional<Swift.UnsafeMutableRawPointer> in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, realloc = 0x00000001130fcfa0 AsyncHTTPClientTests`@objc closure #2 (Swift.Optional<Swift.UnsafeMutableRawPointer>, Swift.Int) -> Swift.Optional<Swift.UnsafeMutableRawPointer> in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, free = 0x00000001130fcff0 AsyncHTTPClientTests`@objc closure #3 (Swift.Optional<Swift.UnsafeMutableRawPointer>) -> () in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, memcpy = 0x00000001130fd060 AsyncHTTPClientTests`@objc closure #4 (Swift.UnsafeMutableRawPointer, Swift.UnsafeRawPointer, Swift.Int) -> () in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>)
                    interestedEvent = (rawValue = 9)
                    lifecycleManager = {
                      eventLoop = 0x0000000100e1b2b0 {...}
                      isActiveAtomic = 0x000000010285c760 {...}
                      hasSeenEOFNotification = false
                      currentState = fullyRegistered
                    }
                    bufferAllocator = (malloc = 0x00000001130fcf30 AsyncHTTPClientTests`@objc closure #1 (Swift.Int) -> Swift.Optional<Swift.UnsafeMutableRawPointer> in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, realloc = 0x00000001130fcfa0 AsyncHTTPClientTests`@objc closure #2 (Swift.Optional<Swift.UnsafeMutableRawPointer>, Swift.Int) -> Swift.Optional<Swift.UnsafeMutableRawPointer> in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, free = 0x00000001130fcff0 AsyncHTTPClientTests`@objc closure #3 (Swift.Optional<Swift.UnsafeMutableRawPointer>) -> () in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, memcpy = 0x00000001130fd060 AsyncHTTPClientTests`@objc closure #4 (Swift.UnsafeMutableRawPointer, Swift.UnsafeRawPointer, Swift.Int) -> () in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>)
                  }
                  connectTimeoutScheduled = nil
                  allowRemoteHalfClosure = false
                  inputShutdown = false
                  outputShutdown = false
                  pendingWrites = 0x000000010287b2e0 {...}
                }
                connectTimeout = nil
              }
              1 = (rawValue = 9)
            }
          }
        }
        [5] = {
          key = 14
          value = socketChannel {
            socketChannel = {
              0 = 0x4000000100e22520 {
                NIO.BaseStreamSocketChannel = {
                  NIO.BaseSocketChannel = {
                    parent = nil
                    socket = 0x0000000100e22670 {
                      NIO.BaseSocket = {
                        descriptor = 14
                      }
                    }
                    closePromise = {
                      futureResult = 0x0000000100e228d0 {
                        _value = nil
                        eventLoop = 0x0000000100e1b2b0 {...}
                        _callbacks = {
                          firstCallback = nil
                          furtherCallbacks = nil
                        }
                      }
                    }
                    selectableEventLoop = 0x0000000100e1b2b0 {...}
                    _offEventLoopLock = 0x0000000100e22ac0 (mutex = 0x0000000100e20330)
                    isActiveAtomic = 0x0000000100e22270 {}
                    socketDescription = "BaseSocket { fd=14 }"
                    readPending = false
                    pendingConnect = some {
                      futureResult = 0x0000000100e21240 {
                        _value = nil
                        eventLoop = 0x0000000100e1b2b0 {...}
                        _callbacks = {
                          firstCallback = 0x0000000113183e60 AsyncHTTPClientTests`partial apply forwarder for closure #1 () -> NIO.CallbackList in NIO.EventLoopFuture.whenSuccess((A) -> ()) -> () at <compiler-generated>
                          furtherCallbacks = 1 value {
                            [0] = 0x0000000113178590 AsyncHTTPClientTests`partial apply forwarder for reabstraction thunk helper from @escaping @callee_guaranteed () -> (@owned NIO.CallbackList) to @escaping @callee_guaranteed () -> (@out NIO.CallbackList) at <compiler-generated>
                          }
                        }
                      }
                    }
                    recvAllocator = {
                      minIndex = 3
                      maxIndex = 38
                      minimum = 64
                      maximum = 65536
                      initial = 1024
                      index = 32
                      nextReceiveBufferSize = 1024
                      decreaseNow = false
                    }
                    maxMessagesPerRead = 4
                    inFlushNow = false
                    autoRead = true
                    _pipeline = 0x0000000100e21ef0 {
                      head = 0x0000000100e21180 {
                        next = 0x0000000100e211e0 {
                          next = nil
                          prev = 0x0000000100e21180 {...}
                          pipeline = 0x0000000100e21ef0 {...}
                          name = "tail"
                          inboundHandler = 0x0000000100b107b0 {...}
                          outboundHandler = nil
                          removeHandlerInvoked = false
                          userTriggeredRemovalStarted = false
                        }
                        prev = nil
                        pipeline = 0x0000000100e21ef0 {...}
                        name = "head"
                        inboundHandler = nil
                        outboundHandler = 0x0000000100b11490 {...}
                        removeHandlerInvoked = false
                        userTriggeredRemovalStarted = false
                      }
                      tail = 0x0000000100e211e0 {...}
                      idx = 0
                      destroyed = false
                      eventLoop = 0x0000000100e1b2b0 {...}
                      _channel = 0x0000000100e22520 {
                        NIO.BaseStreamSocketChannel = {
                          NIO.BaseSocketChannel = {
                            parent = nil
                            socket = 0x0000000100e22670 {...}
                            closePromise = {
                              futureResult = 0x0000000100e228d0 {...}
                            }
                            selectableEventLoop = 0x0000000100e1b2b0 {...}
                            _offEventLoopLock = 0x0000000100e22ac0 {...}
                            isActiveAtomic = 0x0000000100e22270 {...}
                            socketDescription = "BaseSocket { fd=14 }"
                            readPending = false
                            pendingConnect = some {
                              futureResult = 0x0000000100e21240 {...}
                            }
                            recvAllocator = {
                              minIndex = 3
                              maxIndex = 38
                              minimum = 64
                              maximum = 65536
                              initial = 1024
                              index = 32
                              nextReceiveBufferSize = 1024
                              decreaseNow = false
                            }
                            maxMessagesPerRead = 4
                            inFlushNow = false
                            autoRead = true
                            _pipeline = 0x0000000100e21ef0 {...}
                            _addressCache = {
                              local = v4 {
                                v4 = {
                                  _storage = 0x0000000100e203f0 {
                                    value = {
                                      address = {
                                        sin_len = 16
                                        sin_family = 2
                                        sin_port = 48078
                                        sin_addr = {
                                          s_addr = 16777343
                                        }
                                        sin_zero = (0 = 0, 1 = 0, 2 = 0, 3 = 0, 4 = 0, 5 = 0, 6 = 0, 7 = 0)
                                      }
                                      host = "127.0.0.1"
                                    }
                                  }
                                }
                              }
                              remote = nil
                            }
                            _bufferAllocatorCache = (malloc = 0x00000001130fcf30 AsyncHTTPClientTests`@objc closure #1 (Swift.Int) -> Swift.Optional<Swift.UnsafeMutableRawPointer> in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, realloc = 0x00000001130fcfa0 AsyncHTTPClientTests`@objc closure #2 (Swift.Optional<Swift.UnsafeMutableRawPointer>, Swift.Int) -> Swift.Optional<Swift.UnsafeMutableRawPointer> in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, free = 0x00000001130fcff0 AsyncHTTPClientTests`@objc closure #3 (Swift.Optional<Swift.UnsafeMutableRawPointer>) -> () in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, memcpy = 0x00000001130fd060 AsyncHTTPClientTests`@objc closure #4 (Swift.UnsafeMutableRawPointer, Swift.UnsafeRawPointer, Swift.Int) -> () in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>)
                            interestedEvent = (rawValue = 9)
                            lifecycleManager = {
                              eventLoop = 0x0000000100e1b2b0 {...}
                              isActiveAtomic = 0x0000000100e22270 {...}
                              hasSeenEOFNotification = false
                              currentState = fullyRegistered
                            }
                            bufferAllocator = (malloc = 0x00000001130fcf30 AsyncHTTPClientTests`@objc closure #1 (Swift.Int) -> Swift.Optional<Swift.UnsafeMutableRawPointer> in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, realloc = 0x00000001130fcfa0 AsyncHTTPClientTests`@objc closure #2 (Swift.Optional<Swift.UnsafeMutableRawPointer>, Swift.Int) -> Swift.Optional<Swift.UnsafeMutableRawPointer> in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, free = 0x00000001130fcff0 AsyncHTTPClientTests`@objc closure #3 (Swift.Optional<Swift.UnsafeMutableRawPointer>) -> () in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, memcpy = 0x00000001130fd060 AsyncHTTPClientTests`@objc closure #4 (Swift.UnsafeMutableRawPointer, Swift.UnsafeRawPointer, Swift.Int) -> () in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>)
                          }
                          connectTimeoutScheduled = nil
                          allowRemoteHalfClosure = false
                          inputShutdown = false
                          outputShutdown = false
                          pendingWrites = 0x0000000100e226e0 {
                            state = {
                              pendingWrites = {
                                _buffer = {
                                  _buffer = {
                                    _buffer = {
                                      _storage = 16 values {
                                        [0] = 0x000000011376e0e8
                                        [1] = 0x000000011376e0e8
                                        [2] = 0x000000011376e0e8
                                        [3] = 0x000000011376e0e8
                                        [4] = 0x000000011376e0e8
                                        [5] = 0x000000011376e0e8
                                        [6] = 0x000000011376e0e8
                                        [7] = 0x000000011376e0e8
                                        [8] = 0x000000011376e0e8
                                        [9] = 0x000000011376e0e8
                                        [10] = 0x000000011376e0e8
                                        [11] = 0x000000011376e0e8
                                        [12] = 0x000000011376e0e8
                                        [13] = 0x000000011376e0e8
                                        [14] = 0x000000011376e0e8
                                        [15] = 0x000000011376e0e8
                                      }
                                    }
                                  }
                                  headBackingIndex = 0
                                  tailBackingIndex = 0
                                }
                                _markedIndexOffset = nil
                              }
                              bytes = 0
                            }
                            iovecs = (_position = 0x000000010601a400, count = 1024)
                            storageRefs = (_position = 0x000000010601e400, count = 1024)
                            waterMark = (low = 32768, high = 65536)
                            channelWritabilityFlag = 0x0000000100e1fb40 {}
                            writeSpinCount = 16
                            isOpen = true
                          }
                        }
                        connectTimeout = nil
                      }
                    }
                    _addressCache = {
                      local = v4 {
                        v4 = {
                          _storage = 0x0000000100e203f0 {...}
                        }
                      }
                      remote = nil
                    }
                    _bufferAllocatorCache = (malloc = 0x00000001130fcf30 AsyncHTTPClientTests`@objc closure #1 (Swift.Int) -> Swift.Optional<Swift.UnsafeMutableRawPointer> in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, realloc = 0x00000001130fcfa0 AsyncHTTPClientTests`@objc closure #2 (Swift.Optional<Swift.UnsafeMutableRawPointer>, Swift.Int) -> Swift.Optional<Swift.UnsafeMutableRawPointer> in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, free = 0x00000001130fcff0 AsyncHTTPClientTests`@objc closure #3 (Swift.Optional<Swift.UnsafeMutableRawPointer>) -> () in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, memcpy = 0x00000001130fd060 AsyncHTTPClientTests`@objc closure #4 (Swift.UnsafeMutableRawPointer, Swift.UnsafeRawPointer, Swift.Int) -> () in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>)
                    interestedEvent = (rawValue = 9)
                    lifecycleManager = {
                      eventLoop = 0x0000000100e1b2b0 {...}
                      isActiveAtomic = 0x0000000100e22270 {...}
                      hasSeenEOFNotification = false
                      currentState = fullyRegistered
                    }
                    bufferAllocator = (malloc = 0x00000001130fcf30 AsyncHTTPClientTests`@objc closure #1 (Swift.Int) -> Swift.Optional<Swift.UnsafeMutableRawPointer> in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, realloc = 0x00000001130fcfa0 AsyncHTTPClientTests`@objc closure #2 (Swift.Optional<Swift.UnsafeMutableRawPointer>, Swift.Int) -> Swift.Optional<Swift.UnsafeMutableRawPointer> in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, free = 0x00000001130fcff0 AsyncHTTPClientTests`@objc closure #3 (Swift.Optional<Swift.UnsafeMutableRawPointer>) -> () in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, memcpy = 0x00000001130fd060 AsyncHTTPClientTests`@objc closure #4 (Swift.UnsafeMutableRawPointer, Swift.UnsafeRawPointer, Swift.Int) -> () in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>)
                  }
                  connectTimeoutScheduled = nil
                  allowRemoteHalfClosure = false
                  inputShutdown = false
                  outputShutdown = false
                  pendingWrites = 0x0000000100e226e0 {...}
                }
                connectTimeout = nil
              }
              1 = (rawValue = 9)
            }
          }
        }
        [6] = {
          key = 18
          value = socketChannel {
            socketChannel = {
              0 = 0x4000000100b1fb70 {
                NIO.BaseStreamSocketChannel = {
                  NIO.BaseSocketChannel = {
                    parent = nil
                    socket = 0x0000000100b1fcc0 {
                      NIO.BaseSocket = {
                        descriptor = 18
                      }
                    }
                    closePromise = {
                      futureResult = 0x0000000100b200a0 {
                        _value = nil
                        eventLoop = 0x0000000100e1b2b0 {...}
                        _callbacks = {
                          firstCallback = nil
                          furtherCallbacks = nil
                        }
                      }
                    }
                    selectableEventLoop = 0x0000000100e1b2b0 {...}
                    _offEventLoopLock = 0x0000000100b20000 (mutex = 0x0000000100b20020)
                    isActiveAtomic = 0x0000000100b20060 {}
                    socketDescription = "BaseSocket { fd=18 }"
                    readPending = false
                    pendingConnect = some {
                      futureResult = 0x0000000100b20180 {
                        _value = nil
                        eventLoop = 0x0000000100e1b2b0 {...}
                        _callbacks = {
                          firstCallback = 0x0000000113183e60 AsyncHTTPClientTests`partial apply forwarder for closure #1 () -> NIO.CallbackList in NIO.EventLoopFuture.whenSuccess((A) -> ()) -> () at <compiler-generated>
                          furtherCallbacks = 1 value {
                            [0] = 0x0000000113178590 AsyncHTTPClientTests`partial apply forwarder for reabstraction thunk helper from @escaping @callee_guaranteed () -> (@owned NIO.CallbackList) to @escaping @callee_guaranteed () -> (@out NIO.CallbackList) at <compiler-generated>
                          }
                        }
                      }
                    }
                    recvAllocator = {
                      minIndex = 3
                      maxIndex = 38
                      minimum = 64
                      maximum = 65536
                      initial = 1024
                      index = 32
                      nextReceiveBufferSize = 1024
                      decreaseNow = false
                    }
                    maxMessagesPerRead = 4
                    inFlushNow = false
                    autoRead = true
                    _pipeline = 0x0000000100b20220 {
                      head = 0x0000000100b20270 {
                        next = 0x0000000100b202d0 {
                          next = nil
                          prev = 0x0000000100b20270 {...}
                          pipeline = 0x0000000100b20220 {...}
                          name = "tail"
                          inboundHandler = 0x0000000100b107b0 {...}
                          outboundHandler = nil
                          removeHandlerInvoked = false
                          userTriggeredRemovalStarted = false
                        }
                        prev = nil
                        pipeline = 0x0000000100b20220 {...}
                        name = "head"
                        inboundHandler = nil
                        outboundHandler = 0x0000000100b11490 {...}
                        removeHandlerInvoked = false
                        userTriggeredRemovalStarted = false
                      }
                      tail = 0x0000000100b202d0 {...}
                      idx = 0
                      destroyed = false
                      eventLoop = 0x0000000100e1b2b0 {...}
                      _channel = 0x0000000100b1fb70 {
                        NIO.BaseStreamSocketChannel = {
                          NIO.BaseSocketChannel = {
                            parent = nil
                            socket = 0x0000000100b1fcc0 {...}
                            closePromise = {
                              futureResult = 0x0000000100b200a0 {...}
                            }
                            selectableEventLoop = 0x0000000100e1b2b0 {...}
                            _offEventLoopLock = 0x0000000100b20000 {...}
                            isActiveAtomic = 0x0000000100b20060 {...}
                            socketDescription = "BaseSocket { fd=18 }"
                            readPending = false
                            pendingConnect = some {
                              futureResult = 0x0000000100b20180 {...}
                            }
                            recvAllocator = {
                              minIndex = 3
                              maxIndex = 38
                              minimum = 64
                              maximum = 65536
                              initial = 1024
                              index = 32
                              nextReceiveBufferSize = 1024
                              decreaseNow = false
                            }
                            maxMessagesPerRead = 4
                            inFlushNow = false
                            autoRead = true
                            _pipeline = 0x0000000100b20220 {...}
                            _addressCache = {
                              local = v6 {
                                v6 = {
                                  _storage = 0x4000000100b20410 {
                                    value = {
                                      address = {
                                        sin6_len = 28
                                        sin6_family = 30
                                        sin6_port = 47310
                                        sin6_flowinfo = 0
                                        sin6_addr = {
                                          __u6_addr = {
                                            __u6_addr8 = (0 = 0, 1 = 0, 2 = 0, 3 = 0, 4 = 0, 5 = 0, 6 = 0, 7 = 0, 8 = 0, 9 = 0, 10 = 0, 11 = 0, 12 = 0, 13 = 0, 14 = 0, 15 = 1)
                                            __u6_addr16 = (0 = 0, 1 = 0, 2 = 0, 3 = 0, 4 = 0, 5 = 0, 6 = 0, 7 = 256)
                                            __u6_addr32 = (0 = 0, 1 = 0, 2 = 0, 3 = 16777216)
                                          }
                                        }
                                        sin6_scope_id = 0
                                      }
                                      host = "::1"
                                    }
                                  }
                                }
                              }
                              remote = nil
                            }
                            _bufferAllocatorCache = (malloc = 0x00000001130fcf30 AsyncHTTPClientTests`@objc closure #1 (Swift.Int) -> Swift.Optional<Swift.UnsafeMutableRawPointer> in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, realloc = 0x00000001130fcfa0 AsyncHTTPClientTests`@objc closure #2 (Swift.Optional<Swift.UnsafeMutableRawPointer>, Swift.Int) -> Swift.Optional<Swift.UnsafeMutableRawPointer> in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, free = 0x00000001130fcff0 AsyncHTTPClientTests`@objc closure #3 (Swift.Optional<Swift.UnsafeMutableRawPointer>) -> () in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, memcpy = 0x00000001130fd060 AsyncHTTPClientTests`@objc closure #4 (Swift.UnsafeMutableRawPointer, Swift.UnsafeRawPointer, Swift.Int) -> () in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>)
                            interestedEvent = (rawValue = 9)
                            lifecycleManager = {
                              eventLoop = 0x0000000100e1b2b0 {...}
                              isActiveAtomic = 0x0000000100b20060 {...}
                              hasSeenEOFNotification = false
                              currentState = fullyRegistered
                            }
                            bufferAllocator = (malloc = 0x00000001130fcf30 AsyncHTTPClientTests`@objc closure #1 (Swift.Int) -> Swift.Optional<Swift.UnsafeMutableRawPointer> in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, realloc = 0x00000001130fcfa0 AsyncHTTPClientTests`@objc closure #2 (Swift.Optional<Swift.UnsafeMutableRawPointer>, Swift.Int) -> Swift.Optional<Swift.UnsafeMutableRawPointer> in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, free = 0x00000001130fcff0 AsyncHTTPClientTests`@objc closure #3 (Swift.Optional<Swift.UnsafeMutableRawPointer>) -> () in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, memcpy = 0x00000001130fd060 AsyncHTTPClientTests`@objc closure #4 (Swift.UnsafeMutableRawPointer, Swift.UnsafeRawPointer, Swift.Int) -> () in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>)
                          }
                          connectTimeoutScheduled = nil
                          allowRemoteHalfClosure = false
                          inputShutdown = false
                          outputShutdown = false
                          pendingWrites = 0x0000000100b1fd30 {
                            state = {
                              pendingWrites = {
                                _buffer = {
                                  _buffer = {
                                    _buffer = {
                                      _storage = 16 values {
                                        [0] = 0x000000011376e0e8
                                        [1] = 0x000000011376e0e8
                                        [2] = 0x000000011376e0e8
                                        [3] = 0x000000011376e0e8
                                        [4] = 0x000000011376e0e8
                                        [5] = 0x000000011376e0e8
                                        [6] = 0x000000011376e0e8
                                        [7] = 0x000000011376e0e8
                                        [8] = 0x000000011376e0e8
                                        [9] = 0x000000011376e0e8
                                        [10] = 0x000000011376e0e8
                                        [11] = 0x000000011376e0e8
                                        [12] = 0x000000011376e0e8
                                        [13] = 0x000000011376e0e8
                                        [14] = 0x000000011376e0e8
                                        [15] = 0x000000011376e0e8
                                      }
                                    }
                                  }
                                  headBackingIndex = 0
                                  tailBackingIndex = 0
                                }
                                _markedIndexOffset = nil
                              }
                              bytes = 0
                            }
                            iovecs = (_position = 0x000000010601a400, count = 1024)
                            storageRefs = (_position = 0x000000010601e400, count = 1024)
                            waterMark = (low = 32768, high = 65536)
                            channelWritabilityFlag = 0x0000000100b1ffe0 {}
                            writeSpinCount = 16
                            isOpen = true
                          }
                        }
                        connectTimeout = nil
                      }
                    }
                    _addressCache = {
                      local = v6 {
                        v6 = {
                          _storage = 0x4000000100b20410 {...}
                        }
                      }
                      remote = nil
                    }
                    _bufferAllocatorCache = (malloc = 0x00000001130fcf30 AsyncHTTPClientTests`@objc closure #1 (Swift.Int) -> Swift.Optional<Swift.UnsafeMutableRawPointer> in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, realloc = 0x00000001130fcfa0 AsyncHTTPClientTests`@objc closure #2 (Swift.Optional<Swift.UnsafeMutableRawPointer>, Swift.Int) -> Swift.Optional<Swift.UnsafeMutableRawPointer> in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, free = 0x00000001130fcff0 AsyncHTTPClientTests`@objc closure #3 (Swift.Optional<Swift.UnsafeMutableRawPointer>) -> () in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, memcpy = 0x00000001130fd060 AsyncHTTPClientTests`@objc closure #4 (Swift.UnsafeMutableRawPointer, Swift.UnsafeRawPointer, Swift.Int) -> () in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>)
                    interestedEvent = (rawValue = 9)
                    lifecycleManager = {
                      eventLoop = 0x0000000100e1b2b0 {...}
                      isActiveAtomic = 0x0000000100b20060 {...}
                      hasSeenEOFNotification = false
                      currentState = fullyRegistered
                    }
                    bufferAllocator = (malloc = 0x00000001130fcf30 AsyncHTTPClientTests`@objc closure #1 (Swift.Int) -> Swift.Optional<Swift.UnsafeMutableRawPointer> in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, realloc = 0x00000001130fcfa0 AsyncHTTPClientTests`@objc closure #2 (Swift.Optional<Swift.UnsafeMutableRawPointer>, Swift.Int) -> Swift.Optional<Swift.UnsafeMutableRawPointer> in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, free = 0x00000001130fcff0 AsyncHTTPClientTests`@objc closure #3 (Swift.Optional<Swift.UnsafeMutableRawPointer>) -> () in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, memcpy = 0x00000001130fd060 AsyncHTTPClientTests`@objc closure #4 (Swift.UnsafeMutableRawPointer, Swift.UnsafeRawPointer, Swift.Int) -> () in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>)
                  }
                  connectTimeoutScheduled = nil
                  allowRemoteHalfClosure = false
                  inputShutdown = false
                  outputShutdown = false
                  pendingWrites = 0x0000000100b1fd30 {...}
                }
                connectTimeout = nil
              }
              1 = (rawValue = 9)
            }
          }
        }
      }
      deregistrationsHappened = true
      externalSelectorFDLock = 0x0000000100e1bf90 (mutex = 0x0000000100e1bf00)
      selectorFD = 9
      myThread = 0x0000000100e1b020 {
        desiredName = nil
        pthread = 0x000070000359d000
      }
    }
    thread = 0x0000000100e1af90 {
      desiredName = "NIO-ELT-2-#0"
      pthread = 0x000070000359d000
    }
    _scheduledTasks = {
      _heap = {
        type = minHeap
        storage = {
          _buffer = {
            _storage = 14 values {
              [0] = 0x0000000102987440
              [1] = 0x0000000102987440
              [2] = 0x0000000102987440
              [3] = 0x0000000102987440
              [4] = 0x0000000102987440
              [5] = 0x0000000102987440
              [6] = 0x0000000102987440
              [7] = 0x0000000102987440
              [8] = 0x0000000102987440
              [9] = 0x0000000102987440
              [10] = 0x0000000102987440
              [11] = 0x0000000102987440
              [12] = 0x0000000102987440
              [13] = 0x0000000102987440
            }
          }
        }
        comparator = 0x00000001131a41f0 AsyncHTTPClientTests`partial apply forwarder for dispatch thunk of static Swift.Comparable.< infix(A, A) -> Swift.Bool at <compiler-generated>
      }
    }
    tasksCopy = {
      _buffer = {
        _storage = 1 value {
          [0] = 0x00000001131f88b0
        }
      }
    }
    _tasksLock = 0x0000000100e1b4d0 (mutex = 0x0000000100e1b600)
    _externalStateLock = 0x0000000100e1c6a0 (mutex = 0x0000000100e1b3c0)
    internalState = runningAndAcceptingNewRegistrations
    externalState = open
    _iovecs = 0x000000010601a400
    _storageRefs = 0x000000010601e400
    iovecs = (_position = 0x000000010601a400, count = 1024)
    storageRefs = (_position = 0x000000010601e400, count = 1024)
    _msgs = 0x0000000108008000
    _addresses = 0x0000000108028000
    msgs = (_position = 0x0000000108008000, count = 1024)
    addresses = (_position = 0x0000000108028000, count = 1024)
    promiseCreationStoreLock = 0x0000000100e1c130 (mutex = 0x0000000100e1b6c0)
    _promiseCreationStore = 291 key/value pairs {
      [0] = {
        key = (_value = 0x0000000102872d00)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPHandler.swift", line = 504)
      }
      [1] = {
        key = (_value = 0x0000000100f054c0)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPHandler.swift", line = 504)
      }
      [2] = {
        key = (_value = 0x0000000102b0de90)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/ConnectionPool.swift", line = 550)
      }
      [3] = {
        key = (_value = 0x0000000102d05850)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPHandler.swift", line = 505)
      }
      [4] = {
        key = (_value = 0x0000000102984fc0)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/ConnectionPool.swift", line = 550)
      }
      [5] = {
        key = (_value = 0x0000000102982e60)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPHandler.swift", line = 505)
      }
      [6] = {
        key = (_value = 0x000000010286c2b0)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/ConnectionPool.swift", line = 393)
      }
      [7] = {
        key = (_value = 0x0000000102f05370)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPHandler.swift", line = 504)
      }
      [8] = {
        key = (_value = 0x0000000102b0c5d0)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPHandler.swift", line = 505)
      }
      [9] = {
        key = (_value = 0x0000000102e05500)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPHandler.swift", line = 504)
      }
      [10] = {
        key = (_value = 0x0000000100d06bd0)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPClient.swift", line = 322)
      }
      [11] = {
        key = (_value = 0x0000000100f05710)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPHandler.swift", line = 504)
      }
      [12] = {
        key = (_value = 0x00000001029827a0)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/ConnectionPool.swift", line = 373)
      }
      [13] = {
        key = (_value = 0x0000000102874bf0)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPHandler.swift", line = 505)
      }
      [14] = {
        key = (_value = 0x0000000102b0b350)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPHandler.swift", line = 504)
      }
      [15] = {
        key = (_value = 0x0000000102e05470)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPHandler.swift", line = 504)
      }
      [16] = {
        key = (_value = 0x0000000100c1ebc0)
        value = (file = "/Users/johannes/Library/Developer/Xcode/DerivedData/async-http-client-abnnkdvfpqtwubgyytmawfnihzlg/SourcePackages/checkouts/swift-nio/Sources/NIO/HappyEyeballs.swift", line = 542)
      }
      [17] = {
        key = (_value = 0x0000000100c189b0)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPHandler.swift", line = 505)
      }
      [18] = {
        key = (_value = 0x0000000102d04980)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPHandler.swift", line = 504)
      }
      [19] = {
        key = (_value = 0x0000000100b185d0)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPHandler.swift", line = 504)
      }
      [20] = {
        key = (_value = 0x0000000100d057b0)
        value = (file = "/Users/johannes/Library/Developer/Xcode/DerivedData/async-http-client-abnnkdvfpqtwubgyytmawfnihzlg/SourcePackages/checkouts/swift-nio/Sources/NIO/GetaddrinfoResolver.swift", line = 40)
      }
      [21] = {
        key = (_value = 0x0000000100c19090)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPHandler.swift", line = 505)
      }
      [22] = {
        key = (_value = 0x0000000102b0e160)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPClient.swift", line = 322)
      }
      [23] = {
        key = (_value = 0x0000000100f05930)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPHandler.swift", line = 504)
      }
      [24] = {
        key = (_value = 0x0000000100b1def0)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/ConnectionPool.swift", line = 550)
      }
      [25] = {
        key = (_value = 0x0000000100b18120)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPHandler.swift", line = 504)
      }
      [26] = {
        key = (_value = 0x0000000102e05770)
        value = (file = "/Users/johannes/Library/Developer/Xcode/DerivedData/async-http-client-abnnkdvfpqtwubgyytmawfnihzlg/SourcePackages/checkouts/swift-nio/Sources/NIO/HappyEyeballs.swift", line = 294)
      }
      [27] = {
        key = (_value = 0x0000000102e05cf0)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/ConnectionPool.swift", line = 550)
      }
      [28] = {
        key = (_value = 0x0000000100c1cde0)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/ConnectionPool.swift", line = 550)
      }
      [29] = {
        key = (_value = 0x0000000100e21ac0)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPClient.swift", line = 322)
      }
      [30] = {
        key = (_value = 0x0000000102c069e0)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPHandler.swift", line = 505)
      }
      [31] = {
        key = (_value = 0x0000000100c1d470)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPClient.swift", line = 322)
      }
      [32] = {
        key = (_value = 0x0000000100c1db30)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/ConnectionPool.swift", line = 550)
      }
      [33] = {
        key = (_value = 0x0000000102980f20)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPHandler.swift", line = 504)
      }
      [34] = {
        key = (_value = 0x000000010287af20)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPHandler.swift", line = 504)
      }
      [35] = {
        key = (_value = 0x0000000102d04a60)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPHandler.swift", line = 505)
      }
      [36] = {
        key = (_value = 0x0000000102987330)
        value = (file = "/Users/johannes/Library/Developer/Xcode/DerivedData/async-http-client-abnnkdvfpqtwubgyytmawfnihzlg/SourcePackages/checkouts/swift-nio/Sources/NIO/SelectableEventLoop.swift", line = 190)
      }
      [37] = {
        key = (_value = 0x00000001029867c0)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPClient.swift", line = 322)
      }
      [38] = {
        key = (_value = 0x0000000102f04f80)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPHandler.swift", line = 505)
      }
      [39] = {
        key = (_value = 0x0000000100c1eae0)
        value = (file = "/Users/johannes/Library/Developer/Xcode/DerivedData/async-http-client-abnnkdvfpqtwubgyytmawfnihzlg/SourcePackages/checkouts/swift-nio/Sources/NIO/BaseSocketChannel.swift", line = 445)
      }
      [40] = {
        key = (_value = 0x0000000100d051f0)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPHandler.swift", line = 504)
      }
      [41] = {
        key = (_value = 0x0000000100b18f50)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/ConnectionPool.swift", line = 373)
      }
      [42] = {
        key = (_value = 0x0000000100c1a250)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPHandler.swift", line = 504)
      }
      [43] = {
        key = (_value = 0x0000000100b18980)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPHandler.swift", line = 504)
      }
      [44] = {
        key = (_value = 0x0000000100b1f170)
        value = (file = "/Users/johannes/Library/Developer/Xcode/DerivedData/async-http-client-abnnkdvfpqtwubgyytmawfnihzlg/SourcePackages/checkouts/swift-nio/Sources/NIO/BaseSocketChannel.swift", line = 445)
      }
      [45] = {
        key = (_value = 0x0000000100f04c10)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPHandler.swift", line = 504)
      }
      [46] = {
        key = (_value = 0x0000000100e1f2d0)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPHandler.swift", line = 505)
      }
      [47] = {
        key = (_value = 0x0000000100d06fb0)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPClient.swift", line = 322)
      }
      [48] = {
        key = (_value = 0x0000000100f06770)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/ConnectionPool.swift", line = 550)
      }
      [49] = {
        key = (_value = 0x0000000102986200)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/ConnectionPool.swift", line = 550)
      }
      [50] = {
        key = (_value = 0x0000000100d069f0)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/ConnectionPool.swift", line = 550)
      }
      [51] = {
        key = (_value = 0x0000000100e221a0)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPClient.swift", line = 322)
      }
      [52] = {
        key = (_value = 0x0000000100d041b0)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPHandler.swift", line = 504)
      }
      [53] = {
        key = (_value = 0x0000000100e1dc10)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPHandler.swift", line = 504)
      }
      [54] = {
        key = (_value = 0x0000000102b09630)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPHandler.swift", line = 504)
      }
      [55] = {
        key = (_value = 0x0000000102d061e0)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/ConnectionPool.swift", line = 550)
      }
      [56] = {
        key = (_value = 0x0000000102e052e0)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPHandler.swift", line = 504)
      }
      [57] = {
        key = (_value = 0x0000000102c073f0)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPClient.swift", line = 322)
      }
      [58] = {
        key = (_value = 0x0000000102987d80)
        value = (file = "/Users/johannes/Library/Developer/Xcode/DerivedData/async-http-client-abnnkdvfpqtwubgyytmawfnihzlg/SourcePackages/checkouts/swift-nio/Sources/NIO/Bootstrap.swift", line = 588)
      }
      [59] = {
        key = (_value = 0x0000000102d05af0)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPHandler.swift", line = 504)
      }
      [60] = {
        key = (_value = 0x0000000102c06de0)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/ConnectionPool.swift", line = 385)
      }
      [61] = {
        key = (_value = 0x0000000102b0c970)
        value = (file = "/Users/johannes/Library/Developer/Xcode/DerivedData/async-http-client-abnnkdvfpqtwubgyytmawfnihzlg/SourcePackages/checkouts/swift-nio/Sources/NIO/HappyEyeballs.swift", line = 294)
      }
      [62] = {
        key = (_value = 0x0000000100f06d60)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPClient.swift", line = 322)
      }
      [63] = {
        key = (_value = 0x0000000100e21290)
        value = (file = "/Users/johannes/Library/Developer/Xcode/DerivedData/async-http-client-abnnkdvfpqtwubgyytmawfnihzlg/SourcePackages/checkouts/swift-nio/Sources/NIO/Bootstrap.swift", line = 588)
      }
      [64] = {
        key = (_value = 0x0000000102e04e50)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPHandler.swift", line = 504)
      }
      [65] = {
        key = (_value = 0x0000000100c20940)
        value = (file = "/Users/johannes/Library/Developer/Xcode/DerivedData/async-http-client-abnnkdvfpqtwubgyytmawfnihzlg/SourcePackages/checkouts/swift-nio/Sources/NIO/SelectableEventLoop.swift", line = 190)
      }
      [66] = {
        key = (_value = 0x0000000102981430)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPHandler.swift", line = 505)
      }
      [67] = {
        key = (_value = 0x0000000100b1dce0)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/ConnectionPool.swift", line = 550)
      }
      [68] = {
        key = (_value = 0x0000000102986c70)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/ConnectionPool.swift", line = 550)
      }
      [69] = {
        key = (_value = 0x0000000102d04ec0)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPHandler.swift", line = 505)
      }
      [70] = {
        key = (_value = 0x0000000100c1cbe0)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPClient.swift", line = 322)
      }
      [71] = {
        key = (_value = 0x0000000100e24120)
        value = (file = "/Users/johannes/Library/Developer/Xcode/DerivedData/async-http-client-abnnkdvfpqtwubgyytmawfnihzlg/SourcePackages/checkouts/swift-nio/Sources/NIO/HappyEyeballs.swift", line = 542)
      }
      [72] = {
        key = (_value = 0x0000000102981cc0)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPHandler.swift", line = 505)
      }
      [73] = {
        key = (_value = 0x0000000102c05950)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPHandler.swift", line = 504)
      }
      [74] = {
        key = (_value = 0x0000000102d04dc0)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPHandler.swift", line = 504)
      }
      [75] = {
        key = (_value = 0x0000000102b0f280)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPClient.swift", line = 322)
      }
      [76] = {
        key = (_value = 0x0000000102981de0)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPHandler.swift", line = 504)
      }
      [77] = {
        key = (_value = 0x0000000102f069c0)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/ConnectionPool.swift", line = 550)
      }
      [78] = {
        key = (_value = 0x0000000102b05260)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPHandler.swift", line = 505)
      }
      [79] = {
        key = (_value = 0x0000000102d063c0)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPClient.swift", line = 322)
      }
      [80] = {
        key = (_value = 0x0000000102d058e0)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPHandler.swift", line = 505)
      }
      [81] = {
        key = (_value = 0x0000000102e05040)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPHandler.swift", line = 504)
      }
      [82] = {
        key = (_value = 0x0000000102b0eab0)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/ConnectionPool.swift", line = 550)
      }
      [83] = {
        key = (_value = 0x0000000102982bf0)
        value = (file = "/Users/johannes/Library/Developer/Xcode/DerivedData/async-http-client-abnnkdvfpqtwubgyytmawfnihzlg/SourcePackages/checkouts/swift-nio/Sources/NIO/Bootstrap.swift", line = 588)
      }
      [84] = {
        key = (_value = 0x0000000102987a60)
        value = (file = "/Users/johannes/Library/Developer/Xcode/DerivedData/async-http-client-abnnkdvfpqtwubgyytmawfnihzlg/SourcePackages/checkouts/swift-nio/Sources/NIO/BaseSocketChannel.swift", line = 445)
      }
      [85] = {
        key = (_value = 0x0000000100b1d260)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/ConnectionPool.swift", line = 550)
      }
      [86] = {
        key = (_value = 0x0000000102b06ff0)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/ConnectionPool.swift", line = 166)
      }
      [87] = {
        key = (_value = 0x0000000102f06ba0)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPClient.swift", line = 322)
      }
      [88] = {
        key = (_value = 0x0000000102b0a6e0)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPHandler.swift", line = 504)
      }
      [89] = {
        key = (_value = 0x0000000102b0b640)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPHandler.swift", line = 504)
      }
      [90] = {
        key = (_value = 0x0000000100c1ad50)
        value = (file = "/Users/johannes/Library/Developer/Xcode/DerivedData/async-http-client-abnnkdvfpqtwubgyytmawfnihzlg/SourcePackages/checkouts/swift-nio/Sources/NIO/HappyEyeballs.swift", line = 294)
      }
      [91] = {
        key = (_value = 0x0000000100f05840)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPHandler.swift", line = 505)
      }
      [92] = {
        key = (_value = 0x0000000100b20180)
        value = (file = "/Users/johannes/Library/Developer/Xcode/DerivedData/async-http-client-abnnkdvfpqtwubgyytmawfnihzlg/SourcePackages/checkouts/swift-nio/Sources/NIO/HappyEyeballs.swift", line = 542)
      }
      [93] = {
        key = (_value = 0x0000000100b1b0b0)
        value = (file = "/Users/johannes/Library/Developer/Xcode/DerivedData/async-http-client-abnnkdvfpqtwubgyytmawfnihzlg/SourcePackages/checkouts/swift-nio/Sources/NIO/SelectableEventLoop.swift", line = 190)
      }
      [94] = {
        key = (_value = 0x000000010284aaa0)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/ConnectionPool.swift", line = 393)
      }
      [95] = {
        key = (_value = 0x0000000100f04f20)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPHandler.swift", line = 504)
      }
      [96] = {
        key = (_value = 0x0000000100b19460)
        value = (file = "/Users/johannes/Library/Developer/Xcode/DerivedData/async-http-client-abnnkdvfpqtwubgyytmawfnihzlg/SourcePackages/checkouts/swift-nio/Sources/NIO/HappyEyeballs.swift", line = 294)
      }
      [97] = {
        key = (_value = 0x0000000100c18830)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPHandler.swift", line = 505)
      }
      [98] = {
        key = (_value = 0x0000000100e1d740)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPHandler.swift", line = 505)
      }
      [99] = {
        key = (_value = 0x0000000102f04840)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPHandler.swift", line = 504)
      }
      [100] = {
        key = (_value = 0x0000000100c1ca40)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/ConnectionPool.swift", line = 550)
      }
      [101] = {
        key = (_value = 0x0000000102865980)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPHandler.swift", line = 504)
      }
      [102] = {
        key = (_value = 0x0000000102f065e0)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/ConnectionPool.swift", line = 550)
      }
      [103] = {
        key = (_value = 0x0000000100c183e0)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPHandler.swift", line = 505)
      }
      [104] = {
        key = (_value = 0x0000000100f05aa0)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPHandler.swift", line = 505)
      }
      [105] = {
        key = (_value = 0x0000000102985500)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/ConnectionPool.swift", line = 550)
      }
      [106] = {
        key = (_value = 0x0000000100c1d780)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/ConnectionPool.swift", line = 550)
      }
      [107] = {
        key = (_value = 0x0000000100d052f0)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPHandler.swift", line = 505)
      }
      [108] = {
        key = (_value = 0x0000000100f07610)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPClient.swift", line = 322)
      }
      [109] = {
        key = (_value = 0x0000000100b186b0)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPHandler.swift", line = 505)
      }
      [110] = {
        key = (_value = 0x0000000100b1ccf0)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/ConnectionPool.swift", line = 550)
      }
      [111] = {
        key = (_value = 0x0000000102986e50)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPClient.swift", line = 322)
      }
      [112] = {
        key = (_value = 0x0000000100e24360)
        value = (file = "/Users/johannes/Library/Developer/Xcode/DerivedData/async-http-client-abnnkdvfpqtwubgyytmawfnihzlg/SourcePackages/checkouts/swift-nio/Sources/NIO/Bootstrap.swift", line = 588)
      }
      [113] = {
        key = (_value = 0x000000010287a3e0)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPHandler.swift", line = 505)
      }
      [114] = {
        key = (_value = 0x0000000100e24040)
        value = (file = "/Users/johannes/Library/Developer/Xcode/DerivedData/async-http-client-abnnkdvfpqtwubgyytmawfnihzlg/SourcePackages/checkouts/swift-nio/Sources/NIO/BaseSocketChannel.swift", line = 445)
      }
      [115] = {
        key = (_value = 0x0000000100b16b00)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPHandler.swift", line = 504)
      }
      [116] = {
        key = (_value = 0x0000000100b18200)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPHandler.swift", line = 505)
      }
      [117] = {
        key = (_value = 0x000000010284bfe0)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPHandler.swift", line = 505)
      }
      [118] = {
        key = (_value = 0x0000000100d06500)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/ConnectionPool.swift", line = 550)
      }
      [119] = {
        key = (_value = 0x0000000100b1eb30)
        value = (file = "/Users/johannes/Library/Developer/Xcode/DerivedData/async-http-client-abnnkdvfpqtwubgyytmawfnihzlg/SourcePackages/checkouts/swift-nio/Sources/NIO/SelectableEventLoop.swift", line = 190)
      }
      [120] = {
        key = (_value = 0x0000000100e1fda0)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPHandler.swift", line = 505)
      }
      [121] = {
        key = (_value = 0x0000000102b0c810)
        value = (file = "/Users/johannes/Library/Developer/Xcode/DerivedData/async-http-client-abnnkdvfpqtwubgyytmawfnihzlg/SourcePackages/checkouts/swift-nio/Sources/NIO/HappyEyeballs.swift", line = 294)
      }
      [122] = {
        key = (_value = 0x0000000102984550)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/ConnectionPool.swift", line = 385)
      }
      [123] = {
        key = (_value = 0x0000000100c1ee00)
        value = (file = "/Users/johannes/Library/Developer/Xcode/DerivedData/async-http-client-abnnkdvfpqtwubgyytmawfnihzlg/SourcePackages/checkouts/swift-nio/Sources/NIO/Bootstrap.swift", line = 588)
      }
      [124] = {
        key = (_value = 0x0000000102874b20)
        value = (file = "/Users/johannes/Library/Developer/Xcode/DerivedData/async-http-client-abnnkdvfpqtwubgyytmawfnihzlg/SourcePackages/checkouts/swift-nio/Sources/NIO/SelectableEventLoop.swift", line = 190)
      }
      [125] = {
        key = (_value = 0x0000000100f04ca0)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPHandler.swift", line = 505)
      }
      [126] = {
        key = (_value = 0x0000000102b0bf50)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/ConnectionPool.swift", line = 373)
      }
      [127] = {
        key = (_value = 0x0000000102981090)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPHandler.swift", line = 505)
      }
      [128] = {
        key = (_value = 0x0000000100b1f930)
        value = (file = "/Users/johannes/Library/Developer/Xcode/DerivedData/async-http-client-abnnkdvfpqtwubgyytmawfnihzlg/SourcePackages/checkouts/swift-nio/Sources/NIO/SelectableEventLoop.swift", line = 190)
      }
      [129] = {
        key = (_value = 0x0000000100e1fe50)
        value = (file = "/Users/johannes/Library/Developer/Xcode/DerivedData/async-http-client-abnnkdvfpqtwubgyytmawfnihzlg/SourcePackages/checkouts/swift-nio/Sources/NIO/SelectableEventLoop.swift", line = 190)
      }
      [130] = {
        key = (_value = 0x0000000102f05c10)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/ConnectionPool.swift", line = 393)
      }
      [131] = {
        key = (_value = 0x0000000102982110)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/ConnectionPool.swift", line = 373)
      }
      [132] = {
        key = (_value = 0x0000000102981320)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPHandler.swift", line = 504)
      }
      [133] = {
        key = (_value = 0x0000000102b0ec90)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPClient.swift", line = 322)
      }
      [134] = {
        key = (_value = 0x0000000100b19e20)
        value = (file = "/Users/johannes/Library/Developer/Xcode/DerivedData/async-http-client-abnnkdvfpqtwubgyytmawfnihzlg/SourcePackages/checkouts/swift-nio/Sources/NIO/GetaddrinfoResolver.swift", line = 40)
      }
      [135] = {
        key = (_value = 0x0000000100d048c0)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPHandler.swift", line = 504)
      }
      [136] = {
        key = (_value = 0x0000000100e24300)
        value = (file = "/Users/johannes/Library/Developer/Xcode/DerivedData/async-http-client-abnnkdvfpqtwubgyytmawfnihzlg/SourcePackages/checkouts/swift-nio/Sources/NIO/SelectableEventLoop.swift", line = 190)
      }
      [137] = {
        key = (_value = 0x00000001029803e0)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPHandler.swift", line = 505)
      }
      [138] = {
        key = (_value = 0x0000000100c18eb0)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/ConnectionPool.swift", line = 373)
      }
      [139] = {
        key = (_value = 0x0000000100b17900)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPHandler.swift", line = 505)
      }
      [140] = {
        key = (_value = 0x0000000100c18b80)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPHandler.swift", line = 504)
      }
      [141] = {
        key = (_value = 0x0000000102e04f80)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPHandler.swift", line = 505)
      }
      [142] = {
        key = (_value = 0x0000000100c1e420)
        value = (file = "/Users/johannes/Library/Developer/Xcode/DerivedData/async-http-client-abnnkdvfpqtwubgyytmawfnihzlg/SourcePackages/checkouts/swift-nio/Sources/NIO/SelectableEventLoop.swift", line = 190)
      }
      [143] = {
        key = (_value = 0x0000000102980300)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPHandler.swift", line = 504)
      }
      [144] = {
        key = (_value = 0x0000000102e04bd0)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPHandler.swift", line = 505)
      }
      [145] = {
        key = (_value = 0x0000000102c06000)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPHandler.swift", line = 504)
      }
      [146] = {
        key = (_value = 0x0000000100b19dd0)
        value = (file = "/Users/johannes/Library/Developer/Xcode/DerivedData/async-http-client-abnnkdvfpqtwubgyytmawfnihzlg/SourcePackages/checkouts/swift-nio/Sources/NIO/GetaddrinfoResolver.swift", line = 39)
      }
      [147] = {
        key = (_value = 0x0000000100c1a380)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPHandler.swift", line = 505)
      }
      [148] = {
        key = (_value = 0x0000000100e22d40)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPClient.swift", line = 322)
      }
      [149] = {
        key = (_value = 0x0000000100d06e10)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/ConnectionPool.swift", line = 550)
      }
      [150] = {
        key = (_value = 0x0000000102981600)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPHandler.swift", line = 504)
      }
      [151] = {
        key = (_value = 0x0000000102804280)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPHandler.swift", line = 505)
      }
      [152] = {
        key = (_value = 0x0000000102b0dee0)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/ConnectionPool.swift", line = 550)
      }
      [153] = {
        key = (_value = 0x0000000102f04cb0)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPHandler.swift", line = 505)
      }
      [154] = {
        key = (_value = 0x0000000102d059d0)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPHandler.swift", line = 505)
      }
      [155] = {
        key = (_value = 0x0000000102851a20)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPHandler.swift", line = 505)
      }
      [156] = {
        key = (_value = 0x0000000102f06250)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPClient.swift", line = 322)
      }
      [157] = {
        key = (_value = 0x0000000102e04ad0)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPHandler.swift", line = 504)
      }
      [158] = {
        key = (_value = 0x0000000102875bc0)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPHandler.swift", line = 504)
      }
      [159] = {
        key = (_value = 0x0000000102e063c0)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/ConnectionPool.swift", line = 550)
      }
      [160] = {
        key = (_value = 0x0000000100e22b60)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/ConnectionPool.swift", line = 550)
      }
      [161] = {
        key = (_value = 0x0000000102b05bc0)
        value = (file = "/Users/johannes/Library/Developer/Xcode/DerivedData/async-http-client-abnnkdvfpqtwubgyytmawfnihzlg/SourcePackages/checkouts/swift-nio/Sources/NIO/BaseSocketChannel.swift", line = 445)
      }
      [162] = {
        key = (_value = 0x0000000102b0b3e0)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPHandler.swift", line = 505)
      }
      [163] = {
        key = (_value = 0x0000000100e21240)
        value = (file = "/Users/johannes/Library/Developer/Xcode/DerivedData/async-http-client-abnnkdvfpqtwubgyytmawfnihzlg/SourcePackages/checkouts/swift-nio/Sources/NIO/HappyEyeballs.swift", line = 542)
      }
      [164] = {
        key = (_value = 0x0000000100c1d290)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/ConnectionPool.swift", line = 550)
      }
      [165] = {
        key = (_value = 0x0000000102c078f0)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/ConnectionPool.swift", line = 550)
      }
      [166] = {
        key = (_value = 0x0000000102f05b10)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/ConnectionPool.swift", line = 393)
      }
      [167] = {
        key = (_value = 0x0000000100b1bf50)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/ConnectionPool.swift", line = 550)
      }
      [168] = {
        key = (_value = 0x0000000100b196f0)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPHandler.swift", line = 505)
      }
      [169] = {
        key = (_value = 0x0000000102982d30)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPHandler.swift", line = 504)
      }
      [170] = {
        key = (_value = 0x0000000102b0b6d0)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPHandler.swift", line = 505)
      }
      [171] = {
        key = (_value = 0x0000000100d05730)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPHandler.swift", line = 505)
      }
      [172] = {
        key = (_value = 0x0000000102c07ad0)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPClient.swift", line = 322)
      }
      [173] = {
        key = (_value = 0x0000000102b0efd0)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPClient.swift", line = 322)
      }
      [174] = {
        key = (_value = 0x0000000100b1f250)
        value = (file = "/Users/johannes/Library/Developer/Xcode/DerivedData/async-http-client-abnnkdvfpqtwubgyytmawfnihzlg/SourcePackages/checkouts/swift-nio/Sources/NIO/HappyEyeballs.swift", line = 542)
      }
      [175] = {
        key = (_value = 0x00000001029849b0)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/ConnectionPool.swift", line = 550)
      }
      [176] = {
        key = (_value = 0x0000000100e1f5b0)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPHandler.swift", line = 504)
      }
      [177] = {
        key = (_value = 0x0000000100c18c60)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPHandler.swift", line = 505)
      }
      [178] = {
        key = (_value = 0x0000000102987d20)
        value = (file = "/Users/johannes/Library/Developer/Xcode/DerivedData/async-http-client-abnnkdvfpqtwubgyytmawfnihzlg/SourcePackages/checkouts/swift-nio/Sources/NIO/SelectableEventLoop.swift", line = 190)
      }
      [179] = {
        key = (_value = 0x0000000102981710)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPHandler.swift", line = 505)
      }
      [180] = {
        key = (_value = 0x0000000102e06060)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPClient.swift", line = 322)
      }
      [181] = {
        key = (_value = 0x0000000102b0e980)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPClient.swift", line = 322)
      }
      [182] = {
        key = (_value = 0x0000000100c19a50)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPHandler.swift", line = 505)
      }
      [183] = {
        key = (_value = 0x0000000100c1a970)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/ConnectionPool.swift", line = 385)
      }
      [184] = {
        key = (_value = 0x0000000100b17340)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/ConnectionPool.swift", line = 393)
      }
      [185] = {
        key = (_value = 0x0000000102e04210)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPHandler.swift", line = 504)
      }
      [186] = {
        key = (_value = 0x0000000100b1e0d0)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPClient.swift", line = 322)
      }
      [187] = {
        key = (_value = 0x0000000100b199d0)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/ConnectionPool.swift", line = 385)
      }
      [188] = {
        key = (_value = 0x0000000102b0c020)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPHandler.swift", line = 505)
      }
      [189] = {
        key = (_value = 0x0000000102f05f70)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPClient.swift", line = 322)
      }
      [190] = {
        key = (_value = 0x0000000102e05b10)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/ConnectionPool.swift", line = 393)
      }
      [191] = {
        key = (_value = 0x0000000102985aa0)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/ConnectionPool.swift", line = 550)
      }
      [192] = {
        key = (_value = 0x0000000100b200a0)
        value = (file = "/Users/johannes/Library/Developer/Xcode/DerivedData/async-http-client-abnnkdvfpqtwubgyytmawfnihzlg/SourcePackages/checkouts/swift-nio/Sources/NIO/BaseSocketChannel.swift", line = 445)
      }
      [193] = {
        key = (_value = 0x0000000102b09580)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/ConnectionPool.swift", line = 373)
      }
      [194] = {
        key = (_value = 0x0000000100f068f0)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPClient.swift", line = 322)
      }
      [195] = {
        key = (_value = 0x0000000102980fb0)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPHandler.swift", line = 504)
      }
      [196] = {
        key = (_value = 0x0000000100c1b940)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/ConnectionPool.swift", line = 385)
      }
      [197] = {
        key = (_value = 0x0000000102e06740)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPClient.swift", line = 322)
      }
      [198] = {
        key = (_value = 0x0000000102b09340)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPHandler.swift", line = 505)
      }
      [199] = {
        key = (_value = 0x0000000100b1f490)
        value = (file = "/Users/johannes/Library/Developer/Xcode/DerivedData/async-http-client-abnnkdvfpqtwubgyytmawfnihzlg/SourcePackages/checkouts/swift-nio/Sources/NIO/Bootstrap.swift", line = 588)
      }
      [200] = {
        key = (_value = 0x0000000100d04a20)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPHandler.swift", line = 504)
      }
      [201] = {
        key = (_value = 0x00000001028754b0)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPHandler.swift", line = 505)
      }
      [202] = {
        key = (_value = 0x0000000100c19940)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPHandler.swift", line = 504)
      }
      [203] = {
        key = (_value = 0x0000000102f06070)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/ConnectionPool.swift", line = 550)
      }
      [204] = {
        key = (_value = 0x0000000100f07140)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPClient.swift", line = 322)
      }
      [205] = {
        key = (_value = 0x0000000102e05610)
        value = (file = "/Users/johannes/Library/Developer/Xcode/DerivedData/async-http-client-abnnkdvfpqtwubgyytmawfnihzlg/SourcePackages/checkouts/swift-nio/Sources/NIO/GetaddrinfoResolver.swift", line = 40)
      }
      [206] = {
        key = (_value = 0x00000001029865e0)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/ConnectionPool.swift", line = 550)
      }
      [207] = {
        key = (_value = 0x0000000102b06480)
        value = (file = "/Users/johannes/Library/Developer/Xcode/DerivedData/async-http-client-abnnkdvfpqtwubgyytmawfnihzlg/SourcePackages/checkouts/swift-nio/Sources/NIO/EventLoopFuture.swift", line = 1183)
      }
      [208] = {
        key = (_value = 0x0000000100e1f6e0)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPHandler.swift", line = 505)
      }
      [209] = {
        key = (_value = 0x0000000100c1c0f0)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPClient.swift", line = 322)
      }
      [210] = {
        key = (_value = 0x0000000102983f80)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/ConnectionPool.swift", line = 393)
      }
      [211] = {
        key = (_value = 0x0000000100d04b00)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPHandler.swift", line = 505)
      }
      [212] = {
        key = (_value = 0x0000000102b07fd0)
        value = (file = "/Users/johannes/Library/Developer/Xcode/DerivedData/async-http-client-abnnkdvfpqtwubgyytmawfnihzlg/SourcePackages/checkouts/swift-nio/Sources/NIO/GetaddrinfoResolver.swift", line = 39)
      }
      [213] = {
        key = (_value = 0x0000000100d05490)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPHandler.swift", line = 505)
      }
      [214] = {
        key = (_value = 0x0000000100c1a870)
        value = (file = "/Users/johannes/Library/Developer/Xcode/DerivedData/async-http-client-abnnkdvfpqtwubgyytmawfnihzlg/SourcePackages/checkouts/swift-nio/Sources/NIO/HappyEyeballs.swift", line = 294)
      }
      [215] = {
        key = (_value = 0x0000000102e058e0)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/ConnectionPool.swift", line = 385)
      }
      [216] = {
        key = (_value = 0x0000000100c1a710)
        value = (file = "/Users/johannes/Library/Developer/Xcode/DerivedData/async-http-client-abnnkdvfpqtwubgyytmawfnihzlg/SourcePackages/checkouts/swift-nio/Sources/NIO/GetaddrinfoResolver.swift", line = 40)
      }
      [217] = {
        key = (_value = 0x0000000100b18d50)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPHandler.swift", line = 504)
      }
      [218] = {
        key = (_value = 0x0000000100f05b60)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/ConnectionPool.swift", line = 373)
      }
      [219] = {
        key = (_value = 0x0000000100d066e0)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPClient.swift", line = 322)
      }
      [220] = {
        key = (_value = 0x0000000102857130)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPHandler.swift", line = 504)
      }
      [221] = {
        key = (_value = 0x00000001029818e0)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPHandler.swift", line = 504)
      }
      [222] = {
        key = (_value = 0x0000000100b19300)
        value = (file = "/Users/johannes/Library/Developer/Xcode/DerivedData/async-http-client-abnnkdvfpqtwubgyytmawfnihzlg/SourcePackages/checkouts/swift-nio/Sources/NIO/GetaddrinfoResolver.swift", line = 40)
      }
      [223] = {
        key = (_value = 0x0000000100c1a130)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPHandler.swift", line = 505)
      }
      [224] = {
        key = (_value = 0x0000000100e1e510)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPHandler.swift", line = 505)
      }
      [225] = {
        key = (_value = 0x0000000102e04670)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPHandler.swift", line = 504)
      }
      [226] = {
        key = (_value = 0x0000000102981bc0)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPHandler.swift", line = 504)
      }
      [227] = {
        key = (_value = 0x0000000102b0b820)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPHandler.swift", line = 504)
      }
      [228] = {
        key = (_value = 0x0000000102c06b40)
        value = (file = "/Users/johannes/Library/Developer/Xcode/DerivedData/async-http-client-abnnkdvfpqtwubgyytmawfnihzlg/SourcePackages/checkouts/swift-nio/Sources/NIO/GetaddrinfoResolver.swift", line = 39)
      }
      [229] = {
        key = (_value = 0x0000000100b1cf00)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPClient.swift", line = 322)
      }
      [230] = {
        key = (_value = 0x0000000102f05710)
        value = (file = "/Users/johannes/Library/Developer/Xcode/DerivedData/async-http-client-abnnkdvfpqtwubgyytmawfnihzlg/SourcePackages/checkouts/swift-nio/Sources/NIO/HappyEyeballs.swift", line = 294)
      }
      [231] = {
        key = (_value = 0x0000000100c1d960)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPClient.swift", line = 322)
      }
      [232] = {
        key = (_value = 0x0000000100b20510)
        value = (file = "/Users/johannes/Library/Developer/Xcode/DerivedData/async-http-client-abnnkdvfpqtwubgyytmawfnihzlg/SourcePackages/checkouts/swift-nio/Sources/NIO/SelectableEventLoop.swift", line = 190)
      }
      [233] = {
        key = (_value = 0x0000000100f06f60)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/ConnectionPool.swift", line = 550)
      }
      [234] = {
        key = (_value = 0x0000000100f05020)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPHandler.swift", line = 505)
      }
      [235] = {
        key = (_value = 0x0000000102b08090)
        value = (file = "/Users/johannes/Library/Developer/Xcode/DerivedData/async-http-client-abnnkdvfpqtwubgyytmawfnihzlg/SourcePackages/checkouts/swift-nio/Sources/NIO/GetaddrinfoResolver.swift", line = 40)
      }
      [236] = {
        key = (_value = 0x0000000100f07430)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/ConnectionPool.swift", line = 550)
      }
      [237] = {
        key = (_value = 0x0000000102981a10)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPHandler.swift", line = 505)
      }
      [238] = {
        key = (_value = 0x0000000100b18a60)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPHandler.swift", line = 505)
      }
      [239] = {
        key = (_value = 0x0000000102b078f0)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPClient.swift", line = 322)
      }
      [240] = {
        key = (_value = 0x0000000102987b40)
        value = (file = "/Users/johannes/Library/Developer/Xcode/DerivedData/async-http-client-abnnkdvfpqtwubgyytmawfnihzlg/SourcePackages/checkouts/swift-nio/Sources/NIO/HappyEyeballs.swift", line = 542)
      }
      [241] = {
        key = (_value = 0x0000000102b0c200)
        value = (file = "/Users/johannes/Library/Developer/Xcode/DerivedData/async-http-client-abnnkdvfpqtwubgyytmawfnihzlg/SourcePackages/checkouts/swift-nio/Sources/NIO/GetaddrinfoResolver.swift", line = 39)
      }
      [242] = {
        key = (_value = 0x0000000100b195f0)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPHandler.swift", line = 504)
      }
      [243] = {
        key = (_value = 0x0000000100e215e0)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPClient.swift", line = 322)
      }
      [244] = {
        key = (_value = 0x00000001029839b0)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPClient.swift", line = 322)
      }
      [245] = {
        key = (_value = 0x0000000100f06b80)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/ConnectionPool.swift", line = 550)
      }
      [246] = {
        key = (_value = 0x000000010284a2d0)
        value = (file = "/Users/johannes/Library/Developer/Xcode/DerivedData/async-http-client-abnnkdvfpqtwubgyytmawfnihzlg/SourcePackages/checkouts/swift-nio/Sources/NIO/BaseSocketChannel.swift", line = 445)
      }
      [247] = {
        key = (_value = 0x0000000102872f80)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPHandler.swift", line = 504)
      }
      [248] = {
        key = (_value = 0x0000000100c182e0)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPHandler.swift", line = 504)
      }
      [249] = {
        key = (_value = 0x0000000100c1a040)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPHandler.swift", line = 505)
      }
      [250] = {
        key = (_value = 0x0000000102b0e7a0)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/ConnectionPool.swift", line = 550)
      }
      [251] = {
        key = (_value = 0x0000000102f050f0)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPHandler.swift", line = 504)
      }
      [252] = {
        key = (_value = 0x0000000102e05170)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPHandler.swift", line = 505)
      }
      [253] = {
        key = (_value = 0x0000000102b0edc0)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/ConnectionPool.swift", line = 550)
      }
      [254] = {
        key = (_value = 0x0000000100e228d0)
        value = (file = "/Users/johannes/Library/Developer/Xcode/DerivedData/async-http-client-abnnkdvfpqtwubgyytmawfnihzlg/SourcePackages/checkouts/swift-nio/Sources/NIO/BaseSocketChannel.swift", line = 445)
      }
      [255] = {
        key = (_value = 0x0000000100b1d440)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPClient.swift", line = 322)
      }
      ...
    }
  }
  configuration = {
    tlsConfiguration = nil
    redirectConfiguration = {
      configuration = follow {
        follow = (max = 5, allowCycles = false)
      }
    }
    timeout = {
      connect = nil
      read = nil
    }
    maximumAllowedIdleTimeInConnectionPool = (nanoseconds = 60000000000)
    proxy = nil
    decompression = disabled
    ignoreUncleanSSLShutdown = false
  }
  key = {
    scheme = http
    host = "localhost"
    port = 52913
    unixPath = ""
  }
  state = {
    defaultEventLoop = 0x0000000100e1b2b0 {...}
    maximumConcurrentConnections = 8
    availableConnections = {
      _buffer = {
        _buffer = {
          _storage = 8 values {
            [0] = nil
            [1] = nil
            [2] = nil
            [3] = nil
            [4] = nil
            [5] = nil
            [6] = nil
            [7] = nil
          }
        }
      }
      headBackingIndex = 1
      tailBackingIndex = 1
    }
    leased = 8
    waiters = {
      _buffer = {
        _buffer = {
          _storage = 64 values {
            [0] = nil
            [1] = nil
            [2] = nil
            [3] = nil
            [4] = nil
            [5] = nil
            [6] = nil
            [7] = nil
            [8] = nil
            [9] = nil
            [10] = nil
            [11] = nil
            [12] = nil
            [13] = nil
            [14] = nil
            [15] = nil
            [16] = nil
            [17] = nil
            [18] = nil
            [19] = nil
            [20] = nil
            [21] = nil
            [22] = nil
            [23] = nil
            [24] = nil
            [25] = nil
            [26] = nil
            [27] = nil
            [28] = nil
            [29] = nil
            [30] = nil
            [31] = nil
            [32] = nil
            [33] = nil
            [34] = nil
            [35] = nil
            [36] = nil
            [37] = nil
            [38] = nil
            [39] = nil
            [40] = nil
            [41] = nil
            [42] = nil
            [43] = nil
            [44] = nil
            [45] = nil
            [46] = nil
            [47] = nil
            [48] = nil
            [49] = nil
            [50] = nil
            [51] = nil
            [52] = nil
            [53] = nil
            [54] = nil
            [55] = nil
            [56] = nil
            [57] = nil
            [58] = nil
            [59] = nil
            [60] = nil
            [61] = nil
            [62] = nil
            [63] = nil
          }
        }
      }
      headBackingIndex = 1
      tailBackingIndex = 38
    }
    activity = closing
    pending = 0
    parentPool = 0x0000000100b15230 {
      configuration = {
        tlsConfiguration = nil
        redirectConfiguration = {
          configuration = follow {
            follow = (max = 5, allowCycles = false)
          }
        }
        timeout = {
          connect = nil
          read = nil
        }
        maximumAllowedIdleTimeInConnectionPool = (nanoseconds = 60000000000)
        proxy = nil
        decompression = disabled
        ignoreUncleanSSLShutdown = false
      }
      connectionProviders = 1 key/value pair {
        [0] = {
          key = {
            scheme = http
            host = "localhost"
            port = 52913
            unixPath = ""
          }
          value = 0x0000000100b16e00 {...}
        }
      }
      connectionProvidersLock = 0x0000000100b15390 (mutex = 0x0000000100b15cc0)
    }
    key = {
      scheme = http
      host = "localhost"
      port = 52913
      unixPath = ""
    }
  }
  stateLock = 0x0000000100b16bb0 (mutex = 0x0000000100b17000)
  maximumConcurrentConnections = 8
  parentPool = 0x0000000100b15230 {...}
}

po self:

(lldb) po self
HTTP1ConnectionProvider { key: Key(scheme: AsyncHTTPClient.ConnectionPool.Key.Scheme.http, host: "localhost", port: 52913, unixPath: ""), state: State(defaultEventLoop: SelectableEventLoop { selector = Selector { descriptor = 9 }, thread = NIOThread(name = NIO-ELT-2-#0), scheduledTasks = PriorityQueue(count: 14): [ScheduledTask(readyTime: 2847967049732), ScheduledTask(readyTime: 2847967940250), ScheduledTask(readyTime: 2847968951087), ScheduledTask(readyTime: 2847969913988), ScheduledTask(readyTime: 2847970697488), ScheduledTask(readyTime: 2847974416725), ScheduledTask(readyTime: 2847977591895), ScheduledTask(readyTime: 2857715264354), ScheduledTask(readyTime: 2857716512770), ScheduledTask(readyTime: 2857717409751), ScheduledTask(readyTime: 2857718294520), ScheduledTask(readyTime: 2857719381390), ScheduledTask(readyTime: 2857720301712), ScheduledTask(readyTime: 2857723773480)] }, maximumConcurrentConnections: 8, availableConnections: [ _ <_ _ _ _ _ _ _ ] (bufferCapacity: 8, ringLength: 0), leased: 8, waiters: [ _ <Waiter(promise: NIO.EventLoopPromise<AsyncHTTPClient.ConnectionPool.Connection>(futureResult: NIO.EventLoopFuture<AsyncHTTPClient.ConnectionPool.Connection>), preference: AsyncHTTPClient.HTTPClient.EventLoopPreference(preference: AsyncHTTPClient.HTTPClient.EventLoopPreference.Preference.indifferent)) Waiter(promise: NIO.EventLoopPromise<AsyncHTTPClient.ConnectionPool.Connection>(futureResult: NIO.EventLoopFuture<AsyncHTTPClient.ConnectionPool.Connection>), preference: AsyncHTTPClient.HTTPClient.EventLoopPreference(preference: AsyncHTTPClient.HTTPClient.EventLoopPreference.Preference.indifferent)) Waiter(promise: NIO.EventLoopPromise<AsyncHTTPClient.ConnectionPool.Connection>(futureResult: NIO.EventLoopFuture<AsyncHTTPClient.ConnectionPool.Connection>), preference: AsyncHTTPClient.HTTPClient.EventLoopPreference(preference: AsyncHTTPClient.HTTPClient.EventLoopPreference.Preference.indifferent)) Waiter(promise: NIO.EventLoopPromise<AsyncHTTPClient.ConnectionPool.Connection>(futureResult: NIO.EventLoopFuture<AsyncHTTPClient.ConnectionPool.Connection>), preference: AsyncHTTPClient.HTTPClient.EventLoopPreference(preference: AsyncHTTPClient.HTTPClient.EventLoopPreference.Preference.indifferent)) Waiter(promise: NIO.EventLoopPromise<AsyncHTTPClient.ConnectionPool.Connection>(futureResult: NIO.EventLoopFuture<AsyncHTTPClient.ConnectionPool.Connection>), preference: AsyncHTTPClient.HTTPClient.EventLoopPreference(preference: AsyncHTTPClient.HTTPClient.EventLoopPreference.Preference.indifferent)) Waiter(promise: NIO.EventLoopPromise<AsyncHTTPClient.ConnectionPool.Connection>(futureResult: NIO.EventLoopFuture<AsyncHTTPClient.ConnectionPool.Connection>), preference: AsyncHTTPClient.HTTPClient.EventLoopPreference(preference: AsyncHTTPClient.HTTPClient.EventLoopPreference.Preference.indifferent)) Waiter(promise: NIO.EventLoopPromise<AsyncHTTPClient.ConnectionPool.Connection>(futureResult: NIO.EventLoopFuture<AsyncHTTPClient.ConnectionPool.Connection>), preference: AsyncHTTPClient.HTTPClient.EventLoopPreference(preference: AsyncHTTPClient.HTTPClient.EventLoopPreference.Preference.indifferent)) Waiter(promise: NIO.EventLoopPromise<AsyncHTTPClient.ConnectionPool.Connection>(futureResult: NIO.EventLoopFuture<AsyncHTTPClient.ConnectionPool.Connection>), preference: AsyncHTTPClient.HTTPClient.EventLoopPreference(preference: AsyncHTTPClient.HTTPClient.EventLoopPreference.Preference.indifferent)) Waiter(promise: NIO.EventLoopPromise<AsyncHTTPClient.ConnectionPool.Connection>(futureResult: NIO.EventLoopFuture<AsyncHTTPClient.ConnectionPool.Connection>), preference: AsyncHTTPClient.HTTPClient.EventLoopPreference(preference: AsyncHTTPClient.HTTPClient.EventLoopPreference.Preference.indifferent)) Waiter(promise: NIO.EventLoopPromise<AsyncHTTPClient.ConnectionPool.Connection>(futureResult: NIO.EventLoopFuture<AsyncHTTPClient.ConnectionPool.Connection>), preference: AsyncHTTPClient.HTTPClient.EventLoopPreference(preference: AsyncHTTPClient.HTTPClient.EventLoopPreference.Preference.indifferent)) Waiter(promise: NIO.EventLoopPromise<AsyncHTTPClient.ConnectionPool.Connection>(futureResult: NIO.EventLoopFuture<AsyncHTTPClient.ConnectionPool.Connection>), preference: AsyncHTTPClient.HTTPClient.EventLoopPreference(preference: AsyncHTTPClient.HTTPClient.EventLoopPreference.Preference.indifferent)) Waiter(promise: NIO.EventLoopPromise<AsyncHTTPClient.ConnectionPool.Connection>(futureResult: NIO.EventLoopFuture<AsyncHTTPClient.ConnectionPool.Connection>), preference: AsyncHTTPClient.HTTPClient.EventLoopPreference(preference: AsyncHTTPClient.HTTPClient.EventLoopPreference.Preference.indifferent)) Waiter(promise: NIO.EventLoopPromise<AsyncHTTPClient.ConnectionPool.Connection>(futureResult: NIO.EventLoopFuture<AsyncHTTPClient.ConnectionPool.Connection>), preference: AsyncHTTPClient.HTTPClient.EventLoopPreference(preference: AsyncHTTPClient.HTTPClient.EventLoopPreference.Preference.indifferent)) Waiter(promise: NIO.EventLoopPromise<AsyncHTTPClient.ConnectionPool.Connection>(futureResult: NIO.EventLoopFuture<AsyncHTTPClient.ConnectionPool.Connection>), preference: AsyncHTTPClient.HTTPClient.EventLoopPreference(preference: AsyncHTTPClient.HTTPClient.EventLoopPreference.Preference.indifferent)) Waiter(promise: NIO.EventLoopPromise<AsyncHTTPClient.ConnectionPool.Connection>(futureResult: NIO.EventLoopFuture<AsyncHTTPClient.ConnectionPool.Connection>), preference: AsyncHTTPClient.HTTPClient.EventLoopPreference(preference: AsyncHTTPClient.HTTPClient.EventLoopPreference.Preference.indifferent)) Waiter(promise: NIO.EventLoopPromise<AsyncHTTPClient.ConnectionPool.Connection>(futureResult: NIO.EventLoopFuture<AsyncHTTPClient.ConnectionPool.Connection>), preference: AsyncHTTPClient.HTTPClient.EventLoopPreference(preference: AsyncHTTPClient.HTTPClient.EventLoopPreference.Preference.indifferent)) Waiter(promise: NIO.EventLoopPromise<AsyncHTTPClient.ConnectionPool.Connection>(futureResult: NIO.EventLoopFuture<AsyncHTTPClient.ConnectionPool.Connection>), preference: AsyncHTTPClient.HTTPClient.EventLoopPreference(preference: AsyncHTTPClient.HTTPClient.EventLoopPreference.Preference.indifferent)) Waiter(promise: NIO.EventLoopPromise<AsyncHTTPClient.ConnectionPool.Connection>(futureResult: NIO.EventLoopFuture<AsyncHTTPClient.ConnectionPool.Connection>), preference: AsyncHTTPClient.HTTPClient.EventLoopPreference(preference: AsyncHTTPClient.HTTPClient.EventLoopPreference.Preference.indifferent)) Waiter(promise: NIO.EventLoopPromise<AsyncHTTPClient.ConnectionPool.Connection>(futureResult: NIO.EventLoopFuture<AsyncHTTPClient.ConnectionPool.Connection>), preference: AsyncHTTPClient.HTTPClient.EventLoopPreference(preference: AsyncHTTPClient.HTTPClient.EventLoopPreference.Preference.indifferent)) Waiter(promise: NIO.EventLoopPromise<AsyncHTTPClient.ConnectionPool.Connection>(futureResult: NIO.EventLoopFuture<AsyncHTTPClient.ConnectionPool.Connection>), preference: AsyncHTTPClient.HTTPClient.EventLoopPreference(preference: AsyncHTTPClient.HTTPClient.EventLoopPreference.Preference.indifferent)) Waiter(promise: NIO.EventLoopPromise<AsyncHTTPClient.ConnectionPool.Connection>(futureResult: NIO.EventLoopFuture<AsyncHTTPClient.ConnectionPool.Connection>), preference: AsyncHTTPClient.HTTPClient.EventLoopPreference(preference: AsyncHTTPClient.HTTPClient.EventLoopPreference.Preference.indifferent)) Waiter(promise: NIO.EventLoopPromise<AsyncHTTPClient.ConnectionPool.Connection>(futureResult: NIO.EventLoopFuture<AsyncHTTPClient.ConnectionPool.Connection>), preference: AsyncHTTPClient.HTTPClient.EventLoopPreference(preference: AsyncHTTPClient.HTTPClient.EventLoopPreference.Preference.indifferent)) Waiter(promise: NIO.EventLoopPromise<AsyncHTTPClient.ConnectionPool.Connection>(futureResult: NIO.EventLoopFuture<AsyncHTTPClient.ConnectionPool.Connection>), preference: AsyncHTTPClient.HTTPClient.EventLoopPreference(preference: AsyncHTTPClient.HTTPClient.EventLoopPreference.Preference.indifferent)) Waiter(promise: NIO.EventLoopPromise<AsyncHTTPClient.ConnectionPool.Connection>(futureResult: NIO.EventLoopFuture<AsyncHTTPClient.ConnectionPool.Connection>), preference: AsyncHTTPClient.HTTPClient.EventLoopPreference(preference: AsyncHTTPClient.HTTPClient.EventLoopPreference.Preference.indifferent)) Waiter(promise: NIO.EventLoopPromise<AsyncHTTPClient.ConnectionPool.Connection>(futureResult: NIO.EventLoopFuture<AsyncHTTPClient.ConnectionPool.Connection>), preference: AsyncHTTPClient.HTTPClient.EventLoopPreference(preference: AsyncHTTPClient.HTTPClient.EventLoopPreference.Preference.indifferent)) Waiter(promise: NIO.EventLoopPromise<AsyncHTTPClient.ConnectionPool.Connection>(futureResult: NIO.EventLoopFuture<AsyncHTTPClient.ConnectionPool.Connection>), preference: AsyncHTTPClient.HTTPClient.EventLoopPreference(preference: AsyncHTTPClient.HTTPClient.EventLoopPreference.Preference.indifferent)) Waiter(promise: NIO.EventLoopPromise<AsyncHTTPClient.ConnectionPool.Connection>(futureResult: NIO.EventLoopFuture<AsyncHTTPClient.ConnectionPool.Connection>), preference: AsyncHTTPClient.HTTPClient.EventLoopPreference(preference: AsyncHTTPClient.HTTPClient.EventLoopPreference.Preference.indifferent)) Waiter(promise: NIO.EventLoopPromise<AsyncHTTPClient.ConnectionPool.Connection>(futureResult: NIO.EventLoopFuture<AsyncHTTPClient.ConnectionPool.Connection>), preference: AsyncHTTPClient.HTTPClient.EventLoopPreference(preference: AsyncHTTPClient.HTTPClient.EventLoopPreference.Preference.indifferent)) Waiter(promise: NIO.EventLoopPromise<AsyncHTTPClient.ConnectionPool.Connection>(futureResult: NIO.EventLoopFuture<AsyncHTTPClient.ConnectionPool.Connection>), preference: AsyncHTTPClient.HTTPClient.EventLoopPreference(preference: AsyncHTTPClient.HTTPClient.EventLoopPreference.Preference.indifferent)) Waiter(promise: NIO.EventLoopPromise<AsyncHTTPClient.ConnectionPool.Connection>(futureResult: NIO.EventLoopFuture<AsyncHTTPClient.ConnectionPool.Connection>), preference: AsyncHTTPClient.HTTPClient.EventLoopPreference(preference: AsyncHTTPClient.HTTPClient.EventLoopPreference.Preference.indifferent)) Waiter(promise: NIO.EventLoopPromise<AsyncHTTPClient.ConnectionPool.Connection>(futureResult: NIO.EventLoopFuture<AsyncHTTPClient.ConnectionPool.Connection>), preference: AsyncHTTPClient.HTTPClient.EventLoopPreference(preference: AsyncHTTPClient.HTTPClient.EventLoopPreference.Preference.indifferent)) Waiter(promise: NIO.EventLoopPromise<AsyncHTTPClient.ConnectionPool.Connection>(futureResult: NIO.EventLoopFuture<AsyncHTTPClient.ConnectionPool.Connection>), preference: AsyncHTTPClient.HTTPClient.EventLoopPreference(preference: AsyncHTTPClient.HTTPClient.EventLoopPreference.Preference.indifferent)) Waiter(promise: NIO.EventLoopPromise<AsyncHTTPClient.ConnectionPool.Connection>(futureResult: NIO.EventLoopFuture<AsyncHTTPClient.ConnectionPool.Connection>), preference: AsyncHTTPClient.HTTPClient.EventLoopPreference(preference: AsyncHTTPClient.HTTPClient.EventLoopPreference.Preference.indifferent)) Waiter(promise: NIO.EventLoopPromise<AsyncHTTPClient.ConnectionPool.Connection>(futureResult: NIO.EventLoopFuture<AsyncHTTPClient.ConnectionPool.Connection>), preference: AsyncHTTPClient.HTTPClient.EventLoopPreference(preference: AsyncHTTPClient.HTTPClient.EventLoopPreference.Preference.indifferent)) Waiter(promise: NIO.EventLoopPromise<AsyncHTTPClient.ConnectionPool.Connection>(futureResult: NIO.EventLoopFuture<AsyncHTTPClient.ConnectionPool.Connection>), preference: AsyncHTTPClient.HTTPClient.EventLoopPreference(preference: AsyncHTTPClient.HTTPClient.EventLoopPreference.Preference.indifferent)) Waiter(promise: NIO.EventLoopPromise<AsyncHTTPClient.ConnectionPool.Connection>(futureResult: NIO.EventLoopFuture<AsyncHTTPClient.ConnectionPool.Connection>), preference: AsyncHTTPClient.HTTPClient.EventLoopPreference(preference: AsyncHTTPClient.HTTPClient.EventLoopPreference.Preference.indifferent)) Waiter(promise: NIO.EventLoopPromise<AsyncHTTPClient.ConnectionPool.Connection>(futureResult: NIO.EventLoopFuture<AsyncHTTPClient.ConnectionPool.Connection>), preference: AsyncHTTPClient.HTTPClient.EventLoopPreference(preference: AsyncHTTPClient.HTTPClient.EventLoopPreference.Preference.indifferent)) >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ] (bufferCapacity: 64, ringLength: 37), activity: closing, pending: 0, parentPool: AsyncHTTPClient.ConnectionPool, key: AsyncHTTPClient.ConnectionPool.Key(scheme: AsyncHTTPClient.ConnectionPool.Key.Scheme.http, host: "localhost", port: 52913, unixPath: "")) }
@weissi weissi added the area/testing Improvements to tests. label Mar 5, 2020
@weissi
Copy link
Contributor Author

weissi commented Mar 5, 2020

(lldb) po self.state
▿ State
  ▿ defaultEventLoop : SelectableEventLoop { selector = Selector { descriptor = 9 }, thread = NIOThread(name = NIO-ELT-2-#0), scheduledTasks = PriorityQueue(count: 14): [ScheduledTask(readyTime: 2847967049732), ScheduledTask(readyTime: 2847967940250), ScheduledTask(readyTime: 2847968951087), ScheduledTask(readyTime: 2847969913988), ScheduledTask(readyTime: 2847970697488), ScheduledTask(readyTime: 2847974416725), ScheduledTask(readyTime: 2847977591895), ScheduledTask(readyTime: 2857715264354), ScheduledTask(readyTime: 2857716512770), ScheduledTask(readyTime: 2857717409751), ScheduledTask(readyTime: 2857718294520), ScheduledTask(readyTime: 2857719381390), ScheduledTask(readyTime: 2857720301712), ScheduledTask(readyTime: 2857723773480)] }
  - maximumConcurrentConnections : 8
  ▿ availableConnections : [ _ <_ _ _ _ _ _ _ ] (bufferCapacity: 8, ringLength: 0)
    ▿ _buffer : 8 elements
      - 0 : nil
      - 1 : nil
      - 2 : nil
      - 3 : nil
      - 4 : nil
      - 5 : nil
      - 6 : nil
      - 7 : nil
    - headBackingIndex : 1
    - tailBackingIndex : 1
  - leased : 8
  ▿ waiters : [ _ <Waiter(promise: NIO.EventLoopPromise<AsyncHTTPClient.ConnectionPool.Connection>(futureResult: NIO.EventLoopFuture<AsyncHTTPClient.ConnectionPool.Connection>), preference: AsyncHTTPClient.HTTPClient.EventLoopPreference(preference: AsyncHTTPClient.HTTPClient.EventLoopPreference.Preference.indifferent)) Waiter(promise: NIO.EventLoopPromise<AsyncHTTPClient.ConnectionPool.Connection>(futureResult: NIO.EventLoopFuture<AsyncHTTPClient.ConnectionPool.Connection>), preference: AsyncHTTPClient.HTTPClient.EventLoopPreference(preference: AsyncHTTPClient.HTTPClient.EventLoopPreference.Preference.indifferent)) Waiter(promise: NIO.EventLoopPromise<AsyncHTTPClient.ConnectionPool.Connection>(futureResult: NIO.EventLoopFuture<AsyncHTTPClient.ConnectionPool.Connection>), preference: AsyncHTTPClient.HTTPClient.EventLoopPreference(preference: AsyncHTTPClient.HTTPClient.EventLoopPreference.Preference.indifferent)) Waiter(promise: NIO.EventLoopPromise<AsyncHTTPClient.ConnectionPool.Connection>(futureResult: NIO.EventLoopFuture<AsyncHTTPClient.ConnectionPool.Connection>), preference: AsyncHTTPClient.HTTPClient.EventLoopPreference(preference: AsyncHTTPClient.HTTPClient.EventLoopPreference.Preference.indifferent)) Waiter(promise: NIO.EventLoopPromise<AsyncHTTPClient.ConnectionPool.Connection>(futureResult: NIO.EventLoopFuture<AsyncHTTPClient.ConnectionPool.Connection>), preference: AsyncHTTPClient.HTTPClient.EventLoopPreference(preference: AsyncHTTPClient.HTTPClient.EventLoopPreference.Preference.indifferent)) Waiter(promise: NIO.EventLoopPromise<AsyncHTTPClient.ConnectionPool.Connection>(futureResult: NIO.EventLoopFuture<AsyncHTTPClient.ConnectionPool.Connection>), preference: AsyncHTTPClient.HTTPClient.EventLoopPreference(preference: AsyncHTTPClient.HTTPClient.EventLoopPreference.Preference.indifferent)) Waiter(promise: NIO.EventLoopPromise<AsyncHTTPClient.ConnectionPool.Connection>(futureResult: NIO.EventLoopFuture<AsyncHTTPClient.ConnectionPool.Connection>), preference: AsyncHTTPClient.HTTPClient.EventLoopPreference(preference: AsyncHTTPClient.HTTPClient.EventLoopPreference.Preference.indifferent)) Waiter(promise: NIO.EventLoopPromise<AsyncHTTPClient.ConnectionPool.Connection>(futureResult: NIO.EventLoopFuture<AsyncHTTPClient.ConnectionPool.Connection>), preference: AsyncHTTPClient.HTTPClient.EventLoopPreference(preference: AsyncHTTPClient.HTTPClient.EventLoopPreference.Preference.indifferent)) Waiter(promise: NIO.EventLoopPromise<AsyncHTTPClient.ConnectionPool.Connection>(futureResult: NIO.EventLoopFuture<AsyncHTTPClient.ConnectionPool.Connection>), preference: AsyncHTTPClient.HTTPClient.EventLoopPreference(preference: AsyncHTTPClient.HTTPClient.EventLoopPreference.Preference.indifferent)) Waiter(promise: NIO.EventLoopPromise<AsyncHTTPClient.ConnectionPool.Connection>(futureResult: NIO.EventLoopFuture<AsyncHTTPClient.ConnectionPool.Connection>), preference: AsyncHTTPClient.HTTPClient.EventLoopPreference(preference: AsyncHTTPClient.HTTPClient.EventLoopPreference.Preference.indifferent)) Waiter(promise: NIO.EventLoopPromise<AsyncHTTPClient.ConnectionPool.Connection>(futureResult: NIO.EventLoopFuture<AsyncHTTPClient.ConnectionPool.Connection>), preference: AsyncHTTPClient.HTTPClient.EventLoopPreference(preference: AsyncHTTPClient.HTTPClient.EventLoopPreference.Preference.indifferent)) Waiter(promise: NIO.EventLoopPromise<AsyncHTTPClient.ConnectionPool.Connection>(futureResult: NIO.EventLoopFuture<AsyncHTTPClient.ConnectionPool.Connection>), preference: AsyncHTTPClient.HTTPClient.EventLoopPreference(preference: AsyncHTTPClient.HTTPClient.EventLoopPreference.Preference.indifferent)) Waiter(promise: NIO.EventLoopPromise<AsyncHTTPClient.ConnectionPool.Connection>(futureResult: NIO.EventLoopFuture<AsyncHTTPClient.ConnectionPool.Connection>), preference: AsyncHTTPClient.HTTPClient.EventLoopPreference(preference: AsyncHTTPClient.HTTPClient.EventLoopPreference.Preference.indifferent)) Waiter(promise: NIO.EventLoopPromise<AsyncHTTPClient.ConnectionPool.Connection>(futureResult: NIO.EventLoopFuture<AsyncHTTPClient.ConnectionPool.Connection>), preference: AsyncHTTPClient.HTTPClient.EventLoopPreference(preference: AsyncHTTPClient.HTTPClient.EventLoopPreference.Preference.indifferent)) Waiter(promise: NIO.EventLoopPromise<AsyncHTTPClient.ConnectionPool.Connection>(futureResult: NIO.EventLoopFuture<AsyncHTTPClient.ConnectionPool.Connection>), preference: AsyncHTTPClient.HTTPClient.EventLoopPreference(preference: AsyncHTTPClient.HTTPClient.EventLoopPreference.Preference.indifferent)) Waiter(promise: NIO.EventLoopPromise<AsyncHTTPClient.ConnectionPool.Connection>(futureResult: NIO.EventLoopFuture<AsyncHTTPClient.ConnectionPool.Connection>), preference: AsyncHTTPClient.HTTPClient.EventLoopPreference(preference: AsyncHTTPClient.HTTPClient.EventLoopPreference.Preference.indifferent)) Waiter(promise: NIO.EventLoopPromise<AsyncHTTPClient.ConnectionPool.Connection>(futureResult: NIO.EventLoopFuture<AsyncHTTPClient.ConnectionPool.Connection>), preference: AsyncHTTPClient.HTTPClient.EventLoopPreference(preference: AsyncHTTPClient.HTTPClient.EventLoopPreference.Preference.indifferent)) Waiter(promise: NIO.EventLoopPromise<AsyncHTTPClient.ConnectionPool.Connection>(futureResult: NIO.EventLoopFuture<AsyncHTTPClient.ConnectionPool.Connection>), preference: AsyncHTTPClient.HTTPClient.EventLoopPreference(preference: AsyncHTTPClient.HTTPClient.EventLoopPreference.Preference.indifferent)) Waiter(promise: NIO.EventLoopPromise<AsyncHTTPClient.ConnectionPool.Connection>(futureResult: NIO.EventLoopFuture<AsyncHTTPClient.ConnectionPool.Connection>), preference: AsyncHTTPClient.HTTPClient.EventLoopPreference(preference: AsyncHTTPClient.HTTPClient.EventLoopPreference.Preference.indifferent)) Waiter(promise: NIO.EventLoopPromise<AsyncHTTPClient.ConnectionPool.Connection>(futureResult: NIO.EventLoopFuture<AsyncHTTPClient.ConnectionPool.Connection>), preference: AsyncHTTPClient.HTTPClient.EventLoopPreference(preference: AsyncHTTPClient.HTTPClient.EventLoopPreference.Preference.indifferent)) Waiter(promise: NIO.EventLoopPromise<AsyncHTTPClient.ConnectionPool.Connection>(futureResult: NIO.EventLoopFuture<AsyncHTTPClient.ConnectionPool.Connection>), preference: AsyncHTTPClient.HTTPClient.EventLoopPreference(preference: AsyncHTTPClient.HTTPClient.EventLoopPreference.Preference.indifferent)) Waiter(promise: NIO.EventLoopPromise<AsyncHTTPClient.ConnectionPool.Connection>(futureResult: NIO.EventLoopFuture<AsyncHTTPClient.ConnectionPool.Connection>), preference: AsyncHTTPClient.HTTPClient.EventLoopPreference(preference: AsyncHTTPClient.HTTPClient.EventLoopPreference.Preference.indifferent)) Waiter(promise: NIO.EventLoopPromise<AsyncHTTPClient.ConnectionPool.Connection>(futureResult: NIO.EventLoopFuture<AsyncHTTPClient.ConnectionPool.Connection>), preference: AsyncHTTPClient.HTTPClient.EventLoopPreference(preference: AsyncHTTPClient.HTTPClient.EventLoopPreference.Preference.indifferent)) Waiter(promise: NIO.EventLoopPromise<AsyncHTTPClient.ConnectionPool.Connection>(futureResult: NIO.EventLoopFuture<AsyncHTTPClient.ConnectionPool.Connection>), preference: AsyncHTTPClient.HTTPClient.EventLoopPreference(preference: AsyncHTTPClient.HTTPClient.EventLoopPreference.Preference.indifferent)) Waiter(promise: NIO.EventLoopPromise<AsyncHTTPClient.ConnectionPool.Connection>(futureResult: NIO.EventLoopFuture<AsyncHTTPClient.ConnectionPool.Connection>), preference: AsyncHTTPClient.HTTPClient.EventLoopPreference(preference: AsyncHTTPClient.HTTPClient.EventLoopPreference.Preference.indifferent)) Waiter(promise: NIO.EventLoopPromise<AsyncHTTPClient.ConnectionPool.Connection>(futureResult: NIO.EventLoopFuture<AsyncHTTPClient.ConnectionPool.Connection>), preference: AsyncHTTPClient.HTTPClient.EventLoopPreference(preference: AsyncHTTPClient.HTTPClient.EventLoopPreference.Preference.indifferent)) Waiter(promise: NIO.EventLoopPromise<AsyncHTTPClient.ConnectionPool.Connection>(futureResult: NIO.EventLoopFuture<AsyncHTTPClient.ConnectionPool.Connection>), preference: AsyncHTTPClient.HTTPClient.EventLoopPreference(preference: AsyncHTTPClient.HTTPClient.EventLoopPreference.Preference.indifferent)) Waiter(promise: NIO.EventLoopPromise<AsyncHTTPClient.ConnectionPool.Connection>(futureResult: NIO.EventLoopFuture<AsyncHTTPClient.ConnectionPool.Connection>), preference: AsyncHTTPClient.HTTPClient.EventLoopPreference(preference: AsyncHTTPClient.HTTPClient.EventLoopPreference.Preference.indifferent)) Waiter(promise: NIO.EventLoopPromise<AsyncHTTPClient.ConnectionPool.Connection>(futureResult: NIO.EventLoopFuture<AsyncHTTPClient.ConnectionPool.Connection>), preference: AsyncHTTPClient.HTTPClient.EventLoopPreference(preference: AsyncHTTPClient.HTTPClient.EventLoopPreference.Preference.indifferent)) Waiter(promise: NIO.EventLoopPromise<AsyncHTTPClient.ConnectionPool.Connection>(futureResult: NIO.EventLoopFuture<AsyncHTTPClient.ConnectionPool.Connection>), preference: AsyncHTTPClient.HTTPClient.EventLoopPreference(preference: AsyncHTTPClient.HTTPClient.EventLoopPreference.Preference.indifferent)) Waiter(promise: NIO.EventLoopPromise<AsyncHTTPClient.ConnectionPool.Connection>(futureResult: NIO.EventLoopFuture<AsyncHTTPClient.ConnectionPool.Connection>), preference: AsyncHTTPClient.HTTPClient.EventLoopPreference(preference: AsyncHTTPClient.HTTPClient.EventLoopPreference.Preference.indifferent)) Waiter(promise: NIO.EventLoopPromise<AsyncHTTPClient.ConnectionPool.Connection>(futureResult: NIO.EventLoopFuture<AsyncHTTPClient.ConnectionPool.Connection>), preference: AsyncHTTPClient.HTTPClient.EventLoopPreference(preference: AsyncHTTPClient.HTTPClient.EventLoopPreference.Preference.indifferent)) Waiter(promise: NIO.EventLoopPromise<AsyncHTTPClient.ConnectionPool.Connection>(futureResult: NIO.EventLoopFuture<AsyncHTTPClient.ConnectionPool.Connection>), preference: AsyncHTTPClient.HTTPClient.EventLoopPreference(preference: AsyncHTTPClient.HTTPClient.EventLoopPreference.Preference.indifferent)) Waiter(promise: NIO.EventLoopPromise<AsyncHTTPClient.ConnectionPool.Connection>(futureResult: NIO.EventLoopFuture<AsyncHTTPClient.ConnectionPool.Connection>), preference: AsyncHTTPClient.HTTPClient.EventLoopPreference(preference: AsyncHTTPClient.HTTPClient.EventLoopPreference.Preference.indifferent)) Waiter(promise: NIO.EventLoopPromise<AsyncHTTPClient.ConnectionPool.Connection>(futureResult: NIO.EventLoopFuture<AsyncHTTPClient.ConnectionPool.Connection>), preference: AsyncHTTPClient.HTTPClient.EventLoopPreference(preference: AsyncHTTPClient.HTTPClient.EventLoopPreference.Preference.indifferent)) Waiter(promise: NIO.EventLoopPromise<AsyncHTTPClient.ConnectionPool.Connection>(futureResult: NIO.EventLoopFuture<AsyncHTTPClient.ConnectionPool.Connection>), preference: AsyncHTTPClient.HTTPClient.EventLoopPreference(preference: AsyncHTTPClient.HTTPClient.EventLoopPreference.Preference.indifferent)) Waiter(promise: NIO.EventLoopPromise<AsyncHTTPClient.ConnectionPool.Connection>(futureResult: NIO.EventLoopFuture<AsyncHTTPClient.ConnectionPool.Connection>), preference: AsyncHTTPClient.HTTPClient.EventLoopPreference(preference: AsyncHTTPClient.HTTPClient.EventLoopPreference.Preference.indifferent)) >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ] (bufferCapacity: 64, ringLength: 37)
    ▿ _buffer : 64 elements
      - 0 : nil
      ▿ 1 : Optional<Waiter>
        ▿ some : Waiter
          ▿ promise : EventLoopPromise<Connection>
            ▿ futureResult : <EventLoopFuture<Connection>: 0x102b0de90>
          ▿ preference : EventLoopPreference
            - preference : AsyncHTTPClient.HTTPClient.EventLoopPreference.Preference.indifferent
      ▿ 2 : Optional<Waiter>
        ▿ some : Waiter
          ▿ promise : EventLoopPromise<Connection>
            ▿ futureResult : <EventLoopFuture<Connection>: 0x102984fc0>
          ▿ preference : EventLoopPreference
            - preference : AsyncHTTPClient.HTTPClient.EventLoopPreference.Preference.indifferent
      ▿ 3 : Optional<Waiter>
        ▿ some : Waiter
          ▿ promise : EventLoopPromise<Connection>
            ▿ futureResult : <EventLoopFuture<Connection>: 0x102e05cf0>
          ▿ preference : EventLoopPreference
            - preference : AsyncHTTPClient.HTTPClient.EventLoopPreference.Preference.indifferent
      ▿ 4 : Optional<Waiter>
        ▿ some : Waiter
          ▿ promise : EventLoopPromise<Connection>
            ▿ futureResult : <EventLoopFuture<Connection>: 0x102c07270>
          ▿ preference : EventLoopPreference
            - preference : AsyncHTTPClient.HTTPClient.EventLoopPreference.Preference.indifferent
      ▿ 5 : Optional<Waiter>
        ▿ some : Waiter
          ▿ promise : EventLoopPromise<Connection>
            ▿ futureResult : <EventLoopFuture<Connection>: 0x100e22b60>
          ▿ preference : EventLoopPreference
            - preference : AsyncHTTPClient.HTTPClient.EventLoopPreference.Preference.indifferent
      ▿ 6 : Optional<Waiter>
        ▿ some : Waiter
          ▿ promise : EventLoopPromise<Connection>
            ▿ futureResult : <EventLoopFuture<Connection>: 0x102985500>
          ▿ preference : EventLoopPreference
            - preference : AsyncHTTPClient.HTTPClient.EventLoopPreference.Preference.indifferent
      ▿ 7 : Optional<Waiter>
        ▿ some : Waiter
          ▿ promise : EventLoopPromise<Connection>
            ▿ futureResult : <EventLoopFuture<Connection>: 0x102e063c0>
          ▿ preference : EventLoopPreference
            - preference : AsyncHTTPClient.HTTPClient.EventLoopPreference.Preference.indifferent
      ▿ 8 : Optional<Waiter>
        ▿ some : Waiter
          ▿ promise : EventLoopPromise<Connection>
            ▿ futureResult : <EventLoopFuture<Connection>: 0x100f06770>
          ▿ preference : EventLoopPreference
            - preference : AsyncHTTPClient.HTTPClient.EventLoopPreference.Preference.indifferent
      ▿ 9 : Optional<Waiter>
        ▿ some : Waiter
          ▿ promise : EventLoopPromise<Connection>
            ▿ futureResult : <EventLoopFuture<Connection>: 0x102f06070>
          ▿ preference : EventLoopPreference
            - preference : AsyncHTTPClient.HTTPClient.EventLoopPreference.Preference.indifferent
      ▿ 10 : Optional<Waiter>
        ▿ some : Waiter
          ▿ promise : EventLoopPromise<Connection>
            ▿ futureResult : <EventLoopFuture<Connection>: 0x102985aa0>
          ▿ preference : EventLoopPreference
            - preference : AsyncHTTPClient.HTTPClient.EventLoopPreference.Preference.indifferent
      ▿ 11 : Optional<Waiter>
        ▿ some : Waiter
          ▿ promise : EventLoopPromise<Connection>
            ▿ futureResult : <EventLoopFuture<Connection>: 0x100b1bf50>
          ▿ preference : EventLoopPreference
            - preference : AsyncHTTPClient.HTTPClient.EventLoopPreference.Preference.indifferent
      ▿ 12 : Optional<Waiter>
        ▿ some : Waiter
          ▿ promise : EventLoopPromise<Connection>
            ▿ futureResult : <EventLoopFuture<Connection>: 0x100f06b80>
          ▿ preference : EventLoopPreference
            - preference : AsyncHTTPClient.HTTPClient.EventLoopPreference.Preference.indifferent
      ▿ 13 : Optional<Waiter>
        ▿ some : Waiter
          ▿ promise : EventLoopPromise<Connection>
            ▿ futureResult : <EventLoopFuture<Connection>: 0x102b0dee0>
          ▿ preference : EventLoopPreference
            - preference : AsyncHTTPClient.HTTPClient.EventLoopPreference.Preference.indifferent
      ▿ 14 : Optional<Waiter>
        ▿ some : Waiter
          ▿ promise : EventLoopPromise<Connection>
            ▿ futureResult : <EventLoopFuture<Connection>: 0x100f06f60>
          ▿ preference : EventLoopPreference
            - preference : AsyncHTTPClient.HTTPClient.EventLoopPreference.Preference.indifferent
      ▿ 15 : Optional<Waiter>
        ▿ some : Waiter
          ▿ promise : EventLoopPromise<Connection>
            ▿ futureResult : <EventLoopFuture<Connection>: 0x100b1ccf0>
          ▿ preference : EventLoopPreference
            - preference : AsyncHTTPClient.HTTPClient.EventLoopPreference.Preference.indifferent
      ▿ 16 : Optional<Waiter>
        ▿ some : Waiter
          ▿ promise : EventLoopPromise<Connection>
            ▿ futureResult : <EventLoopFuture<Connection>: 0x102986200>
          ▿ preference : EventLoopPreference
            - preference : AsyncHTTPClient.HTTPClient.EventLoopPreference.Preference.indifferent
      ▿ 17 : Optional<Waiter>
        ▿ some : Waiter
          ▿ promise : EventLoopPromise<Connection>
            ▿ futureResult : <EventLoopFuture<Connection>: 0x100c1ca40>
          ▿ preference : EventLoopPreference
            - preference : AsyncHTTPClient.HTTPClient.EventLoopPreference.Preference.indifferent
      ▿ 18 : Optional<Waiter>
        ▿ some : Waiter
          ▿ promise : EventLoopPromise<Connection>
            ▿ futureResult : <EventLoopFuture<Connection>: 0x102f065e0>
          ▿ preference : EventLoopPreference
            - preference : AsyncHTTPClient.HTTPClient.EventLoopPreference.Preference.indifferent
      ▿ 19 : Optional<Waiter>
        ▿ some : Waiter
          ▿ promise : EventLoopPromise<Connection>
            ▿ futureResult : <EventLoopFuture<Connection>: 0x1029865e0>
          ▿ preference : EventLoopPreference
            - preference : AsyncHTTPClient.HTTPClient.EventLoopPreference.Preference.indifferent
      ▿ 20 : Optional<Waiter>
        ▿ some : Waiter
          ▿ promise : EventLoopPromise<Connection>
            ▿ futureResult : <EventLoopFuture<Connection>: 0x100b1d260>
          ▿ preference : EventLoopPreference
            - preference : AsyncHTTPClient.HTTPClient.EventLoopPreference.Preference.indifferent
      ▿ 21 : Optional<Waiter>
        ▿ some : Waiter
          ▿ promise : EventLoopPromise<Connection>
            ▿ futureResult : <EventLoopFuture<Connection>: 0x100d06500>
          ▿ preference : EventLoopPreference
            - preference : AsyncHTTPClient.HTTPClient.EventLoopPreference.Preference.indifferent
      ▿ 22 : Optional<Waiter>
        ▿ some : Waiter
          ▿ promise : EventLoopPromise<Connection>
            ▿ futureResult : <EventLoopFuture<Connection>: 0x100c1cde0>
          ▿ preference : EventLoopPreference
            - preference : AsyncHTTPClient.HTTPClient.EventLoopPreference.Preference.indifferent
      ▿ 23 : Optional<Waiter>
        ▿ some : Waiter
          ▿ promise : EventLoopPromise<Connection>
            ▿ futureResult : <EventLoopFuture<Connection>: 0x102b0e7a0>
          ▿ preference : EventLoopPreference
            - preference : AsyncHTTPClient.HTTPClient.EventLoopPreference.Preference.indifferent
      ▿ 24 : Optional<Waiter>
        ▿ some : Waiter
          ▿ promise : EventLoopPromise<Connection>
            ▿ futureResult : <EventLoopFuture<Connection>: 0x100f07430>
          ▿ preference : EventLoopPreference
            - preference : AsyncHTTPClient.HTTPClient.EventLoopPreference.Preference.indifferent
      ▿ 25 : Optional<Waiter>
        ▿ some : Waiter
          ▿ promise : EventLoopPromise<Connection>
            ▿ futureResult : <EventLoopFuture<Connection>: 0x102c078f0>
          ▿ preference : EventLoopPreference
            - preference : AsyncHTTPClient.HTTPClient.EventLoopPreference.Preference.indifferent
      ▿ 26 : Optional<Waiter>
        ▿ some : Waiter
          ▿ promise : EventLoopPromise<Connection>
            ▿ futureResult : <EventLoopFuture<Connection>: 0x102d061e0>
          ▿ preference : EventLoopPreference
            - preference : AsyncHTTPClient.HTTPClient.EventLoopPreference.Preference.indifferent
      ▿ 27 : Optional<Waiter>
        ▿ some : Waiter
          ▿ promise : EventLoopPromise<Connection>
            ▿ futureResult : <EventLoopFuture<Connection>: 0x102b0eab0>
          ▿ preference : EventLoopPreference
            - preference : AsyncHTTPClient.HTTPClient.EventLoopPreference.Preference.indifferent
      ▿ 28 : Optional<Waiter>
        ▿ some : Waiter
          ▿ promise : EventLoopPromise<Connection>
            ▿ futureResult : <EventLoopFuture<Connection>: 0x100d069f0>
          ▿ preference : EventLoopPreference
            - preference : AsyncHTTPClient.HTTPClient.EventLoopPreference.Preference.indifferent
      ▿ 29 : Optional<Waiter>
        ▿ some : Waiter
          ▿ promise : EventLoopPromise<Connection>
            ▿ futureResult : <EventLoopFuture<Connection>: 0x102986c70>
          ▿ preference : EventLoopPreference
            - preference : AsyncHTTPClient.HTTPClient.EventLoopPreference.Preference.indifferent
      ▿ 30 : Optional<Waiter>
        ▿ some : Waiter
          ▿ promise : EventLoopPromise<Connection>
            ▿ futureResult : <EventLoopFuture<Connection>: 0x100c1d290>
          ▿ preference : EventLoopPreference
            - preference : AsyncHTTPClient.HTTPClient.EventLoopPreference.Preference.indifferent
      ▿ 31 : Optional<Waiter>
        ▿ some : Waiter
          ▿ promise : EventLoopPromise<Connection>
            ▿ futureResult : <EventLoopFuture<Connection>: 0x102b0edc0>
          ▿ preference : EventLoopPreference
            - preference : AsyncHTTPClient.HTTPClient.EventLoopPreference.Preference.indifferent
      ▿ 32 : Optional<Waiter>
        ▿ some : Waiter
          ▿ promise : EventLoopPromise<Connection>
            ▿ futureResult : <EventLoopFuture<Connection>: 0x100b1dce0>
          ▿ preference : EventLoopPreference
            - preference : AsyncHTTPClient.HTTPClient.EventLoopPreference.Preference.indifferent
      ▿ 33 : Optional<Waiter>
        ▿ some : Waiter
          ▿ promise : EventLoopPromise<Connection>
            ▿ futureResult : <EventLoopFuture<Connection>: 0x100c1d780>
          ▿ preference : EventLoopPreference
            - preference : AsyncHTTPClient.HTTPClient.EventLoopPreference.Preference.indifferent
      ▿ 34 : Optional<Waiter>
        ▿ some : Waiter
          ▿ promise : EventLoopPromise<Connection>
            ▿ futureResult : <EventLoopFuture<Connection>: 0x100d06e10>
          ▿ preference : EventLoopPreference
            - preference : AsyncHTTPClient.HTTPClient.EventLoopPreference.Preference.indifferent
      ▿ 35 : Optional<Waiter>
        ▿ some : Waiter
          ▿ promise : EventLoopPromise<Connection>
            ▿ futureResult : <EventLoopFuture<Connection>: 0x100c1db30>
          ▿ preference : EventLoopPreference
            - preference : AsyncHTTPClient.HTTPClient.EventLoopPreference.Preference.indifferent
      ▿ 36 : Optional<Waiter>
        ▿ some : Waiter
          ▿ promise : EventLoopPromise<Connection>
            ▿ futureResult : <EventLoopFuture<Connection>: 0x100b1def0>
          ▿ preference : EventLoopPreference
            - preference : AsyncHTTPClient.HTTPClient.EventLoopPreference.Preference.indifferent
      ▿ 37 : Optional<Waiter>
        ▿ some : Waiter
          ▿ promise : EventLoopPromise<Connection>
            ▿ futureResult : <EventLoopFuture<Connection>: 0x102f069c0>
          ▿ preference : EventLoopPreference
            - preference : AsyncHTTPClient.HTTPClient.EventLoopPreference.Preference.indifferent
      - 38 : nil
      - 39 : nil
      - 40 : nil
      - 41 : nil
      - 42 : nil
      - 43 : nil
      - 44 : nil
      - 45 : nil
      - 46 : nil
      - 47 : nil
      - 48 : nil
      - 49 : nil
      - 50 : nil
      - 51 : nil
      - 52 : nil
      - 53 : nil
      - 54 : nil
      - 55 : nil
      - 56 : nil
      - 57 : nil
      - 58 : nil
      - 59 : nil
      - 60 : nil
      - 61 : nil
      - 62 : nil
      - 63 : nil
    - headBackingIndex : 1
    - tailBackingIndex : 38
  - activity : closing
  - pending : 0
  ▿ parentPool : <ConnectionPool: 0x100b15230>
  ▿ key : Key
    - scheme : AsyncHTTPClient.ConnectionPool.Key.Scheme.http
    - host : "localhost"
    - port : 52913
    - unixPath : ""

@weissi
Copy link
Contributor Author

weissi commented Mar 5, 2020

actually, with this diff applied, it's a 100% repro for me:

$ git diff
diff --git a/Tests/AsyncHTTPClientTests/HTTPClientTests.swift b/Tests/AsyncHTTPClientTests/HTTPClientTests.swift
index 049ce78..5f8a7e2 100644
--- a/Tests/AsyncHTTPClientTests/HTTPClientTests.swift
+++ b/Tests/AsyncHTTPClientTests/HTTPClientTests.swift
@@ -1271,7 +1271,7 @@ class HTTPClientTests: XCTestCase {
     }
 
     func testRaceNewRequestsVsShutdown() {
-        let numberOfWorkers = 20
+        let numberOfWorkers = 64
         let allWorkersReady = DispatchSemaphore(value: 0)
         let allWorkersGo = DispatchSemaphore(value: 0)
         let allDone = DispatchGroup()
@@ -1323,7 +1323,7 @@ class HTTPClientTests: XCTestCase {
         for _ in 0..<numberOfWorkers {
             allWorkersGo.signal()
         }
-        Thread.sleep(until: .init(timeIntervalSinceNow: 0.2))
+        Thread.sleep(until: .init(timeIntervalSinceNow: 0.001))
         XCTAssertNoThrow(try httpClient.syncShutdown())
         // all workers should be running, let's wait for them to finish
         allDone.wait()

@PopFlamingo
Copy link
Contributor

Thank you!

@artemredkin artemredkin self-assigned this Mar 30, 2020
@artemredkin artemredkin added this to the 1.2.0 milestone Mar 30, 2020
@weissi
Copy link
Contributor Author

weissi commented Apr 1, 2020

hit again in CI (5.0)

Test Case 'HTTPClientTests.testRaceNewRequestsVsShutdown' started at 2020-04-01 14:14:43.402
Assertion failed: Invalid number of leased connections (-1): file /code/Sources/AsyncHTTPClient/ConnectionPool.swift, line 509
Current stack trace:
0    libswiftCore.so                    0x00007fa32cfb1830 _swift_stdlib_reportFatalErrorInFile + 115
1    libswiftCore.so                    0x00007fa32ceec94c <unavailable> + 3463500
2    libswiftCore.so                    0x00007fa32ceeca3e <unavailable> + 3463742
3    libswiftCore.so                    0x00007fa32cce829a <unavailable> + 1348250
4    libswiftCore.so                    0x00007fa32cec0a32 <unavailable> + 3283506
5    libswiftCore.so                    0x00007fa32cce7569 <unavailable> + 1344873
6    async-http-clientPackageTests.xctest 0x0000562e556b33d3 <unavailable> + 603091
7    async-http-clientPackageTests.xctest 0x0000562e556b3417 <unavailable> + 603159
8    async-http-clientPackageTests.xctest 0x0000562e556acd5e <unavailable> + 576862
9    async-http-clientPackageTests.xctest 0x0000562e556ac50a <unavailable> + 574730
10   async-http-clientPackageTests.xctest 0x0000562e556b8181 <unavailable> + 622977
11   async-http-clientPackageTests.xctest 0x0000562e556acf0a <unavailable> + 577290
12   async-http-clientPackageTests.xctest 0x0000562e556b81cb <unavailable> + 623051
13   async-http-clientPackageTests.xctest 0x0000562e55b2ac7b <unavailable> + 5287035
14   async-http-clientPackageTests.xctest 0x0000562e556ac412 <unavailable> + 574482
15   async-http-clientPackageTests.xctest 0x0000562e556b2201 <unavailable> + 598529
16   async-http-clientPackageTests.xctest 0x0000562e556acf0a <unavailable> + 577290
17   async-http-clientPackageTests.xctest 0x0000562e556b224b <unavailable> + 598603
18   async-http-clientPackageTests.xctest 0x0000562e55b2ac7b <unavailable> + 5287035
19   async-http-clientPackageTests.xctest 0x0000562e556abd89 <unavailable> + 572809
20   async-http-clientPackageTests.xctest 0x0000562e556a3e44 <unavailable> + 540228
21   async-http-clientPackageTests.xctest 0x0000562e556a5ec2 <unavailable> + 548546
22   async-http-clientPackageTests.xctest 0x0000562e556e6882 <unavailable> + 813186
23   async-http-clientPackageTests.xctest 0x0000562e556e689c <unavailable> + 813212
24   async-http-clientPackageTests.xctest 0x0000562e556a4e0c <unavailable> + 544268
25   async-http-clientPackageTests.xctest 0x0000562e556e6911 <unavailable> + 813329
26   async-http-clientPackageTests.xctest 0x0000562e55a4013c <unavailable> + 4325692
27   async-http-clientPackageTests.xctest 0x0000562e55a44b50 <unavailable> + 4344656
28   async-http-clientPackageTests.xctest 0x0000562e55a41bf5 <unavailable> + 4332533
29   async-http-clientPackageTests.xctest 0x0000562e55a44bb5 <unavailable> + 4344757
30   async-http-clientPackageTests.xctest 0x0000562e55a3ef13 <unavailable> + 4321043
31   async-http-clientPackageTests.xctest 0x0000562e55a3f075 <unavailable> + 4321397
32   async-http-clientPackageTests.xctest 0x0000562e55a401ee <unavailable> + 4325870
33   async-http-clientPackageTests.xctest 0x0000562e55a3ff9d <unavailable> + 4325277
34   async-http-clientPackageTests.xctest 0x0000562e556e5430 <unavailable> + 807984
35   async-http-clientPackageTests.xctest 0x0000562e556e5a40 <unavailable> + 809536
36   async-http-clientPackageTests.xctest 0x0000562e556e6b57 <unavailable> + 813911
37   async-http-clientPackageTests.xctest 0x0000562e556b02b0 <unavailable> + 590512
38   async-http-clientPackageTests.xctest 0x0000562e556e6bb1 <unavailable> + 814001
39   async-http-clientPackageTests.xctest 0x0000562e55a4227c <unavailable> + 4334204
40   async-http-clientPackageTests.xctest 0x0000562e55a44e15 <unavailable> + 4345365
41   async-http-clientPackageTests.xctest 0x0000562e55a3abe9 <unavailable> + 4303849
42   async-http-clientPackageTests.xctest 0x0000562e55a3b9c4 <unavailable> + 4307396
43   async-http-clientPackageTests.xctest 0x0000562e55a3b89a <unavailable> + 4307098
44   async-http-clientPackageTests.xctest 0x0000562e556af544 <unavailable> + 587076
45   async-http-clientPackageTests.xctest 0x0000562e556b768a <unavailable> + 620170
46   async-http-clientPackageTests.xctest 0x0000562e556b02b0 <unavailable> + 590512
47   async-http-clientPackageTests.xctest 0x0000562e556b76e1 <unavailable> + 620257
48   async-http-clientPackageTests.xctest 0x0000562e55a4227c <unavailable> + 4334204
49   async-http-clientPackageTests.xctest 0x0000562e55a44e15 <unavailable> + 4345365
50   async-http-clientPackageTests.xctest 0x0000562e55a3abe9 <unavailable> + 4303849
51   async-http-clientPackageTests.xctest 0x0000562e55a3b9c4 <unavailable> + 4307396
52   async-http-clientPackageTests.xctest 0x0000562e55a3b89a <unavailable> + 4307098
53   async-http-clientPackageTests.xctest 0x0000562e55999cac <unavailable> + 3644588
54   async-http-clientPackageTests.xctest 0x0000562e559a0f5c <unavailable> + 3673948
55   async-http-clientPackageTests.xctest 0x0000562e55abf68c <unavailable> + 4847244
56   async-http-clientPackageTests.xctest 0x0000562e55ac3651 <unavailable> + 4863569
57   async-http-clientPackageTests.xctest 0x0000562e55abf6ac <unavailable> + 4847276
58   async-http-clientPackageTests.xctest 0x0000562e55abf811 <unavailable> + 4847633
59   async-http-clientPackageTests.xctest 0x0000562e55abf6f7 <unavailable> + 4847351
60   async-http-clientPackageTests.xctest 0x0000562e55abf761 <unavailable> + 4847457
61   async-http-clientPackageTests.xctest 0x0000562e556a37e6 <unavailable> + 538598
62   async-http-clientPackageTests.xctest 0x0000562e55abf7ab <unavailable> + 4847531
63   async-http-clientPackageTests.xctest 0x0000562e55ab83a9 <unavailable> + 4817833
64   async-http-clientPackageTests.xctest 0x0000562e55abdcf2 <unavailable> + 4840690
65   async-http-clientPackageTests.xctest 0x0000562e55a31fa2 <unavailable> + 4267938
66   async-http-clientPackageTests.xctest 0x0000562e55a38d1d <unavailable> + 4295965
67   async-http-clientPackageTests.xctest 0x0000562e55a328af <unavailable> + 4270255
68   async-http-clientPackageTests.xctest 0x0000562e55b103c1 <unavailable> + 5178305
69   async-http-clientPackageTests.xctest 0x0000562e55b13e09 <unavailable> + 5193225
70   async-http-clientPackageTests.xctest 0x0000562e55b13ec9 <unavailable> + 5193417
71   libpthread.so.0                    0x00007fa32c9876db <unavailable> + 30427
72   libc.so.6                          0x00007fa32ac0f850 clone + 63
Exited with signal code 4

@artemredkin
Copy link
Collaborator

Yeah, I'm working on it, hopefully will have something by the end of the week

@weissi
Copy link
Contributor Author

weissi commented Apr 1, 2020

@artemredkin oh sorry, I just realise the failure I just pasted is different to the what the ticket itself is about. Are you chatting to @adtrevor too? He's working on a patch for the '-1 leased connections' I think?

@artemredkin
Copy link
Collaborator

Not sure about Trevor, I've been trying to re-factor connection release a bit myself, it should address both issues

@PopFlamingo
Copy link
Contributor

PopFlamingo commented Apr 1, 2020

@artemredkin It's great if you have a code re-factor because IMO it's really hard right now to reason about the client state as a whole.

I do have a start for a fix: https://github.com/adtrevor/async-http-client/tree/final-state-fix (already merged the async shutdown commit into this)
To my knowledge there is only one remaining bug with testProxyStreaming (due to the main task being completed before the task streaming the request body is released, causing an unclean shutdown). Also this adds a new state case and while it does fix the issues I'm not sure if this is the best approach.

I don't know how these changes overlap with yours, if it overlaps too much I guess the best thing to do will probably be to pick one (probably yours since the refactor must simplify the code) and just check it does address every single the other commit fixed. WDYT?
cc @weissi

@artemredkin
Copy link
Collaborator

@adtrevor Hi! Sorry for slightly delayed response. I was racing to get this finished, but was not quite able to yet. I've submitted a draft PR (there are some issues I'm still addressing) - #192
How does this approach look to you?

@artemredkin artemredkin linked a pull request Apr 3, 2020 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/testing Improvements to tests.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants