https://github.com/phronmophobic/close-hang-repro
https://github.com/phronmophobic/close-hang-repro
Last synced: over 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/phronmophobic/close-hang-repro
- Owner: phronmophobic
- Created: 2022-12-13T00:55:16.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-12-13T01:00:17.000Z (over 3 years ago)
- Last Synced: 2025-03-29T19:42:13.808Z (over 1 year ago)
- Language: Clojure
- Size: 1000 Bytes
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
A minimal reproduction of a hang when calling close on a returned input-stream.
It makes a difference what url is used. I was able to reproduce a consistent hang with `"https://github.com/uscensusbureau/citysdk/archive/bc93425d47508741c8fa8131ac09a53372e1e088.zip"`.
## Usage
Either call the -main function in the `repro` namespace or execute from the command line:
```sh
clojure -M -m repro
```
Note that the function will never return and it will hang forever.