[nginx-tests] Tests: fixed HTTP/3 build_int() for large integers.
Maxim Dounin
mdounin at mdounin.ru
Sat Apr 27 15:57:04 UTC 2024
details: http://freenginx.org/hg/nginx-tests/rev/9877dce42a59
branches:
changeset: 1959:9877dce42a59
user: Maxim Dounin <mdounin at mdounin.ru>
date: Sat Apr 27 18:55:14 2024 +0300
description:
Tests: fixed HTTP/3 build_int() for large integers.
diffstat:
lib/Test/Nginx/HTTP3.pm | 16 ++++++++--------
1 files changed, 8 insertions(+), 8 deletions(-)
diffs (26 lines):
diff --git a/lib/Test/Nginx/HTTP3.pm b/lib/Test/Nginx/HTTP3.pm
--- a/lib/Test/Nginx/HTTP3.pm
+++ b/lib/Test/Nginx/HTTP3.pm
@@ -2087,14 +2087,14 @@ sub build_int {
} else {
pack("C*",
- build_int_set->($value, 7, 3),
- build_int_set->($value, 6, 0),
- build_int_set->($value, 5, 0),
- build_int_set->($value, 4, 0),
- build_int_set->($value, 3, 0),
- build_int_set->($value, 2, 0),
- build_int_set->($value, 1, 0),
- build_int_set->($value, 0, 0),
+ $build_int_set->($value, 7, 3),
+ $build_int_set->($value, 6, 0),
+ $build_int_set->($value, 5, 0),
+ $build_int_set->($value, 4, 0),
+ $build_int_set->($value, 3, 0),
+ $build_int_set->($value, 2, 0),
+ $build_int_set->($value, 1, 0),
+ $build_int_set->($value, 0, 0),
);
}
}
More information about the nginx-devel
mailing list