/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_http.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2009-11-18 17:32:51 UTC
  • mfrom: (4807.1.1 http-regression)
  • Revision ID: pqm@pqm.ubuntu.com-20091118173251-z5gh93fnn18bw4on
(vila) pycurl can't always connect direct to 'localhost' because of
        IPv4/v6 changes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1178
1178
        if self._testing_pycurl():
1179
1179
            # Oh my ! pycurl does not check for the port as part of
1180
1180
            # no_proxy :-( So we just test the host part
1181
 
            self.no_proxy_host = 'localhost'
 
1181
            self.no_proxy_host = self.server.host
1182
1182
        else:
1183
1183
            self.no_proxy_host = self.proxy_address
1184
1184
        # The secondary server is the proxy