commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rina (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (FILEUPLOAD-263) Chunk size while every read
Date Tue, 25 Nov 2014 08:13:12 GMT

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

Rina updated FILEUPLOAD-263:
----------------------------
    Attachment: data.txt

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)

Mime
View raw message