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.
change length of each burst in multipart file upload in android
Asked Answered
Pls read #10225896 to see if it can help or not –
Trapp
And the following link #7199580 –
Trapp
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.