On Fri, 1 Feb 2019, Felipe Kersting via curl-library wrote:
Is there a workaround here? Is it possible to send a large chunk of data without the SEEK function?
The problem is that at times curl already managed to send off a hole bunch of data when it gets redirected and it has to send that data *again*. It does its best to avoid that, but sometimes it can't be helped!
If you can rewind then you're toast. But note that rewinding can also mean closing the entire thing and opening it from the beginning again, if that is easier.
If none of those options are available to you, then I think you should up the efforts of not having to send the data twice. For example check Expect: 100-continue status or if you can us the target URL directly etc.
-- / daniel.haxx.se ------------------------------------------------------------------- Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library Etiquette: https://curl.haxx.se/mail/etiquette.html