]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
tests: allow 2500-2503 to use ~2MB malloc
authorDaniel Stenberg <daniel@haxx.se>
Thu, 27 Nov 2025 14:55:47 +0000 (15:55 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 27 Nov 2025 15:09:48 +0000 (16:09 +0100)
On Linux using UDP_GRO, curl might allocate a (single) 1.5MB buffer for
maximum performance.

Fixes #19716
Closes #19731

tests/data/test2500
tests/data/test2501
tests/data/test2502
tests/data/test2503

index f92cabfd32b6f323fbdb88b00c7d75db0a17fdfa..bc6790c2c1f1f361da1bd8a607ae5f3a9d995c46 100644 (file)
@@ -73,5 +73,9 @@ via: 1.1 nghttpx
 <stripfile>
 s/^server: nghttpx.*\r?\n//
 </stripfile>
+<limits>
+Allocations: 150
+Maximum allocated: 1800000
+</limits>
 </verify>
 </testcase>
index 99167ec48e869bc5f689fb6ee2bcec0e0cd9792a..01505f4ce27f46225c4aa889e1f2a66b82094c99 100644 (file)
@@ -65,5 +65,8 @@ Via: 3 nghttpx
 
 moo
 </protocol>
+<limits>
+Maximum allocated: 1900000
+</limits>
 </verify>
 </testcase>
index 627cfdccad8ea79f8eaa9d6f7cf07b4594992598..ac6cd3cf588cfc6a51e807fe1e2efce0162b8781 100644 (file)
@@ -101,5 +101,8 @@ Via: 3 nghttpx
 <stripfile>
 $_ = '' if(($_ !~ /left intact/) && ($_ !~ /Closing connection/))
 </stripfile>
+<limits>
+Maximum allocated: 1800000
+</limits>
 </verify>
 </testcase>
index 722d0ceb7adf926dc35dbb17bb14821bce9b4655..9e8d4c3d490cbe11c24838db240b171591a6f3d7 100644 (file)
@@ -65,5 +65,8 @@ via: 1.1 nghttpx
 "via":["1.1 nghttpx"]
 }
 </stdout>
+<limits>
+Maximum allocated: 1800000
+</limits>
 </verify>
 </testcase>