-
Notifications
You must be signed in to change notification settings - Fork 44
Comparing changes
Open a pull request
base repository: projectdiscovery/utils
base: v0.7.3
head repository: projectdiscovery/utils
compare: v0.8.0
- 6 commits
- 5 files changed
- 5 contributors
Commits on Dec 19, 2025
-
test(httputil): add TestSemaphoreLeakDeadlock
Co-authored-by: Egor <ezzer17@users.noreply.github.com> Signed-off-by: Dwi Siswanto <git@dw1.io>
Configuration menu - View commit details
-
Copy full SHA for fcf5221 - Browse repository at this point
Copy the full SHA fcf5221View commit details -
feat(sizedpool): add
Discardmethod to release semaphore slotAdd `(*SizedPool[T]).Discard` method that releases the semaphore slot without returning the item to the underlying [sync.Pool]. This enables callers to properly release resources when intentionally discarding items (e.g., oversized buffers) instead of returning them to the pool. Also, refactor `(*SizedPool[T]).Put()` to use `(*SizedPool[T]).Discard()` internally. Signed-off-by: Dwi Siswanto <git@dw1.io>
Configuration menu - View commit details
-
Copy full SHA for 7015483 - Browse repository at this point
Copy the full SHA 7015483View commit details -
fix(httputil): semaphore leak causing deadlock in buffer pool
When `putBuffer()` discarded buffers (either oversized or when the large buffer channel was full), the sizedpool semaphore slot acquired by `getBuffer()` was never released. This caused semaphore exhaustion and eventual deadlock under sustained load with large response bodies. Call `bufPool.Discard()` in both discard paths to properly release the semaphore slot. Fixes #714. Signed-off-by: Dwi Siswanto <git@dw1.io>
Configuration menu - View commit details
-
Copy full SHA for c0579e1 - Browse repository at this point
Copy the full SHA c0579e1View commit details -
chore(deps): bump machineid@c77eb356758248194e779cad2275fe0594e75f51 (#…
…713) This helps to build projectdiscovery's projects in Fedora. Signed-off-by: Mikel Olasagasti Uranga <mikel@olasagasti.info>
Configuration menu - View commit details
-
Copy full SHA for ea09756 - Browse repository at this point
Copy the full SHA ea09756View commit details -
Merge pull request #715 from projectdiscovery/dwisiswant0/fix/respcha…
…in-deadlock Fix `httputil.ResponseChain` deadlock
Configuration menu - View commit details
-
Copy full SHA for c69ecd0 - Browse repository at this point
Copy the full SHA c69ecd0View commit details -
chore(deps): bump the modules group with 6 updates
Bumps the modules group with 6 updates: | Package | From | To | | --- | --- | --- | | [github.com/projectdiscovery/fastdialer](https://github.com/projectdiscovery/fastdialer) | `0.4.17` | `0.4.18` | | [github.com/projectdiscovery/networkpolicy](https://github.com/projectdiscovery/networkpolicy) | `0.1.29` | `0.1.30` | | [github.com/projectdiscovery/retryabledns](https://github.com/projectdiscovery/retryabledns) | `1.0.109` | `1.0.110` | | [github.com/projectdiscovery/gologger](https://github.com/projectdiscovery/gologger) | `1.1.61` | `1.1.62` | | [github.com/projectdiscovery/hmap](https://github.com/projectdiscovery/hmap) | `0.0.96` | `0.0.97` | | [github.com/projectdiscovery/retryablehttp-go](https://github.com/projectdiscovery/retryablehttp-go) | `1.0.132` | `1.0.133` | Updates `github.com/projectdiscovery/fastdialer` from 0.4.17 to 0.4.18 - [Release notes](https://github.com/projectdiscovery/fastdialer/releases) - [Commits](projectdiscovery/fastdialer@v0.4.17...v0.4.18) Updates `github.com/projectdiscovery/networkpolicy` from 0.1.29 to 0.1.30 - [Release notes](https://github.com/projectdiscovery/networkpolicy/releases) - [Commits](projectdiscovery/networkpolicy@v0.1.29...v0.1.30) Updates `github.com/projectdiscovery/retryabledns` from 1.0.109 to 1.0.110 - [Release notes](https://github.com/projectdiscovery/retryabledns/releases) - [Commits](projectdiscovery/retryabledns@v1.0.109...v1.0.110) Updates `github.com/projectdiscovery/gologger` from 1.1.61 to 1.1.62 - [Release notes](https://github.com/projectdiscovery/gologger/releases) - [Commits](projectdiscovery/gologger@v1.1.61...v1.1.62) Updates `github.com/projectdiscovery/hmap` from 0.0.96 to 0.0.97 - [Release notes](https://github.com/projectdiscovery/hmap/releases) - [Commits](projectdiscovery/hmap@v0.0.96...v0.0.97) Updates `github.com/projectdiscovery/retryablehttp-go` from 1.0.132 to 1.0.133 - [Release notes](https://github.com/projectdiscovery/retryablehttp-go/releases) - [Commits](projectdiscovery/retryablehttp-go@v1.0.132...v1.0.133) --- updated-dependencies: - dependency-name: github.com/projectdiscovery/fastdialer dependency-version: 0.4.18 dependency-type: indirect update-type: version-update:semver-patch dependency-group: modules - dependency-name: github.com/projectdiscovery/networkpolicy dependency-version: 0.1.30 dependency-type: indirect update-type: version-update:semver-patch dependency-group: modules - dependency-name: github.com/projectdiscovery/retryabledns dependency-version: 1.0.110 dependency-type: indirect update-type: version-update:semver-patch dependency-group: modules - dependency-name: github.com/projectdiscovery/gologger dependency-version: 1.1.62 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: modules - dependency-name: github.com/projectdiscovery/hmap dependency-version: 0.0.97 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: modules - dependency-name: github.com/projectdiscovery/retryablehttp-go dependency-version: 1.0.133 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: modules ... Signed-off-by: dependabot[bot] <support@github.com>
Configuration menu - View commit details
-
Copy full SHA for 8411c03 - Browse repository at this point
Copy the full SHA 8411c03View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v0.7.3...v0.8.0