Kiv / poclbm

PyOpenCL bitcoin miner with a GUI frontend
GNU General Public License v3.0
450 stars 153 forks source link

LongPoll: No respect to Connection HTTP header #83

Open TLoD-Snake opened 11 years ago

TLoD-Snake commented 11 years ago

Hi there!

While debugging new LP on 50btc I've figured out GUIminer can't work with "Connection: close" HTTP header, having pytonish NullPoinerException. After some research in miner's sources I've found line 147 in GetworkSource.py which can be executed on closed connection if server does not support keep-alive. At first glance I see no harm in commenting it out.