[xmlsec] xmlSecIORegisterCallbacks problems

Aleksey Sanin aleksey at aleksey.com
Fri Jun 6 08:33:28 PDT 2003


xmlSecIORegisterCallbacks() is used by xmlsec to fetch binary
files when xmlRegisterInputCallbacks() is used by xmlsec/libxml
to fetch xml files. The reason for this is that default libxml
callbacks un-compress gzipped files and in xmlsec we *want* to
download binary files "as-is".

If you provide your own HTTP/FTP client then you should probably
register your functions in both xmlsec and libxml. Please note,
that by default xmlsec loads its own callbacks so you would probably
need to cleanup the callbacks list before adding yours.

To check that it works, set a breakpoint in your functions and
see would it be called or not. All xmlsec IO is done thru these
callbacks and it would surprise if something is broken there.

Aleksey







-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.aleksey.com/pipermail/xmlsec/attachments/20030606/6e22c2a0/attachment.htm


More information about the xmlsec mailing list