#Could anyone assist does body Vec u8 or
7 messages · Page 1 of 1 (latest)
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.
Yea, TLS Will need to encrypt in chunks, whereas plain text can flush the full thing without modification
but difference here is just adding or removing use_rustls_tls, by default it uses TLS anyway, since it is able to connect via HTTPs,
Could be buffer size is reduced? I just have slow upload while using use_rustls_tls, should I stay away from this option?
there is no plain text on any of these screenshots, both sending request to same url, difference is only in use_rustls_tls
@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.