Date: Wed, 25 Dec 2002 12:48:08 -0800 (PST) From: Archie Cobbs <archie@dellroad.org> To: "Vadim A. Shklyaev" <lexxmail@front.ru> Cc: freebsd-net@freebsd.org Subject: Re: Re[2]: mpd-3.10 and MySQL Message-ID: <200212252048.gBPKm84w043989@arch20m.dellroad.org> In-Reply-To: <10515631078.20021224111201@front.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
Vadim A. Shklyaev wrote: > One more question, some time back a man, who had made a RADIUS > patch asked you, whether can he hook directly in AuthGetData in > auth.c, and you answered that that would be incorrect. I > wondering, why? As you can see, I have rewritten every place, > where AuthGetData is called, but IMHO it would be easier to modify > just auth.c. What is right? AuthGetData() is the "right" place to do that, except that if your operation blocks for a long time (e.g., while accessing some external resource) then mpd itself will block too (mpd is event-driven, not threaded), so any other links that might be doing negotiation, LCP echoes, etc. will be delayed. In practice this is rarely a problem unless you are doing lots of links simultaneously. -Archie __________________________________________________________________________ Archie Cobbs * Packet Design * http://www.packetdesign.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200212252048.gBPKm84w043989>