login about faq

I'm using Chilkat background download to get 30M files from Amazon S3 on iOS devices. Some of my customers experiences serious download problems when downloading over wifi. I think that it's caused by buffer bloating (http://en.wikipedia.org/wiki/Bufferbloat) -- Their wifi routers have too big buffers which causes big downloads to fail.

Is there way to limit bandwidth usage / slow down download?

asked Jun 01 '13 at 13:26

ilkkapirttimaa's gravatar image


The C++ http library has a SoRcvBuf property you can set, I guess this is the iOS equivelant: http://www.chilkatsoft.com/refdoc/objcCkoHttpDoc.html#prop079

And perhaps you can include "sleep" calls in your eventcallbacks: http://www.chilkatsoft.com/refdoc/objcCkoHttpDoc.html#prop023


answered Jun 02 '13 at 02:59

Gert's gravatar image

Gert ♦

It seems suggestion doesn't work for me. Settings buffer size bigger or smaller don't affect since when buffer of intermediate network hardware is full, it doesn't help how big the buffers are -- I just need to be able to slow down download.

I'm using "http.UseBgThread = NO;". It seems that eventcallbacks are not called then, so I can't add sleep calls to background process.

Any other ideas?


answered Jun 19 '13 at 17:05

ilkkapirttimaa's gravatar image


Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: Jun 01 '13 at 13:26

Seen: 1,332 times

Last updated: Jun 19 '13 at 17:05

powered by OSQA