Is your feature request related to a problem? Please describe.
ChunkedTransferEncoding.kt uses a fixed chunk size of 4088 bytes.
Describe the solution you'd like
The chunk size should be configurable.
Motivation to include to ktor
Small chunk sizes can result in a lot of network overhead when transferring a large file. If a server serves up mainly large files, having a tunable chunk size can cut down on the overhead thus speeding up large file transfers.
Subsystem ktor-http
Is your feature request related to a problem? Please describe. ChunkedTransferEncoding.kt uses a fixed chunk size of 4088 bytes.
Describe the solution you'd like The chunk size should be configurable.
Motivation to include to ktor Small chunk sizes can result in a lot of network overhead when transferring a large file. If a server serves up mainly large files, having a tunable chunk size can cut down on the overhead thus speeding up large file transfers.