~ubuntu-branches/ubuntu/lucid/landscape-client/lucid-proposed

« back to all changes in this revision

Viewing changes to landscape/lib/fetch.py

  • Committer: Bazaar Package Importer
  • Author(s): Christopher Armstrong
  • Date: 2009-04-13 14:33:31 UTC
  • mfrom: (1.1.8 upstream)
  • Revision ID: james.westby@ubuntu.com-20090413143331-c33v9zaynlj69pp5
Tags: 1.0.29.1-0ubuntu0.9.04.0
Apply a fix for segfault bug involving curl timeouts. (LP: #360510)

Show diffs side-by-side

added added

removed removed

Lines of Context:
55
55
    curl.setopt(pycurl.MAXREDIRS, 5)
56
56
    curl.setopt(pycurl.CONNECTTIMEOUT, 30)
57
57
    curl.setopt(pycurl.TIMEOUT, 600)
 
58
    curl.setopt(pycurl.NOSIGNAL, 1)
58
59
    curl.setopt(pycurl.WRITEFUNCTION, input.write)
59
60
 
60
61
    curl.perform()