I am having a problem where a multithreaded download application that we wrote is sometimes getting 408 error . We think it might be because the user has increased the number of threads ,and this has caused the error. We think it may be possible that during the network call, context switch happens and that results in thread not sending all the packets required for the call to succeed and sever gives a 408 timeout error. Is that possible or is it that network calls are not dependent with context switches.
We are using python threads and pycurl module to download the data using 120 threads .