Open FreddyMSchubert opened 4 weeks ago
Well, this needs a lot more attention.
We can't just read out all of the data and then parse it separately, we need to actually collect the data live as we receive it. Otherwise, if someone was to send an infinite data stream, our server would be blocked forever, which is not allowed as per the subject.
I've deleted the previous branch, this needs a larger rework.
Lemme sketch out how I think this might work before getting started, anything might change:
So, lets make
IsClosed function
Closing function
Given that the goal of this project is merely to serve a fully static website, sending in chunk transfer encoding is not something I deem to be strictly necessary at the moment. I'd just... not do that.
its very broken not working at all