Hi again,

Le 24/10/2012 23:41, Willy Tarreau a écrit :
No problem. The principle is quite simple: a fetch function is called with
a pointer to a sample in which to store the type and contents. If contents
need storage, you put them in a buffer-sized chunk returned by
sample_get_trash_chunk(). If the fetch callers need to convert the contents,
they call sample_get_trash_chunk() again and get the alternate buffer to
store the conversion.

Don't worry, we'll help you :-)

OK, thanks. The patch is ready but I had to spend some time on a bug in url2sa(). I'll send you a patch in a few minutes : this bug causes a segfault as soon as url2sa() is called. It concerns both "option http_proxy" and "url_ip".

--
Cyril Bonté

Reply via email to