Skip to content

Commit 7612e8f

Browse files
committed
format
1 parent 41e53ad commit 7612e8f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Sources/AsyncHTTPClient/HTTPHandler.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,8 @@ extension HTTPClient {
9393
loop.assertInEventLoop()
9494

9595
if let (index, element) = iterator.next() {
96-
self.write(.byteBuffer(ByteBuffer(bytes: chunk.element))).hop(to: loop).assumeIsolated().map {
96+
self.write(.byteBuffer(ByteBuffer(bytes: chunk.element))).hop(to: loop).assumeIsolated().map
97+
{
9798
if (index + 1) % 4 == 0 {
9899
// Let's not stack-overflow if the futures insta-complete which they at least in HTTP/2
99100
// mode.

0 commit comments

Comments
 (0)