Skip to content

Conversation

knakul853
Copy link

@knakul853 knakul853 commented Sep 23, 2025

closes: #1245
in nuclei tests during parallel execution we had observed server and client package getting flagged as goroutine leaks.
it was reproducible from the issue #1245 added cleanup and avoid starting goroutine when client is created(it starts now when needed) and in server added cleanup state.

…se; tests

server: add HTTPServer.Close(ctx); ignore ErrServerClosed; goleak test
Copy link

coderabbitai bot commented Sep 23, 2025

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

✨ Finishing touches
🧪 Generate unit tests
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch fix/goleak-client-server

Comment @coderabbitai help to get the list of available commands and usage tips.

@knakul853
Copy link
Author

relates: projectdiscovery/nuclei#6490

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

goroutine leaks flagged in Interactsh Client/Server package
1 participant