aboutsummaryrefslogtreecommitdiff
path: root/openvpn.h
diff options
context:
space:
mode:
authorjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2006-11-23 22:05:14 +0000
committerjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2006-11-23 22:05:14 +0000
commit2a64816b391395d925e0f7ff79d200bbb562fe7e (patch)
tree372e7f53f484b96e9e2b3f129fb516ee51f2b293 /openvpn.h
parentInterim snapshot 2.1_rc1b (diff)
downloadopenvpn-2a64816b391395d925e0f7ff79d200bbb562fe7e.tar.xz
Fixed issue where struct env_set methods that
change the value of an existing name=value pair would delay the freeing of the memory held by the previous name=value pair until the underlying client instance object is closed. This could cause a server that handles long-term client connections, resulting in many periodic calls to verify_callback, to needlessly grow the env_set memory allocation until the underlying client instance object is closed. git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@1493 e7ae566f-a301-0410-adde-c780ea21d3b5
Diffstat (limited to 'openvpn.h')
-rw-r--r--openvpn.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/openvpn.h b/openvpn.h
index 2b6cf14..0cdab62 100644
--- a/openvpn.h
+++ b/openvpn.h
@@ -403,6 +403,7 @@ struct context_2
/* environmental variables to pass to scripts */
struct env_set *es;
+ bool es_owned;
/* don't wait for TUN/TAP/UDP to be ready to accept write */
bool fast_io;