RE: User Data in a HTRequest


> I do not know if this is right place to propose extensions to the
> www-lib, so please let me know if there is another place to do this.

I've got the same problem.

> I would like to be able to associate additional data with a request
> in order to access this data in callbacks. A simple void* in the
> _HTRequest struct would already do the trick.
> Or is there already a way to accomplish this?

There is a void* field for this purpose in the HTRequest (its name is "context").
You can set it using HTRequest_setContext and read it using HTRequest_context.
See HTReq.h for details.

Hope this will help.

Happy New Year!

Maciej Puzio