Skip to content

Commit

Permalink
updated the docs for v0.03.
Browse files Browse the repository at this point in the history
  • Loading branch information
agentzh committed Dec 7, 2009
1 parent 8239c18 commit 2f28082
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 7 deletions.
15 changes: 10 additions & 5 deletions README
Expand Up @@ -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.

Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down
7 changes: 5 additions & 2 deletions doc/readme.wiki
Expand Up @@ -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 =

Expand Down Expand Up @@ -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.
Expand All @@ -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.

Expand Down

0 comments on commit 2f28082

Please sign in to comment.