From: Adam Dickmeiss Date: Mon, 2 Dec 2013 14:03:42 +0000 (+0100) Subject: Add nocproxy=1 for contentConnector sessions MP-501 X-Git-Tag: v1.4.3~2 X-Git-Url: http://jsfdemo.indexdata.com/cgi-bin?a=commitdiff_plain;h=b1d299c751b81d4c9bc113a0300daf0667063710;p=metaproxy-moved-to-github.git Add nocproxy=1 for contentConnector sessions MP-501 --- diff --git a/src/filter_zoom.cpp b/src/filter_zoom.cpp index 2d65d7d..2a93af5 100644 --- a/src/filter_zoom.cpp +++ b/src/filter_zoom.cpp @@ -1472,6 +1472,9 @@ yf::Zoom::BackendPtr yf::Zoom::Frontend::get_backend_from_databases( out_names[no_out_args] = "subdatabase"; out_values[no_out_args++] = odr_strdup(odr, sptr->cfSubDB.c_str()); } + if (!param_nocproxy && b->sptr->contentConnector.length()) + param_nocproxy = "1"; + if (param_nocproxy) { out_names[no_out_args] = "nocproxy";