Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crtsh: properly close database connection #436

Merged
merged 3 commits into from
Jul 30, 2021

Conversation

karelorigin
Copy link
Contributor

@karelorigin karelorigin commented Jul 30, 2021

I managed to track down a socket leak to the crtsh source. This probably wouldn't have been noticeable via the command line as resources are automatically freed after the process exits. Unfortunately, it does become a problem when importing subfinder as a library. Closing the database connection appears to fix the leak.

dependabot bot and others added 3 commits July 19, 2021 14:03
Bumps golang from 1.16-alpine to 1.16.6-alpine.

---
updated-dependencies:
- dependency-name: golang
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
…bot/docker/golang-1.16.6-alpine

chore(deps): bump golang from 1.16-alpine to 1.16.6-alpine
@ehsandeep ehsandeep changed the base branch from master to dev July 30, 2021 11:07
@003random
Copy link

003random commented Jul 30, 2021

turns out this was the problem for #345

Copy link
Member

@Ice3man543 Ice3man543 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lgtm

@ehsandeep
Copy link
Member

Thank you @karelorigin for this fix, @003random finally.

@ehsandeep ehsandeep merged commit 8085a84 into projectdiscovery:dev Jul 30, 2021
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.

None yet

4 participants