Merge pull request #1129 from GLolol/raise-peeksize

conf.py: raise protocols.http.peeksize to 8192
This commit is contained in:
Valentin Lorentz 2015-06-21 01:36:09 +02:00
commit 5dabb4539f
1 changed files with 1 additions and 1 deletions

View File

@ -1125,7 +1125,7 @@ registerGlobalValue(supybot.protocols.irc.queuing.rateLimit, 'join',
### ###
registerGroup(supybot.protocols, 'http') registerGroup(supybot.protocols, 'http')
registerGlobalValue(supybot.protocols.http, 'peekSize', registerGlobalValue(supybot.protocols.http, 'peekSize',
registry.PositiveInteger(4096, _("""Determines how many bytes the bot will registry.PositiveInteger(8192, _("""Determines how many bytes the bot will
'peek' at when looking through a URL for a doctype or title or something 'peek' at when looking through a URL for a doctype or title or something
similar. It'll give up after it reads this many bytes, even if it hasn't similar. It'll give up after it reads this many bytes, even if it hasn't
found what it was looking for."""))) found what it was looking for.""")))