diff options
-rw-r--r-- | meta/recipes-core/glib-networking/glib-networking/eagain.patch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-core/glib-networking/glib-networking/eagain.patch b/meta/recipes-core/glib-networking/glib-networking/eagain.patch index ac6592ffef..ee5b6a7beb 100644 --- a/meta/recipes-core/glib-networking/glib-networking/eagain.patch +++ b/meta/recipes-core/glib-networking/glib-networking/eagain.patch | |||
@@ -21,7 +21,7 @@ Index: glib-networking-2.74.0/tls/tests/connection.c | |||
21 | MIN (TEST_DATA_LENGTH / 2, TEST_DATA_LENGTH - test->nread), | 21 | MIN (TEST_DATA_LENGTH / 2, TEST_DATA_LENGTH - test->nread), |
22 | NULL, &error); | 22 | NULL, &error); |
23 | + | 23 | + |
24 | + if (g_error_matches (error, G_IO_ERROR, G_IO_ERROR_BUSY)) | 24 | + if (g_error_matches (error, G_IO_ERROR, G_IO_ERROR_WOULD_BLOCK)) |
25 | + continue; | 25 | + continue; |
26 | + | 26 | + |
27 | g_assert_no_error (error); | 27 | g_assert_no_error (error); |