change length of each burst in multipart file upload in android
Asked Answered
S

0

10

Is there some way to limit the parts size that are sent on a MultipartEntity from the org.apache.http.entity.mime.MultipartEntity . I am using volley for network requests. I have tried extending the Volley request class and overriding the getbody() method.

Salzman answered 21/11, 2015 at 6:15 Comment(3)
Pls read #10225896 to see if it can help or notTrapp
And the following link #7199580Trapp
Outside specifics of your implementation ( volley ) have you consider just 'chunked' encoded declaration in Http headers? or , more involve, in building/config the socket used by Http Conn , have you consider tweek on the buffer sizes ( SndBuf, RcvBuf ) ? docs.oracle.com/javase/6/docs/api/java/net/… hc.apache.org/httpcomponents-client-4.5.x/httpclient/examples/… Not clear why your app code needs to get involve at that layer of framework?Larisa

© 2022 - 2024 — McMap. All rights reserved.