manu@... a \ufffdcrit : > Benoit Branciard <benoit.branciard@...> wrote: > >> May it be a problem with libcurl ? I use (and compiled with) libcurl3 >> 7.13.2 (Debian package). > > I have curl-7.16.0 > > I use urlcheck extensively to query an LDAP directory, where per-user > filtering settings are stored. > I upgraded to libcurl3 7.15.5, recompiled milter-greylist with some more debug logging messages, and I still get some garbage chars in urlcheck responses. Corruption occurs *before* answer_parse() : I added a mg_log() at beginning of this function to dump the response buffer, it already contains garbage. I tested an LDAP urlcheck: it seems to pass uncorrupted, *except* the first line, which should contain "DN: ...": two garbage chars appear before the DN value. This may explain why you don't have problems in your setup if you only do LDAP checks, since the DN: line is always ignored by milter-greylist. By comparison, a command-line "curl" on the same URL (LDAP or HTTP), executed on the same machine as milter-greylist (same libs), always returns expected result, not corrupted. Still investigating... -- Ce message a ete verifie par MailScanner pour des virus ou des polluriels et rien de suspect n'a ete trouve.
Message
Re: [milter-greylist] urlcheck bug ?
2008-04-11 by Benoit Branciard
Attachments
- No local attachments were found for this message.