We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
1.1.2
io.ktor:ktor-client-ios
kotlin 1.3.20
I have a network call which randomly drops 2 bytes it only happens sometimes. In ktor/jvm works fine. Do you know what the issue can be?
The text was updated successfully, but these errors were encountered:
Hi @flaquir4, thanks for the report. I can't reproduce, could you provide the request URL?
Sorry, something went wrong.
Unfortunately I can't it's a private API.
EDIT:
I have found a workaround. It seems that readbytes() does not actually read all remaining bytes so I force to read remaining bytes.
var readBytes = readBytes() var stringResponse = stringFromUtf8Bytes(readBytes) while(this.content.availableForRead != 0) { readBytes = this.readBytes() stringResponse += stringFromUtf8Bytes (readBytes) }
Fixed by Kotlin/kotlinx-io#36
Fixed in 1.1.3.
e5l
No branches or pull requests
Ktor Version
1.1.2
Ktor Engine Used(client or server and name)
io.ktor:ktor-client-ios
JVM Version, Operating System and Relevant Context
kotlin 1.3.20
Feedback
I have a network call which randomly drops 2 bytes it only happens sometimes.
In ktor/jvm works fine.
Do you know what the issue can be?
The text was updated successfully, but these errors were encountered: