curl / curl-fuzzer

Quality assurance testing for the curl project
MIT License
85 stars 30 forks source link

Prevent large numbers of CURLOPT_HEADERs from being added in testcases #13

Closed cmeister2 closed 6 years ago

cmeister2 commented 6 years ago

Because we want to test having different combinations of headers, we allow multiple CURLOPT_HEADERs. However, we start hitting timeouts in the fuzzer if we have lots of headers, presumably due to the time taken to insert these entries in the lists (e.g. we have seen issues with 23804 CURLOPT_HEADERs).

This should be limited to a reasonable number like 2000.

cmeister2 commented 6 years ago

Fixed by #15.