On Mon, 17 Sep 2018, hatef madani wrote:

The main difference I can find between my code and yours is the way we used Memory Structure. I tried to pass it to server push callback as user pointer and you set it in a global variable. But I'm not sure this can be the reason for the error.

No, that's not a reason. I chose the global variable approach only to keep the code simple.

I think you just need to debug your code and make sure the calls to the callbacks get appended to the correct data areas.

I think the fact my example works shows that this is not a libcurl bug.

--

 / daniel.haxx.se
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:   https://curl.haxx.se/mail/etiquette.html

Reply via email to