Skip to content

Fix timeout

Philippe Lafoucrière requested to merge fix-timeout into master

What does this MR do?

Fix DAST timeout when $DAST_TARGET_AVAILABILITY_TIMEOUT is used. The current version of dast uses a loop around curl, which can result in a longer timeout than $DAST_TARGET_AVAILABILITY_TIMEOUT (if the connection succeeds, but the server doesn't send any respond, curl will wait). This change ensures that the initial connection takes no longer than $DAST_TARGET_AVAILABILITY_TIMEOUT.

What are the relevant issue numbers?

N/A

Does this MR meet the acceptance criteria?

Edited by Philippe Lafoucrière

Merge request reports