basic-http-server icon indicating copy to clipboard operation
basic-http-server copied to clipboard

Make program exit gracefully when binding fails.

Open richard-uk1 opened this issue 6 years ago • 0 comments

Also give good error message when address is in use.

I've reopened this PR. If you want to test it before merging

git remote add derekdreery https://github.com/derekdreery/basic-http-server
git fetch derekdreery
git checkout derekdreery/handle_addr_in_use

(I hate looking up git commands so I thought I'd save you the trouble :P)

It should work - I'm not sure why it wasn't for you. Maybe it was to do with a merge artifact, which this shouldn't exhibit since it's rebased on master.

richard-uk1 avatar Jul 02 '19 10:07 richard-uk1