News for hackers. Stuff that matters.
Re:Show HN: Host your own minimal file sharing site (now wit... by huhtenberg on Thursday April 23, 2020 @09:07AM (#22955475)
> You're creating a memory leak

A resource leak. That's assuming that you are referring to temp files not getting removed once the POST handler exits... which is not how it works.

https://www.php.net/manual/en/features.file-upload.post-meth...

    The file will be deleted from the temporary directory 
    at the end of the request if it has not been moved 
    away or renamed. 
> the internal rfc1867 uploaded files hash table.

This RFC does not talk about life cycle management of uploaded files at all, leave alone such specifics as hash tables.

[dead]
Re:Show HN: Host your own minimal file sharing site (now wit... by dang on Friday April 24, 2020 @12:44AM (#22964719)
Yikes, please don't go on tilt like this on HN, regardless of how frustrating a conversation has become.

https://news.ycombinator.com/newsguidelines.html

[dead]
Re:Show HN: Host your own minimal file sharing site (now wit... by pedrocx486 on Thursday April 23, 2020 @04:17PM (#22960719)
Consider me impressed, you just posted here common sense and basic knowledge and yet triggered them hard. (Two comments in a row even.)

Is there a way to call Dang to have a look at those offensive comments? :-)

Re:Show HN: Host your own minimal file sharing site (now wit... by dang on Friday April 24, 2020 @12:42AM (#22964711)
You can flag a comment by clicking on its timestamp to go to its page, then click 'flag' at the top.

In egregious cases, email us at [email protected].