Proxy connections...

Peter Tselios s91066 at
Fri Nov 19 03:21:54 EST 2010

I have one more question. Is it possible (if if yes, how?) to set the username and password that it may be required in order to access a proxy server?

--- Στις Πέμ., 11/11/10, ο/η Joe Orton <joe at> έγραψε:

Από: Joe Orton <joe at>
Θέμα: Re: Proxy connections...
Προς: "Peter Tselios" <s91066 at>
Κοιν.: neon at
Ημερομηνία: Πέμπτη, 11 Νοέμβριος 2010, 17:47

On Thu, Nov 11, 2010 at 02:03:36PM +0000, Peter Tselios wrote:
> Dear all,
> I have a few questions regarding the proxy support in the libneon. According to documentation, all I have to do is to call the ne_session_proxy command. Now my questions:
> 1st: When do I call the function? Before the ne_session_create or after?

After, as:

  sess = ne_session_create(...);
  ne_session_proxy(sess, ...);

> 2nd: How can I use, directly, the environmental variables http_proxy 
> and https_proxy? I want to avoid  split the environmental variables to 
> other char and int variables...

neon does not use those environment variables; you will have to parse 
these yourself.

> Finally, from the change logs, it seems to be a function called 
> http_session_decide_proxy.

There is no such function in current releases of neon.

Regards, Joe

-------------- next part --------------
An HTML attachment was scrubbed...

More information about the neon mailing list