Re: sasl patch for including user data in context

From: Morten Sylvest Olsen (mso at medical-insight dot com)
Date: Mon Mar 15 2004 - 11:38:21 EST

  • Next message: Mark London: "plain+TLS vs. plaintext+TLS"

    man, 2004-03-15 kl. 17:19 skrev Rob Siemborski:
    > On Mon, 15 Mar 2004, Morten Sylvest Olsen wrote:
    > > Using SASL from C++ can be quite cumbersome because of the necessity of
    > > using static methods for the callbacks. Event-driven servers written in
    > > C must have the same problem? The attached patch (unfortunately againts
    > > 2.1.15) implements a new property SASL_USERDATA which can be used to set
    > > and retrieve a pointer "userdata" in the sasl context to transfer
    > > information between callbacks and main eventloop.
    > This is precisely what the "context" pointers in the callback entry are
    > for.

    Arrgh, egg on my face. I don't know how I could be so bloody blind! I
    had starred myself blind to the fact that the callbacks were set in
    server_init, and forgotten that they can be set in server_new also.
    Please disregard my last post!

    Morten Sylvest Olsen, System Developer
    Medical Insight A/S, Hovedgaden 451 C,2640 Hedehusene, Denmark
    Phone:+4546550444, Mobile:+4551573092,Mail: mso at medical-insight dot com

  • Next message: Mark London: "plain+TLS vs. plaintext+TLS"

    Hosted Email Solutions

    Invaluement Anti-Spam DNSBLs

    Powered By FreeBSD   Powered By FreeBSD