Http/1: Call write() less often
We should try to write as much as possible in one go.
If we add an unbuffered mode then each write may result in a direct
system call. But even with buffered mode it depends on if it's a TLS
connection and the state of the internal ring buffer if it'll be split
up or not.
Pick-to: 6.8
Change-Id: I337a05884e95d100705663a27ecdece167b1ea10
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Reviewed-by: Lena Biliaieva <lena.biliaieva@qt.io>
| commit | 181e133d44f3d69d13911220303bdec0f4d5c087 |
| parent | 1e290b29e1cc765bc00f9f8e61895ae1107c0ff2 |
| author | Mårten Nordheim <marten.nordheim@qt.io> |
| committer | Mårten Nordheim <marten.nordheim@qt.io> |
| commit time | Wed, 24 Jul 2024 16:06:11 +0200 |