hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oleg Kalnichevski <ol...@apache.org>
Subject Re: Uploading file > 2GB
Date Fri, 18 Jul 2014 18:46:44 GMT
On Fri, 2014-07-18 at 21:15 +0530, Ashish Dhawan wrote:
> Hi,
> 
> I have a need of uploading a file using Apache HttpClient whose size > 2GB.
> 'm using Weblogic 10.3 as my server.
> 
> I have written the following code to upload files using HttpClient 4.3.4.
> This code works fine for all files < 2 GB.
> For files > 2GB, I get the following error on my client:
> 
> INFO: I/O exception (java.net.SocketException) caught when processing
> request to {}->http://<client_ip>: Connection reset by peer: socket write
> error

This does not look like an HttpClient problem to me. 'Connection reset
by peer' usually means that the opposite end (the server in your case)
is unable to process the request and abnormally terminates the
connection.

Oleg



---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
For additional commands, e-mail: httpclient-users-help@hc.apache.org


Mime
View raw message