Hello, I'm having an issue with ktor 3-rc-1 and mu...
# ktor
e
Hello, I'm having an issue with ktor 3-rc-1 and multipart. Reading bytes on FileItem work as expected when using ktor-client to upload a 20Mo file to the server. But with Web client or Postman or Curl, the same file take 40min to be read. If i used ktor 2 and streamProvider for reading the file, it's working with all client. I've miss something, or it could be a bug in ktor 3 ?
b
I believe in 2.0 the data would get truncated
e
No error on this, i apply a Long.MAX value
What i've been seeing it's readRemaining read with very small chunck with a postman call compared to a ktor client call
also with ktor client, i've a Content-Lenght header in the FileItem part, but not with postman
b
Ok, could you provide some more details on what the expected behaviour is and what is observed, ideally with a minimal example and file a bug report in youtrack https://youtrack.jetbrains.com/newIssue?project=ktor