[glib-networking] Fix comment added in previous commit
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib-networking] Fix comment added in previous commit
- Date: Mon, 24 Jun 2019 14:30:35 +0000 (UTC)
commit 198a80214dbc9559b9f9079a275d1b3d26bb5041
Author: Michael Catanzaro <mcatanzaro igalia com>
Date: Mon Jun 24 09:29:59 2019 -0500
Fix comment added in previous commit
Dan informs me that this is sadly incorrect.
https://gitlab.gnome.org/GNOME/libsoup/merge_requests/70#note_539484
tls/tests/connection.c | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/tls/tests/connection.c b/tls/tests/connection.c
index f121131..e5cd537 100644
--- a/tls/tests/connection.c
+++ b/tls/tests/connection.c
@@ -1864,10 +1864,8 @@ test_unclean_close_by_server (TestConnection *test,
g_assert_error (test->read_error, G_TLS_ERROR, G_TLS_ERROR_EOF);
g_assert_cmpint (nread, ==, -1);
- /* Now do it again, except this time, we ignore truncation attacks. This is
- * important for protocols that have their own application-layer checks for
- * truncation, like HTTP 1.0 and later. HTTP servers routinely close sockets
- * without a close notify.
+ /* Now do it again, except this time, we ignore truncation attacks by
+ * disabling require_close_notify.
*/
g_clear_error (&test->read_error);
g_clear_object (&test->service);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]