>
> >
> > From: 乐义华
> >
> > https://gitlab.freedesktop.org/spice/spice-gtk/issues/72
> > ---
> > src/channel-display.c | 5 -
> > src/spice-channel-cache.h | 8
> > 2 files changed, 12 insertions(+), 1 deletion(-)
> >
> > diff --git a/src/channel-display.c b/src/channel-displ
If guest sent an empty data message this was not parsed correctly.
Signed-off-by: Frediano Ziglio
---
server/red-stream-device.c| 2 +-
server/tests/test-stream-device.c | 18 +++---
2 files changed, 16 insertions(+), 4 deletions(-)
diff --git a/server/red-stream-device.c b
Signed-off-by: Frediano Ziglio
---
server/tests/test-stream-device.c | 63 +--
1 file changed, 18 insertions(+), 45 deletions(-)
diff --git a/server/tests/test-stream-device.c
b/server/tests/test-stream-device.c
index 6bd4127c5..1bcc1d42c 100644
--- a/server/tests/te
Signed-off-by: Frediano Ziglio
---
server/tests/test-stream-device.c | 133 --
1 file changed, 55 insertions(+), 78 deletions(-)
diff --git a/server/tests/test-stream-device.c
b/server/tests/test-stream-device.c
index 781b45af9..6bd4127c5 100644
--- a/server/tests/te
Multiple test and improvement to test, also minor fix to the device itself.
Frediano Ziglio (5):
red-stream-device: Fix and check empty data messages
test-stream-device: Check server detect and signal huge data
test-stream-device: Put common parts in setup/teardown functions
test-stream-de
Check that data sent to device are collapsed in a single message.
The StreamChannel object is mocked in the test.
This checks that commit dcc3f995d9f5575e319adcfe530c477a7c294ff3
("stream-device: handle_data: send whole message") is doing the
right thing.
Signed-off-by: Frediano Ziglio
---
serve
Signed-off-by: Frediano Ziglio
---
server/tests/test-stream-device.c | 41 ++-
1 file changed, 40 insertions(+), 1 deletion(-)
diff --git a/server/tests/test-stream-device.c
b/server/tests/test-stream-device.c
index ae9a78da5..781b45af9 100644
--- a/server/tests/test
On Wed, Jul 11, 2018 at 05:30:25PM +0100, Frediano Ziglio wrote:
> Leak detectors did not manage to find leaks, possibly as double list
> have all elements likely with a pointer to them.
> The reference from the agent is necessary for inserting it into
> the list.
>
> Signed-off-by: Frediano Zigli
>
> On 11/07/18 13:30, Frediano Ziglio wrote:
> > Leak detectors did not manage to find leaks, possibly as double list
> > have all elements likely with a pointer to them.
> > The reference from the agent is necessary for inserting it into
> > the list.
> >
> > Signed-off-by: Frediano Ziglio
> >
>
> From: 乐义华
>
> https://gitlab.freedesktop.org/spice/spice-gtk/issues/72
> ---
> src/channel-display.c | 5 -
> src/spice-channel-cache.h | 8
> 2 files changed, 12 insertions(+), 1 deletion(-)
>
> diff --git a/src/channel-display.c b/src/channel-display.c
> index 44ba043..1
10 matches
Mail list logo