Skip to content

Commit b18b6f3

Browse files
author
Adam Dickmeiss
committed
Bug fix: dont cache connection if proxy setting have changed
1 parent 06fe943 commit b18b6f3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ext/yaz/php_yaz.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1273,6 +1273,7 @@ PHP_FUNCTION(yaz_connect)
12731273
#if USE_ZOOM
12741274
if (persistent && as && !as->in_use &&
12751275
!strcmp_null(option_get(as, "host"), zurl_str) &&
1276+
!strcmp_null(option_get(as, "proxy"), proxy_str) &&
12761277
!strcmp_null(option_get(as, "user"), user_str) &&
12771278
!strcmp_null(option_get(as, "group"), group_str) &&
12781279
!strcmp_null(option_get(as, "pass"), pass_str) &&

0 commit comments

Comments
 (0)