Proxy connections...

Joe Orton joe at manyfish.co.uk
Thu Nov 11 10:47:55 EST 2010


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



More information about the neon mailing list