creationix / weblit

A web framework for luvit 2.0 and lit
MIT License
110 stars 24 forks source link

possible security thing #1

Open peepuk opened 9 years ago

peepuk commented 9 years ago

When experimenting with file uploading , when POST-ing large files, you get an "out of memory" and it uses 2 G. Maybe not really a problem but it would be nice if there was a way to restrict the maximum bytes for a request body. The max-size of the header is already restricted.

Maybe Options to weblittapp or validation function for requests?

I didn't try it on https://luvit.io/