~max-rabkin/ibid/memory-db

« back to all changes in this revision

Viewing changes to ibid/plugins/network.py

  • Committer: Tarmac
  • Author(s): Stefano Rivera
  • Date: 2010-04-26 06:10:42 UTC
  • mfrom: (926.1.1 http-size-563928)
  • Revision ID: ibid-lp-lander@rivera.za.net-20100426061042-9e54n79kc1mem91u
Increase default HTTP GET size from 500 bytes to 2kiB
https://launchpad.net/~stefanor/ibid/http-size-563928/+merge/23485
Author: Stefano Rivera
Approved by: Jonathan Hitchcock

Show diffs side-by-side

added added

removed removed

Lines of Context:
225
225
    features = ('http',)
226
226
    priority = -10
227
227
 
228
 
    max_size = IntOption('max_size', u'Only request this many bytes', 500)
 
228
    max_size = IntOption('max_size', u'Only request this many bytes', 2048)
229
229
    timeout = IntOption('timeout',
230
230
            u'Timeout for HTTP connections in seconds', 15)
231
231
    sites = DictOption('sites', u'Mapping of site names to domains', {})