Package: libproxy0
Version: 0.3.1-3
Severity: important

Support for the 'Automatic proxy configuration' mode (from
gnome-network-properties) seems to be broken after upgrading libproxy
from version 0.3.1-2.

Instead of returning the list of proxies for a given URL, it just
returns 'direct://'

I'm attaching a simple test case.

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 3.0.0-1-686-pae (SMP w/2 CPU cores)
Locale: LANG=pt_PT, LC_CTYPE=pt_PT (charmap=UTF-8) (ignored: LC_ALL set to 
pt_PT.UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages libproxy0 depends on:
ii  libc6  2.13-21

Versions of packages libproxy0 recommends:
ii  libmozjs6d          6.0.2-1
ii  libwebkitgtk-1.0-0  1.4.2-2

libproxy0 suggests no packages.

-- no debconf information
/*
  gcc -o test test.c -lproxy
 */

#include <stdio.h>
#include <proxy.h>

int main (void)
{
  char *url = "http://www.debian.org/";;
  char **p;
  pxProxyFactory *factory;
  factory = px_proxy_factory_new ();

  p = px_proxy_factory_get_proxies (factory, url);
  for (; *p != NULL; p++)
    {
      puts(*p);
    }

  return 0;
}

Reply via email to