We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 41e53ad commit 7612e8fCopy full SHA for 7612e8f
Sources/AsyncHTTPClient/HTTPHandler.swift
@@ -93,7 +93,8 @@ extension HTTPClient {
93
loop.assertInEventLoop()
94
95
if let (index, element) = iterator.next() {
96
- self.write(.byteBuffer(ByteBuffer(bytes: chunk.element))).hop(to: loop).assumeIsolated().map {
+ self.write(.byteBuffer(ByteBuffer(bytes: chunk.element))).hop(to: loop).assumeIsolated().map
97
+ {
98
if (index + 1) % 4 == 0 {
99
// Let's not stack-overflow if the futures insta-complete which they at least in HTTP/2
100
// mode.
0 commit comments