systemf icon indicating copy to clipboard operation
systemf copied to clipboard

fix file descriptor leak in example http server code

Open adamyi opened this issue 4 years ago • 1 comments

Originally the code only closed the fd for the connection but not for the file.

I'm running this code in prod and it ran out of fds fairly quickly. This fix makes it more stable :)

adamyi avatar Jul 06 '20 10:07 adamyi

Hey @ajyoon, just a friendly ping on this :)

adamyi avatar Mar 23 '22 03:03 adamyi