backend/sys/client: Use unbounded buffering, with a test case#851
backend/sys/client: Use unbounded buffering, with a test case#851
Conversation
|
Hm, FreeBSD failing with: Given the |
5496042 to
8bb1a31
Compare
|
I guess we should have tests for both |
|
CI is hanging on this test in I guess an issue with how the test is written, rather than the |
|
It looks like
If it's possible for |
|
|
|
But a |
5f65b21 to
8965d64
Compare
client_system|
The test hanging on CI still seems to be an issue. And not a one-off fluke... (It would be nice to reproduce that locally.) |
8965d64 to
5b24933
Compare
5b24933 to
f305c69
Compare
|
Actually, I thought Pop!_OS 24.04 was using the same libwayland version as Ubuntu, but it isn't, and I can reproduce this in I'll bisect to see what's going on with the hanging test. |
|
Ah, I guess the test hang is expected (or, well, maybe an error not a hang), since libwayland only added support for re-sizing the buffers to accommodate more messages in https://gitlab.freedesktop.org/wayland/wayland/-/commit/d074d52902633d8700ce06b484508db0f8fba02b. As part of libwayland 1.23. |
To match the behavior of `libwayland-client`, we should default to unbounded buffers; while servers should only use bounded buffers. I'm not sure why using `roundtrip()` gets `WouldBlock` with `client_system,server_system`, but not with just `client_system`...
Matches behavior of `libwayland` and the `sys` backend.
f305c69 to
4c69cfc
Compare
|
Limited the test to only run without |
To match the behavior of
libwayland-client, we should default to unbounded buffers; while servers should only use bounded buffers.I'm not sure why using
roundtrip()getsWouldBlockwithclient_system,server_system, but not with justclient_system...