Permalink
Browse files

updated the docs for v0.03.

  • Loading branch information...
1 parent 8239c18 commit 2f28082928924489cae7690fc5faafb778246197 @agentzh agentzh committed Dec 7, 2009
Showing with 15 additions and 7 deletions.
  1. +10 −5 README
  2. +5 −2 doc/readme.wiki
View
15 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
(<http://github.com/agentzh/memc-nginx-module/downloads>) released on
Dec 7, 2009.
@@ -358,6 +358,11 @@ Source Repository
(<http://github.com/agentzh/memc-nginx-module>).
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
- (<http://search.cpan.org/perldoc?LWP::UserAgent>) is used by the test
- scaffold
+ Either LWP::UserAgent (<http://search.cpan.org/perldoc?LWP::UserAgent>)
+ or IO::Socket (<http://search.cpan.org/perldoc?IO::Socket>) is used by
+ the test scaffold
(<http://github.com/agentzh/memc-nginx-module/blob/master/test/lib/Test/
- Nginx/LWP.pm>) 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
View
@@ -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 <code>r->main->count++</code> operation: we should NOT do <code>r->main->count++</code> after calling the <code>ngx_http_read_client_request_body</code> 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, <code>localhost:1984</code>) is used across all the test scripts (<code>.t</code> files), it's meaningless to run the test suite in parallel by specifying <code>-jN</code> when invoking the <code>prove</code> utility.

0 comments on commit 2f28082

Please sign in to comment.