#Could anyone assist does body Vec u8 or

7 messages · Page 1 of 1 (latest)

narrow flint

Difference is on screenshots, where big flush - it is tokio::fs::read passed to .body()
Where is a lot of flushes - it is Vec passed to .body

Oh, using rustls tls makes such difference.

modest harbor

Yea, TLS Will need to encrypt in chunks, whereas plain text can flush the full thing without modification

narrow flint

there is no plain text on any of these screenshots, both sending request to same url, difference is only in use_rustls_tls

narrow flint

@modest harbor If It takes time to encrypt chunks, do you want to know time difference between using rustls or default? Default is faster than rustls x2-x2.5.