[!! SPAM] Re: Emulate mod_auth_mysql in nginx?
mike503 at gmail.com
Mon Mar 16 19:30:47 MSK 2009
Igor, you rock dude :)
2009/3/16 Igor Sysoev <is at rambler-co.ru>:
> On Mon, Mar 16, 2009 at 01:19:20PM +0100, Manlio Perillo wrote:
>> Igor Sysoev ha scritto:
>> >>If you really want to use a database as a backend, you should use
>> >>PostgreSQL, since libpq offer an async interface; and you should use a
>> >>stored procedure for the authentication.
>> >Yes, you right. However, I have almost ready async mysql interface for
>> >that can be used here.
>> Written from scratch, implementing the MySQL wire protocol?
>> By the way, after having implemented a pure PostgreSQL client in Python,
>> I tried to do the same with MySQL; but protocol design is very bad,
>> compared to PostgreSQL, so I gave up; it does not make sense to waste
>> time with MySQL, IMHO,
> It's already wasted :). The reamining part is parsing mysql response.
> Igor Sysoev
More information about the nginx