summaryrefslogtreecommitdiffabout
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--NEWS2
-rw-r--r--README4
-rw-r--r--src/vmod-variable.32
3 files changed, 4 insertions, 4 deletions
diff --git a/NEWS b/NEWS
index 9270c09..1c3e867 100644
--- a/NEWS
+++ b/NEWS
@@ -2,13 +2,13 @@ vmod-variable -- history of user-visible changes. 2015-02-16
Copyright (C) 2015 Sergey Poznyakoff
See the end of file for copying conditions.
Please send vmod-variable bug reports to <gray@gnu.org>
-Version 1.0, (git)
+Version 1.0, 2015-02-16
Initial release
=========================================================================
Copyright information:
diff --git a/README b/README
index b815aff..f6c7ca6 100644
--- a/README
+++ b/README
@@ -30,13 +30,13 @@ get_duration retrieves its value:
set beresp.ttl = variable.get_int("ttl");
Special functions are provided for testing if a variable is defined:
the defined() function returns true if the variable is defined, and
the type_of() function returns the type of the variable.
-A special fearure of this module are regset() and queryset()
+A special feature of this module are regset() and queryset()
functions. The regset() function allows you to parse a string
(e.g. a URL or header value) according to a regular expression
and to set several variables at once to selected substrings of
the input string, optionally converting between different types.
For example, the fragment below sets ttl and grace parameters of
the object according to the Surrogate-Control header:
@@ -160,13 +160,13 @@ This module is backward-compatibile with vmod_var. To facilitate
transition, it uses the same naming scheme, so switching to use
vmod_variable in your VCL script is just a matter of replacing
s/var\./variable./
Main differences of vmod_variable from vmod_var:
-1. Both Varsnish 3 and 4 are supported;
+1. Both Varnish 3 and 4 are supported;
2. Variables are stored in hash tables with open addressing, to
speed up accesses (vmod_var keeps them in singly-linked lists).
3. Functions for testing existence and types of variables, and for
unsetting a variable: defined(), type_of() and unset()
diff --git a/src/vmod-variable.3 b/src/vmod-variable.3
index 5d5467d..f249ad3 100644
--- a/src/vmod-variable.3
+++ b/src/vmod-variable.3
@@ -46,13 +46,13 @@ can hold only string values.
.SH VMOD_VARIABLE VS. VMOD_VAR
This module doesn't share any code with \fBvmod_var\fR. Compared with
the latter, it provides the following new features:
.PP
.nr step 1 1
.IP \n[step].
-Both Varsnish 3 and 4 are supported;
+Both Varnish 3 and 4 are supported;
.IP \n+[step].
Variables are stored in hash tables with open addressing, to
speed up accesses (\fBvmod_var\fR keeps them in singly-linked lists).
.IP \n+[step].
Functions for testing existence and types of variables, and for
unsetting a variable:

Return to:

Send suggestions and report system problems to the System administrator.