Ngx_drizzle v0.0.8 and ngx_rds_json v0.05

Hi, folks!

On behalf of the ngx_dbd team, I’m happy to announce the new releases
of the ngx_drizzle and ngx_rds_json modules.

Here’s a brief list of (major) changes since their last releases:

  • Fixed a nasty bug in ngx_drizzle’s connection pool. Now the
    drizzle_keepalive directive’s overflow=reject option works for real
    now. Thanks Piotr S. for reporting this issue. (agentzh)

  • Updated the Resty DBD Stream (RDS) format to version 0.0.3 which
    specifies that SQL NULL field values are represented by setting field
    length == (uint32_t) -1 and empty trailing data section. Thanks Piotr
    Sikora for reporting this issue. (agentzh)

  • ngx_drizzle and ngx_json now both supports RDS v0.0.3 and can
    differentiate SQL NULL values and SQL empty strings (""). (agentzh)

  • Now we postpone the header sending action after we parse the RDS
    header. So errors in RDS headers can result in proper 500 response
    headers. Thanks Piotr S. for suggesting this. (agentzh)

  • Fixed a small bug in ngx_rds_json that may cause random hang. (This
    bug also appeared in my fork of ngx_eval, fixed there as well.)
    (agentzh)

  • ngx_drizzle now returns 500 Internal Server Error instead of 502
    Bad Gateway for bad SQL queries, bad tables, DB connection failures.
    (Piotr S.)

  • Fixed a bug that could cause double free in ngx_drizzle. (Piotr
    Sikora)

  • ngx_drizzle now works with libdrizzle 0.7 and 0.8.

Piotr S. does have more fixes and/or improvements in his
ngx_postgres module that is expected to be back-ported to ngx_drizzle
some time in the near future :slight_smile:

Have fun!
-agentzh

P.S. The original creator of the ngx_drizzle project, chaoslawful, is
currently working on ngx_lua and he’s got something runnable already.
We’ll make the first public release of ngx_lua in the near future.
Stay tuned!

On Fri, Apr 16, 2010 at 4:32 PM, agentzh [email protected] wrote:

Hi, folks!

On behalf of the ngx_dbd team, I’m happy to announce the new releases
of the ngx_drizzle and ngx_rds_json modules.

Oops, forgot to give the download links for these modules:

ngx_drizzle v0.0.8
http://github.com/chaoslawful/drizzle-nginx-module/tarball/v0.0.8

ngx_rds_json v0.05
http://github.com/agentzh/rds-json-nginx-module/tarball/v0.05

ngx_drizzle is a non-blocking upstream module for mysql, drizzle, and
sqlite. Its project page is on GitHub:

http://github.com/chaoslawful/drizzle-nginx-module

ngx_rds_json is an output filter module that can format the Resty DBD
Stream (RDS) outputs of ngx_drizzle and other database driver modules
to JSON. Its project page is also on GitHub:

http://github.com/agentzh/rds-json-nginx-module

Cheers,
-agentzh

Is there a module for nginx that can support auth based on mysql
authentication?
The user and password are stored in mysql.

like
location /secret
{
auth_basic “Restricted”;
auth_pass mysql;
}

2010/4/16 agentzh [email protected]:

just have a look at

http://github.com/chaoslawful/drizzle-nginx-module/blob/master/README#L278
http://github.com/chaoslawful/drizzle-nginx-module/blob/master/README#L278

On Fri, Apr 16, 2010 at 4:49 PM, lhmwzy [email protected] wrote:

ngx_drizzle v0.0.8
ngx_rds_json is an output filter module that can format the Resty DBD
[email protected]
nginx Info Page


nginx mailing list
[email protected]
nginx Info Page


Regards,

林青(Kindy Lin)