bitkeeper revision 1.1159.1.40 (411b35dbH9xNYJhiWeq5taj0xdMP2w)

Stop libcurl using http_proxy.
This commit is contained in:
mjw@wray-m-3.hpl.hp.com committed 2004-08-12 09:18:19 +00:00
1 parent fbb7c1f214
commit 0a0bb99cf4
2 files changed
+14 -2

No files matched your search

+4 -2
View File
@@ -389,8 +389,8 @@ class XendMigrate:
def session_begin(self, info):
self._add_session(info.xid, info)
mcf = XfrdClientFactory(info)
reactor.connectTCP('localhost', XFRD_PORT, mcf)
xcf = XfrdClientFactory(info)
reactor.connectTCP('localhost', XFRD_PORT, xcf)
return info
def migrate_begin(self, dom, host, port=XFRD_PORT):
@@ -401,6 +401,8 @@ class XendMigrate:
@param port: destination port
@return: deferred
"""
if host in ['localhost', '127.0.0.1']:
raise XendError('cannot migrate to localhost')
# Check dom for existence, not migrating already.
# Subscribe to migrate notifications (for updating).
xid = self.nextid()
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.