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?)
Version: core-(2.0)
Severity: major
See Also:
https://sourceforge.net/p/pywikipediabot/bugs/1657