<pre style='margin:0'>
Joshua Root (jmroot) pushed a commit to branch master
in repository macports-base.
</pre>
<p><a href="https://github.com/macports/macports-base/commit/0fd195fba36992044da9f3fe65457bd570e0cc18">https://github.com/macports/macports-base/commit/0fd195fba36992044da9f3fe65457bd570e0cc18</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new 0fd195f Stop stale curl handles persisting
</span>0fd195f is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 0fd195fba36992044da9f3fe65457bd570e0cc18
</span>Author: Joshua Root <jmr@macports.org>
AuthorDate: Sun Dec 18 04:11:35 2016 +1100
<span style='display:block; white-space:pre;color:#404040;'> Stop stale curl handles persisting
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Local variables in 3 of the curl subcommands should have been removed in
</span><span style='display:block; white-space:pre;color:#404040;'> 99d934c which switched to reusing one global handle for all connections. As a
</span><span style='display:block; white-space:pre;color:#404040;'> result, new handles were still created for each invocation but never cleaned
</span><span style='display:block; white-space:pre;color:#404040;'> up.
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Fixes: https://trac.macports.org/ticket/50986
</span>---
src/pextlib1.0/curl.c | 3 ---
1 file changed, 3 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/src/pextlib1.0/curl.c b/src/pextlib1.0/curl.c
</span><span style='display:block; white-space:pre;color:#808080;'>index 5aa8db7..28a3265 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/src/pextlib1.0/curl.c
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/src/pextlib1.0/curl.c
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -696,7 +696,6 @@ int
</span> CurlIsNewerCmd(Tcl_Interp* interp, int objc, Tcl_Obj* CONST objv[])
{
int theResult = TCL_OK;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- CURL* theHandle = NULL;
</span> FILE* theFile = NULL;
do {
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -933,7 +932,6 @@ int
</span> CurlGetSizeCmd(Tcl_Interp* interp, int objc, Tcl_Obj* CONST objv[])
{
int theResult = TCL_OK;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- CURL* theHandle = NULL;
</span> FILE* theFile = NULL;
do {
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1142,7 +1140,6 @@ int
</span> CurlPostCmd(Tcl_Interp* interp, int objc, Tcl_Obj* CONST objv[])
{
int theResult = TCL_OK;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- CURL* theHandle = NULL;
</span> FILE* theFile = NULL;
do {
</pre><pre style='margin:0'>
</pre>