Hello everyone I have a few questions about how t...
# ktor
a
Hello everyone I have a few questions about how the multipart works because I think I'm missing something. I send large files (from 500M to 1G) from my mobile applications which use ktor as http client. My server receives them fine (also in kotlin via ktor). The problem is that depending on the user's connection, if it takes a long time I'll reach socket timeout and ktor will throw an exception. I thought that the socket timeout was the time between two packets, and that multipart was notably used to send a large file in multiple packets, so we shouldn't reach the socket timeout (currently 4 minutes), should we?
a
Can you tell me which client engine you use?
a
Copy code
ktor-client-cio
For android
Copy code
ktor-client-darwin
For iOS
a
I get the expected
HttpRequestTimeoutException
when sending a large binary file. Can you share the exception thrown when the CIO engine is used?