Displaying 13 results from an estimated 13 matches for "noproxy".
Did you mean:
no_proxy
2004 Sep 15
1
Objects in PHP4
I've been looking at the PHP4 bindings, wondering why we don't have
"proper" objects.
Digging back through mail and CVS logs, it looks like I updated the
SWIG invocation for PHP from using "-shadow" to using "-noproxy" so
that it worked with newer versions of SWIG. But that's wrong as the
switches have opposite meanings (and what was "-shadow" is now the
default). Oops!
If I remove -noproxy, I can write object like code and it parses ok, but
this simple example causes a segfault:
$doc = ne...
2016 Jul 07
0
[PATCH v3 2/8] curl: Change the API to use an abstract data type.
...safe_args = [
+ "max-redirs", Some "5";
+ "globoff", None; (* Don't glob URLs. *)
+]
+
+type proxy = UnsetProxy | SystemProxy | ForcedProxy of string
+
+let args_of_proxy = function
+ | UnsetProxy -> [ "proxy", Some "" ; "noproxy", Some "*" ]
+ | SystemProxy -> []
+ | ForcedProxy url -> [ "proxy", Some url; "noproxy", Some "" ]
+
+let create ?(curl = "curl") ?(proxy = SystemProxy) args =
+ let args = safe_args @ args_of_proxy proxy @ args in
+ { curl = cur...
2016 Jul 07
0
[PATCH v2 2/8] curl: Change the API to use an abstract data type.
...s" name (quote value)
+ ) args;
+ bprintf b "\n";
+ Buffer.contents b
+
+let print chan t = output_string chan (to_string t)
+
+type proxy = UnsetProxy | ForcedProxy of string
+
+let args_of_proxy = function
+ | UnsetProxy -> [ "proxy", Some "" ; "noproxy", Some "*" ]
+ | ForcedProxy url -> [ "proxy", Some url; "noproxy", Some "" ]
+
+let safe_args = [
+ "max-redirs", Some "5";
+ "globoff", None; (* Don't glob URLs. *)
+]
diff --git a/mllib/curl.mli b/mllib/...
2010 Apr 16
0
RCurl slow when sending data over 1kb
...ocalhost. The command is something like this:
reader <- basicTextGatherer()
curlPerform(url="http://127.0.0.1/",
httpheader=c('Content-Type' = "text/xml; charset=utf-8"),
postfields=toString.XMLNode(xmlRoot(xdoc)),
writefunction=reader$update,
.opts=curlOptions(noproxy="*"))
When sending a short string, the web server responds instantly. However, when the content-length gets above 1024 bytes, the server takes about 2 seconds to receive all the content that is being sent to it. I've written the server myself in Python, so I can see that the delay oc...
2019 Jan 16
0
[PATCH 4/5] mltools: curl: turn Curl.run to raise exceptions
..._wrap
diff --git a/common/mltools/curl.ml b/common/mltools/curl.ml
index 6dba97534..eb32a4748 100644
--- a/common/mltools/curl.ml
+++ b/common/mltools/curl.ml
@@ -40,6 +40,8 @@ let args_of_proxy = function
| SystemProxy -> []
| ForcedProxy url -> [ "proxy", Some url; "noproxy", Some "" ]
+exception Curl_failed of (int * string) (* exit code, URL *)
+
let create ?(curl = "curl") ?(proxy = SystemProxy) ?tmpdir args =
let args = safe_args @ args_of_proxy proxy @ args in
{ curl = curl; args = args; tmpdir = tmpdir }
@@ -71,8 +73,19 @@ let r...
2009 Aug 19
2
RGoogleDocs/RCurl through proxy
Dear list,
I am trying to use RGoogleDocs, but I am connecting through a proxy server.
I know RCurl is used for the connection, which should be able to deal
with proxies and such.
How do I set this up for RCurl? And can I use those settings with
RGoogleDocs as well?
I have the name of the proxy server and the port number.
(Windows XP).
thanks,
Remko
2016 Oct 25
2
[PATCH v2 1/2] mllib: curl: add optional tmpdir parameter
...+25,7 @@ let quote = Filename.quote
type t = {
curl : string;
args : args;
+ tmpdir : string option;
}
and args = (string * string option) list
@@ -40,12 +41,13 @@ let args_of_proxy = function
| SystemProxy -> []
| ForcedProxy url -> [ "proxy", Some url; "noproxy", Some "" ]
-let create ?(curl = "curl") ?(proxy = SystemProxy) args =
+let create ?(curl = "curl") ?(proxy = SystemProxy) ?tmpdir args =
let args = safe_args @ args_of_proxy proxy @ args in
- { curl = curl; args = args }
+ { curl = curl; args = args; tmpdi...
2016 Jul 07
4
[PATCH 0/3] Move Curl wrapper to mllib and use it for virt-builder.
Move the Curl wrapper module from virt-v2v to mllib. Use the module
when virt-builder issues curl calls.
Rich.
2016 Oct 24
2
[PATCH 1/2] mllib: curl: add optional tmpdir parameter
...+25,7 @@ let quote = Filename.quote
type t = {
curl : string;
args : args;
+ tmpdir : string option;
}
and args = (string * string option) list
@@ -40,12 +41,13 @@ let args_of_proxy = function
| SystemProxy -> []
| ForcedProxy url -> [ "proxy", Some url; "noproxy", Some "" ]
-let create ?(curl = "curl") ?(proxy = SystemProxy) args =
+let create ?(curl = "curl") ?(proxy = SystemProxy) ?tmpdir args =
let args = safe_args @ args_of_proxy proxy @ args in
- { curl = curl; args = args }
+ { curl = curl; args = args; tmpdi...
2019 Jan 16
10
[PATCH 0/5] [RFC] builder: handle unavailable repos
In case a repository of virt-builder references files (e.g. the index)
that cannot be downloaded (network issues, 404, etc) then virt-builder
errors out on this situation. This is not a nice situation, from an user
POV.
This series does some refactoring to allow to better handle downloading
failures, and handle the failures gracefully in virt-builder.
RFC because I'm not yet too convinced
2016 Jul 07
12
[PATCH v3 0/8] v2v: Move Curl wrapper to mllib and more.
v2 -> v3:
- Changes to the Curl API suggested by Pino.
2016 Jul 07
9
[PATCH v2 0/8] v2v: Move Curl wrapper to mllib and use it for virt-builder (and more).
v1 -> v2:
- Fixed the bug with precedence of if / @.
- Add some imperative list operators inspired by Perl, and use those
for constructing the Curl arguments, and more.
Rich.
2018 Aug 22
1
Cannot find KDC for requested realm
Hi folks,
this is my first time setting up samba4 as AD.
Using the 'samba_dnsupdate' tool, I get the error:
Failed to get Kerberos credentials, falling back to samba-tool: kinit
for AD$@AD.FIRMA.ANDRICK.DE failed (Cannot find KDC for requested realm)
How would I get at this error?
I assume 'AD$' is some automatically generated user. I have no idea how
to list the users. All I