Open javateck opened 7 years ago
why content-length is defined as int, not long, this is not RFC compliant, right? imagine people upload more than MAX int content and set the content-length, it will fail, it happens in MultipartContext, can we have a quick fix?
actually when I looked the code, seems no reference to this getContentLength, I guess we could just use -1 if it has int overflow
why content-length is defined as int, not long, this is not RFC compliant, right? imagine people upload more than MAX int content and set the content-length, it will fail, it happens in MultipartContext, can we have a quick fix?