hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oleg Kalnichevski (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (HTTPCLIENT-1676) Jdk 8 http upload speed
Date Tue, 11 Aug 2015 09:27:46 GMT

     [ https://issues.apache.org/jira/browse/HTTPCLIENT-1676?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Oleg Kalnichevski resolved HTTPCLIENT-1676.
-------------------------------------------
       Resolution: Invalid
    Fix Version/s:     (was: 4.5)

What _does_ this have to do with HttpClient, let alone being a bug in HttpClient?

Oleg

> Jdk 8 http upload speed
> -----------------------
>
>                 Key: HTTPCLIENT-1676
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1676
>             Project: HttpComponents HttpClient
>          Issue Type: Bug
>          Components: HttpClient
>         Environment: jdk8, windows 2008
>            Reporter: aoe fm
>              Labels: jdk8
>
> I write simple java code upload file to web server. It running smoothly with jdk7 (upload
speed about: 20 MB /s), but when i switching to JDK8 upload speed down to 2MB/s. I have tested
and it same result with apache httpclient, okhttp (windows and linux) Could you help me solve
this issue. this is simple code using apache http client
>     FileEntity fileEntity = new FileEntity (file,
>             "application/octet-stream");
>     final RequestBuilder preUpload1 = RequestBuilder.post()
>             .setUri(new URI(upload_url)).setEntity(fileEntity)
>         ;
>     String responseBody = httpclient.execute(preUpload1.build(),
>             new StringResponseHandler());



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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


Mime
View raw message