Return-Path: X-Original-To: apmail-commons-issues-archive@minotaur.apache.org Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 05B64104C5 for ; Tue, 25 Nov 2014 08:13:18 +0000 (UTC) Received: (qmail 80865 invoked by uid 500); 25 Nov 2014 08:13:12 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 80764 invoked by uid 500); 25 Nov 2014 08:13:12 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 80651 invoked by uid 99); 25 Nov 2014 08:13:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Nov 2014 08:13:12 +0000 Date: Tue, 25 Nov 2014 08:13:12 +0000 (UTC) From: "Rina (JIRA)" To: issues@commons.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (FILEUPLOAD-263) Chunk size while every read MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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)