You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Rina (JIRA)" <ji...@apache.org> on 2014/11/25 09:40:12 UTC

[jira] [Comment Edited] (FILEUPLOAD-263) Chunk size while every read

    [ https://issues.apache.org/jira/browse/FILEUPLOAD-263?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14224187#comment-14224187 ] 

Rina edited comment on FILEUPLOAD-263 at 11/25/14 8:39 AM:
-----------------------------------------------------------

Attached is  chunk bytes sequence while streaming ....and I am writing every chunk directly to remote file.

We are using streaming API , and directly write stream to remote file.

Now sometimes I get 4KB or sometimes I get 32/48 bytes only.So It took lot of round trip and file write total time, (Note this is for HTTPS)

Can you please help , how to improve this.

Thanks in advance


was (Author: rina):
This is chunk byte sequence while streaming ....and I am writing every chunk directly to remote file.

We are using streaming API , and directly write stream to remote file.

Now sometimes I get 4KB or sometimes I get 32/48 bytes only.So It took lot of round trip and file write total time, (Note this is for HTTPS)

Can you please help , how to improve this.

Thanks in advance

> Chunk size while every read
> ---------------------------
>
>                 Key: FILEUPLOAD-263
>                 URL: https://issues.apache.org/jira/browse/FILEUPLOAD-263
>             Project: Commons FileUpload
>          Issue Type: Test
>    Affects Versions: 1.3
>            Reporter: Rina
>         Attachments: data.txt
>
>
> Hi,
> I am using file upload for streaming , but I always receive 4073 bytes per read and after that some small bytes 38 bytes.My instance is on HTTPS.
> Server : Tomcat 
> Apache : Apache 2.4
> and If I upload file on http , I get 4073 continuous .
> File upload program sending 8KB bytes per chunk.If I directly read inputstream of request like request.getInputStream I am able to get 8084 bytes.
> Can you please let me know, can I set some buffer more than 4KB ...If yes  where can I do that



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