https://bugzilla.wikimedia.org/show_bug.cgi?id=55127
Web browser: --- Bug ID: 55127 Summary: core hangs on killed http(s) connection Product: Pywikibot Version: unspecified Hardware: All OS: All Status: NEW Severity: normal Priority: Unprioritized Component: General Assignee: Pywikipedia-bugs@lists.wikimedia.org Reporter: legoktm.wikipedia@gmail.com Classification: Unclassified Mobile Platform: ---
Originally from: http://sourceforge.net/p/pywikipediabot/bugs/1657/ Reported by: valhallasw Created on: 2013-08-22 15:14:10.237000 Subject: core hangs on killed http(s) connection Original description: 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?)