Proxy connections...

Peter Tselios s91066 at yahoo.gr
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?
B/R
Peter

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

Από: Joe Orton <joe at manyfish.co.uk>
Θέμα: Re: Proxy connections...
Προς: "Peter Tselios" <s91066 at yahoo.gr>
Κοιν.: neon at lists.manyfish.co.uk
Ημερομηνία: Πέμπτη, 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...
URL: http://lists.manyfish.co.uk/pipermail/neon/attachments/20101119/89688603/attachment.html 


More information about the neon mailing list