uriyage 1d18842074
Fix bug in writeToClient (#834)
Fix bug in writeToClient
In https://github.com/valkey-io/valkey/pull/758, a major refactor was
done to `networking.c`.

As part of this refactor, a new bug was introduced: we don't advance the
`c->buf` pointer in repeated writes.

This bug should be very unlikely to manifest, as it requires the
client's TCP buffer to be filled in the first try and then released
immediately after in the second try.

Despite all my efforts to reproduce this scenario, I was unable to do
so.

Signed-off-by: Uri Yagelnik <uriy@amazon.com>
2024-07-30 21:54:18 -07:00
..
2024-06-03 12:22:06 -07:00
2024-05-22 23:24:12 -07:00
2024-06-30 11:33:10 -07:00
2024-05-22 23:24:12 -07:00
2024-05-22 23:24:12 -07:00
2024-05-22 23:24:12 -07:00
2024-05-22 23:24:12 -07:00
2024-07-18 19:21:45 -07:00
2024-07-18 19:21:45 -07:00
2024-05-22 23:24:12 -07:00
2024-05-22 23:24:12 -07:00
2024-05-22 23:24:12 -07:00
2024-05-28 09:27:51 -07:00
2024-05-22 23:24:12 -07:00
2024-05-22 23:24:12 -07:00
2024-05-22 23:24:12 -07:00
2024-05-22 23:24:12 -07:00
2024-05-22 23:24:12 -07:00
2024-05-22 23:24:12 -07:00
2024-05-22 23:24:12 -07:00
2024-05-22 23:24:12 -07:00
2024-07-08 20:01:39 -07:00
2024-05-22 23:24:12 -07:00
2024-05-22 23:24:12 -07:00
2024-05-22 23:24:12 -07:00
2024-07-02 15:45:37 -07:00
2024-07-18 19:21:45 -07:00
2024-07-18 19:21:45 -07:00
2024-07-08 20:01:39 -07:00
2024-05-22 23:24:12 -07:00
2024-06-07 01:40:55 +02:00
2024-05-22 23:24:12 -07:00
2024-05-22 23:24:12 -07:00
2024-05-22 23:24:12 -07:00
2024-05-22 23:24:12 -07:00
2024-07-20 23:48:00 +02:00
2024-05-22 23:24:12 -07:00
2024-07-18 19:21:45 -07:00
2024-07-02 15:45:37 -07:00
2024-07-02 15:45:37 -07:00
2024-05-22 23:24:12 -07:00
2024-05-22 23:24:12 -07:00
2024-05-22 23:24:12 -07:00
2024-05-22 23:24:12 -07:00
2024-05-22 23:24:12 -07:00
2024-05-22 23:24:12 -07:00
2020-05-05 23:35:08 -04:00
2024-05-22 23:24:12 -07:00
2024-07-18 19:21:45 -07:00
2024-05-22 23:24:12 -07:00
2024-07-30 21:54:18 -07:00
2024-07-02 15:45:37 -07:00
2024-05-22 23:24:12 -07:00
2024-05-22 23:24:12 -07:00
2024-05-22 23:24:12 -07:00
2024-05-22 23:24:12 -07:00
2024-05-22 23:24:12 -07:00
2024-05-22 23:24:12 -07:00
2024-05-22 23:24:12 -07:00
2024-07-17 13:59:33 -07:00
2024-06-07 01:40:55 +02:00
2024-05-22 23:24:12 -07:00
2024-07-02 15:45:37 -07:00
2024-07-02 15:45:37 -07:00
2024-05-22 23:24:12 -07:00
2024-05-22 23:24:12 -07:00
2021-07-10 10:04:54 -05:00
2024-05-22 23:24:12 -07:00
2024-07-08 20:01:39 -07:00
2024-05-22 23:24:12 -07:00
2024-06-30 11:33:10 -07:00
2024-05-22 23:24:12 -07:00
2014-07-02 16:31:22 +02:00
2024-05-22 23:24:12 -07:00
2024-05-22 23:24:12 -07:00
2024-05-22 23:24:12 -07:00
2024-05-22 23:24:12 -07:00
2024-07-08 20:01:39 -07:00
2024-07-08 20:01:39 -07:00
2024-05-27 23:03:34 +02:00
2024-05-22 23:24:12 -07:00
2024-05-22 23:24:12 -07:00
2024-05-22 23:24:12 -07:00