[issue171] if http authentication fails smart tries recursively to fetch the content and then crashes

Peter Warasin at Labix Tracker tracker at labix.org
Sat Jun 10 17:42:25 PDT 2006


New submission from Peter Warasin <peter at endian.it>:

if you configured a channel with wrong authnetication credentials, urllib will
try to authenticate in a recursive infinite loop. after a while smart will crash
because of too many recursions.

the attached patch solves the problem by limiting authentication attempts to 3
per connection.

----------
files: smart-0.41-authentication_maxretry.patch
messages: 525
nosy: peter-endian
priority: bug
project: smart
status: unread
title: if http authentication fails smart tries recursively to fetch the content and then crashes

_______________________________________
Labix issue tracker <tracker at labix.org>
<http://tracker.labix.org/issue171>
_______________________________________
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smart-0.41-authentication_maxretry.patch
Type: text/x-patch
Size: 1078 bytes
Desc: not available
URL: <http://lists.labix.org/pipermail/smart-labix.org/attachments/20060611/3a599616/attachment-0002.bin>


More information about the Smart mailing list