[bugs:#1657] core hangs on killed http(s) connection

Status: open
Created: Thu Aug 22, 2013 03:14 PM UTC by Merlijn S. van Deen
Last Updated: Wed Sep 04, 2013 01:55 PM UTC
Owner: nobody

Steps to reproduce:

p = pywikibot.Page(pywikibot.getSite('nl', 'wikipedia'), 'Wikipedia')
p.get()

now kill the connection, e.g. using tcpview in windows

p = pywikibot.Page(pywikibot.getSite('nl', 'wikipedia'), 'Wikipedia')
p.get()

hangs

Expected result:
pywikibot reconnects and executes the .get()

Actual result:
complete hang (deadlock?)


Sent from sourceforge.net because Pywikipedia-bugs@lists.wikimedia.org is subscribed to https://sourceforge.net/p/pywikipediabot/bugs/

To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/pywikipediabot/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.