Threading for importing URLs
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 15.8k
- Forks
- 2.6k
- Avg merge
- 13h 16m
- Merged PRs (30d)
- 17
Description
Is your feature request related to a problem? Please describe.
We are doing some URL importing and it appears that importing the URLs happens sequentially. When I import a URL, it appears that ZAP tries to access it. If I am importing a few hundred URLs, this can take several minutes, slowing down the scan significantly.
I asked Cursor to help identify the problem and it highlighted this file and section of code. It appears to be accurate.
Describe the solution you'd like:
It should still access the URLs by design. Adding threading could speed up this process.
Describe alternatives you've considered:
See above
Screenshots:
See above
Additional context:
No response
Would you like to help fix this issue?
- Yes
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the file and code section identified in the attached screenshot, then trace the URL-import entry point and how each URL is accessed. Check for existing import or scan tests before deciding how concurrency should be bounded; done means importing many URLs remains functional while avoiding strictly sequential access.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- networking, security
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100