On Tue, Jun 23, 2009 at 3:34 PM, <[email protected]> wrote:
> Folks,
> For a while, our transport system has not really been adequate to
> address all of the goals for the pkg project.  The python libraries that
> we have been using are capabable for basic functionality, but fall flat
> when we try to perform more complicated or performant network
> operations.
>
> The following webrev converts our transport from using the
> urllib/httplib in python to PyCurl, which is based upon libcurl.
>
>        http://cr.opensolaris.org/~johansen/webrev-xport-1/
>
> Comments welcome.

How does this affect https_proxy?

http://defect.opensolaris.org/bz/show_bug.cgi?id=8432

It seems as though it will still be needed, but there seems to be some
unexpected disagreement in environment variables between curl(1) and
libcurl-tutorial(3).

curl(1) says...

     http_proxy [protocol://]<host>[:port]
          Sets proxy server to use for HTTP.

     HTTPS_PROXY [protocol://]<host>[:port]
          Sets proxy server to use for HTTPS.

     FTP_PROXY [protocol://]<host>[:port]
          Sets proxy server to use for FTP.

     ALL_PROXY [protocol://]<host>[:port]
          Sets proxy server to use if no protocol-specific  proxy
          is set.

     NO_PROXY <comma-separated list of hosts>
          list of host names that shouldn't go through any proxy.
          If set to a asterisk '*' only, it matches all hosts.

libcurl-tutorial(3) says...

          The proxy environment variable contents  should  be  in
          the                                              format
          "[protocol://][user:passw...@]machine[:port]".    Where
          the  protocol://  part is simply ignored if present (so
          http://proxy and bluerk://proxy will do the  same)  and
          the  optional  port  number specifies on which port the
          proxy operates on  the  host.  If  not  specified,  the
          internal  default  port number will be used and that is
          most likely *not* the one you would like it to be.

          There   are   two   special   environment    variables.
          'all_proxy'  is what sets proxy for any URL in case the
          protocol specific variable wasn't set,  and  'no_proxy'
          defines  a  list  of  hosts that should not use a proxy
          even though a variable may say so. If 'no_proxy'  is  a
          plain asterisk ("*") it matches all hosts.

-- 
Mike Gerdts
http://mgerdts.blogspot.com/
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to