mirror of
https://github.com/Stirling-Tools/Stirling-PDF.git
synced 2025-04-19 11:11:18 +00:00
delete cookie after process
This commit is contained in:
parent
263789a4bf
commit
16996968df
@ -105,6 +105,7 @@ test_all_urls() {
|
||||
|
||||
# Clean up
|
||||
rm -rf "$tmp_dir"
|
||||
rm -f cookies.txt
|
||||
|
||||
local end_time=$(date +%s)
|
||||
local duration=$((end_time - start_time))
|
||||
@ -158,7 +159,7 @@ main() {
|
||||
exit 1
|
||||
fi
|
||||
|
||||
curl -s -c cookies.txt $base_url/
|
||||
curl -s -c cookies.txt -o /dev/null $base_url/
|
||||
|
||||
# Run tests using the URL list
|
||||
if test_all_urls "$url_file" "$base_url" "$max_parallel"; then
|
||||
|
Loading…
x
Reference in New Issue
Block a user