hakluke / hakcheckurl

Takes a list of URLs and returns their HTTP response codes
MIT License
389 stars 44 forks source link

fix resp.Body.Close(), add ulimit -n #2

Closed morentharia closed 4 years ago

hakluke commented 4 years ago

@morentharia for some reason this caused an error for me and others on ubuntu:

image

ulimit must be called in a shell which is why it complains even though the ulimit command would normally work.

I reverted the merge for now so that the github version is working, do you have any idea how we might be able to fix this?