WebFuzzForge / wenum

Wfuzz fork
GNU General Public License v2.0
19 stars 6 forks source link

Updated lock. Additionally fixed 2 other things: #81

Closed percepo closed 10 months ago

percepo commented 10 months ago

First, the SeedQueue <-> HttpQueue interaction with the blocking event signal receive_seed_queue was refactored. With the new implementation, SeedQueue wasn't effectively prevented from stacking big amounts of items into the HttpQueue. Second, another deadlock condition should be fixed. HttpQueue signalled to the main thread to have stopped, but its threads that would sometimes still receive http responses would continue working, putting items after the queues "promised" not to do so, and blocking the join with the main thread, hanging indefinitely. HttpQueue now only signals having stopped after its threads close.