jquery form plugin does not send correct request header for file uploads

jquery form plugin does not send correct request header for file uploads

I am using jquery.form.js to handle file uploads via form in jsp. I have used HTTP Analyzer to check the action details.But the request generated in the HTTP header shows negative content length of the file when the file size exceeds 2^31 bytes. The browser shows the request as aborted and thus the upload for large files does not proceed.

Suppose that the file I have used has length of about 2.2 Gb but the request header shall show the Content-Length as -200 Mb. Thus no response is received any further to this request. But this works fine for smaller file sizes.

The  jquery.form.js code can be checked from here.

The servlet container in my case is Tomcat which I have already configured for large files. Is there any limit on the request limit for this plugin (in form of 32 bit or any other configuration).??What needs to be done in this case?