From 2f28082928924489cae7690fc5faafb778246197 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?agentzh=20=28=E7=AB=A0=E4=BA=A6=E6=98=A5=29?= Date: Mon, 7 Dec 2009 15:44:16 +0800 Subject: [PATCH] updated the docs for v0.03. --- README | 15 ++++++++++----- doc/readme.wiki | 7 +++++-- 2 files changed, 15 insertions(+), 7 deletions(-) diff --git a/README b/README index 9e8a08d..bad46ce 100644 --- a/README +++ b/README @@ -6,7 +6,7 @@ Name installation instructions. Version - This document describes memc-nginx-module v0.02 + This document describes memc-nginx-module v0.03 () released on Dec 7, 2009. @@ -358,6 +358,11 @@ Source Repository (). ChangeLog + v0.03 + * fixed a connection leak caused by an extra "r->main->count++" + operation: we should NOT do "r->main->count++" after calling the + "ngx_http_read_client_request_body" function. + v0.02 * applied the (miner) optimization trick suggested by Marcus Clyne: creating our variables and save their indexes at post-config phase @@ -382,11 +387,11 @@ Test Suite You need to terminate any Nginx processes before running the test suite if you have changed the Nginx server binary. - At the moment, LWP::UserAgent - () is used by the test - scaffold + Either LWP::UserAgent () + or IO::Socket () is used by + the test scaffold () for simplicity. + Nginx/LWP.pm>). Because a single nginx server (by default, "localhost:1984") is used across all the test scripts (".t" files), it's meaningless to run the diff --git a/doc/readme.wiki b/doc/readme.wiki index d548ec3..931818a 100644 --- a/doc/readme.wiki +++ b/doc/readme.wiki @@ -6,7 +6,7 @@ = Version = -This document describes memc-nginx-module [http://github.com/agentzh/memc-nginx-module/downloads v0.02] released on Dec 7, 2009. +This document describes memc-nginx-module [http://github.com/agentzh/memc-nginx-module/downloads v0.03] released on Dec 7, 2009. = Synopsis = @@ -340,6 +340,9 @@ Available on github at [http://github.com/agentzh/memc-nginx-module agentzh/memc = ChangeLog = +== v0.03 == +* fixed a connection leak caused by an extra r->main->count++ operation: we should NOT do r->main->count++ after calling the ngx_http_read_client_request_body function. + == v0.02 == * applied the (miner) optimization trick suggested by Marcus Clyne: creating our variables and save their indexes at post-config phase when the [[#memc_pass|memc_pass]] directive is actually used in the config file. @@ -360,7 +363,7 @@ To run it on your side: You need to terminate any Nginx processes before running the test suite if you have changed the Nginx server binary. -At the moment, [http://search.cpan.org/perldoc?LWP::UserAgent LWP::UserAgent] is used by the [http://github.com/agentzh/memc-nginx-module/blob/master/test/lib/Test/Nginx/LWP.pm test scaffold] for simplicity. +Either [http://search.cpan.org/perldoc?LWP::UserAgent LWP::UserAgent] or [http://search.cpan.org/perldoc?IO::Socket IO::Socket] is used by the [http://github.com/agentzh/memc-nginx-module/blob/master/test/lib/Test/Nginx/LWP.pm test scaffold]. Because a single nginx server (by default, localhost:1984) is used across all the test scripts (.t files), it's meaningless to run the test suite in parallel by specifying -jN when invoking the prove utility.