Re: Questions on behaviour of fetch(3) regarding HTTPS + proxy

2007-11-22 Thread RW
On Wed, 21 Nov 2007 10:27:48 -0500
Bill Moran [EMAIL PROTECTED] wrote:

  The systems
 in question have no way to connect without using the proxy, and I'd
 like to convince fetch(3) to use the proxy for https as well. 

curl  wget work, if it's any help
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Questions on behaviour of fetch(3) regarding HTTPS + proxy

2007-11-22 Thread Antony Mawer

On 22/11/2007 2:27 AM, Bill Moran wrote:

It seems that if I set HTTP_PROXY, fetch(1) works just dandy, _UNLESS_
I'm trying to fetch an https document, in which case it seems to
ignore HTTP_PROXY.


From memory:

export HTTPS_PROXY=http://myproxy:8080;

--Antony
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Questions on behaviour of fetch(3) regarding HTTPS + proxy

2007-11-22 Thread Bill Moran
RW [EMAIL PROTECTED] wrote:

 On Wed, 21 Nov 2007 10:27:48 -0500
 Bill Moran [EMAIL PROTECTED] wrote:
 
   The systems
  in question have no way to connect without using the proxy, and I'd
  like to convince fetch(3) to use the proxy for https as well. 
 
 curl  wget work, if it's any help

Unfortunately, we're working with htmldoc, which seems to behave as
fetch does.  htmldoc doesn't seem to have any way to use external
libraries.

Thanks for the suggestion.

-- 
Bill Moran
http://www.potentialtech.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Questions on behaviour of fetch(3) regarding HTTPS + proxy

2007-11-22 Thread Bill Moran
Antony Mawer [EMAIL PROTECTED] wrote:

 On 22/11/2007 2:27 AM, Bill Moran wrote:
  It seems that if I set HTTP_PROXY, fetch(1) works just dandy, _UNLESS_
  I'm trying to fetch an https document, in which case it seems to
  ignore HTTP_PROXY.
 
  From memory:
 
  export HTTPS_PROXY=http://myproxy:8080;

That doesn't do anything, as far as I can tell.

I did some digging into the code, and it seems as if this is not supported
at all by libfetch.  It also seems as if htmldoc isn't using libfetch but
simply follows the same logic, so the question becomes moot for me.

Thanks for the input.

-- 
Bill Moran
Collaborative Fusion Inc.

[EMAIL PROTECTED]
Phone: 412-422-3463x4023
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Questions on behaviour of fetch(3) regarding HTTPS + proxy

2007-11-21 Thread Bill Moran

It seems that if I set HTTP_PROXY, fetch(1) works just dandy, _UNLESS_
I'm trying to fetch an https document, in which case it seems to
ignore HTTP_PROXY.

I suspect that this is occurring somewhere in the fetch(3) library, as
the htmldoc port behaves the same way.

Is this intended behaviour?  If so, how can I control it?  The systems
in question have no way to connect without using the proxy, and I'd
like to convince fetch(3) to use the proxy for https as well.  My
perusal of the documentation hasn't turned up anything related to this,
so I'm grepping through the source code right now.

-- 
Bill Moran
Collaborative Fusion Inc.
http://people.collaborativefusion.com/~wmoran/

[EMAIL PROTECTED]
Phone: 412-422-3463x4023
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]