"Avi Manor" <ama...@airspan.com> wrote:

Please don't post in html. It's messy to format a sensible reply in html.

While testing this example I have noticed that every call to my_fwrite comes 
with size = 1.
This is the reason why the error is unnoticeable. However, it is not guaranteed to get every call with size = 1.

Why not? AFAICS, 'data->set.fwrite_func()' is always called with 'size=1'.
Ref. sendf.c line 456. Can you figure out where your callback is called
from? And on what OS and libcurl version do you see this behavior?

--gv

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html

Reply via email to