https://kotlinlang.org logo
#ktor
Title
# ktor
d

Dan River

10/23/2023, 1:48 PM
Guys, I'm still having EOF Premature Close errors sending multipart file uploads with the Darwin engine even in version 2.3.5 The only good thing is that the error is now occurring in only 10% of the upload requests, down from 80% of the requests in version 2.3.4
z

Zoltan Demant

10/24/2023, 3:33 AM
Im no expert, but I recently had a similar issue; it ended up being related to me using ktor 2.3.5 whereas a library I was using was relying on 2.3.2. If youre using any library with ktor, might be worth checking out!
a

Aleksei Tirman [JB]

10/24/2023, 6:54 AM
Can you please share a link to the issue?
I mean about EOF Premature Close.
😅 1
r

Ranjith

10/27/2023, 7:14 AM
Rolling back to 2.3.2 helped me workaround this. With 2.3.4 or higher, I can consistently reproduce EOF premature exception for Multipart uploads