Check the Content-Length before reading the request's content
Check the Content-Length before reading the request's content

Some browsers, like Firefox, do not support files that are larger than 2GB.
Uploading a >2GB file causes an integer overflow and the Content-Length
header is set to a negative value.

To prevent any crash in this case, we check the Content-Length value before
reading the request's content. When the value is negative, an error 400 is
returned.

A bug about this problem is openned for Firefox:
    - https://bugzilla.mozilla.org/show_bug.cgi?id=215450

watonyweng/yaws,sebgod/yaws,watonyweng/yaws,zephyrean/yaws,watonyweng/yaws,patternmatched/yaws,imtal/yaws,imtal/yaws,andreineculau/yaws,leoliu/yaws,patternmatched/yaws,weisslj/yaws,klacke/yaws,andreineculau/yaws,klacke/yaws,namjae/yaws,capflam/yaws,sebgod/yaws,bsmr-erlang/yaws,toraritte/azith,namjae/yaws,weisslj/yaws,ca91/yaws,namjae/yaws,toraritte/azith,andreineculau/yaws,sebgod/yaws,bsmr-erlang/yaws,watonyweng/yaws,phonohawk/yaws,toraritte/azith,zephyrean/yaws,watonyweng/yaws,klacke/yaws,leoliu/yaws,toraritte/azith,namjae/yaws,bsmr-erlang/yaws,imtal/yaws,weisslj/yaws,imtal/yaws,ca91/yaws,weisslj/yaws,toraritte/azith,sebgod/yaws,phonohawk/yaws,namjae/yaws,andreineculau/yaws,capflam/yaws,ca91/yaws,leoliu/yaws,capflam/yaws,phonohawk/yaws,ca91/yaws,patternmatched/yaws,capflam/yaws,bsmr-erlang/yaws,klacke/yaws,phonohawk/yaws,andreineculau/yaws,imtal/yaws,bsmr-erlang/yaws,watonyweng/yaws,sebgod/yaws,toraritte/azith,patternmatched/yaws,imtal/yaws,patternmatched/yaws,zephyrean/yaws,ca91/yaws,watonyweng/yaws,klacke/yaws,zephyrean/yaws,weisslj/yaws,sebgod/yaws,patternmatched/yaws,patternmatched/yaws,toraritte/azith,bsmr-erlang/yaws,ca91/yaws,klacke/yaws,capflam/yaws,namjae/yaws,ca91/yaws,bsmr-erlang/yaws,leoliu/yaws,klacke/yaws,zephyrean/yaws,leoliu/yaws,weisslj/yaws,leoliu/yaws,leoliu/yaws,weisslj/yaws,zephyrean/yaws,phonohawk/yaws,namjae/yaws,sebgod/yaws,capflam/yaws,zephyrean/yaws,phonohawk/yaws,capflam/yaws,imtal/yaws,phonohawk/yaws