Files
xserver/Xext
Enrico Weigelt, metux IT consult ca62578352 (!1601) Xext: xres: ProcXResQueryClientIds() collect reply in one buffer
In order to allow simplifying the reply send path, collect the reply
fragments into one buffer, instead of arbitrary number of WriteToClient()
calls. This also makes it much easier for potentially new purely packet-based
transports which (eg. binder) that would need their own stream parsing logic.

This xres function is an exceptionally hard case, since payload is constructed
step by step, and it's size only known when finished. The current way of the
fragment handling still has lots of room for improvement (eg. using very small
number of allocations), but leaving this for later exercise.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2024-09-18 17:23:09 +02:00
..
2015-07-08 16:40:58 -04:00
2020-07-05 13:07:33 -07:00
2024-06-23 19:31:46 +00:00
2020-07-05 13:07:33 -07:00
2014-01-12 10:24:11 -08:00
2024-07-26 23:51:13 +00:00
2014-01-12 10:24:11 -08:00