Pedro Gimeno
55b899f5c1
Better fix for issue #183
...
The former patch was too local; this one integrates better with the structure of the code.
2013-07-02 17:43:54 +02:00
Jonathan Warren
2012096673
Merge branch 'master' of git://github.com/linkerlin/PyBitmessage into linkerlin-master
2013-07-01 15:51:55 -04:00
Pedro Gimeno
95a1afb84b
Fix issue #183 (CPU 100% usage)
...
As per http://docs.python.org/2/howto/sockets.html#using-a-socket it's
possible that a socket recv() call returns 0 bytes if the remote closes
the connection. In that case, recv() does not obey settimeout(): it
just doesn't block and returns zero bytes immediately, which in this
case results in an infinite loop if the transmission was incomplete.
2013-07-01 07:36:22 +02:00
Linker Lin
4a84a30fc6
replace acquire lock by 'with' statement
2013-06-30 01:29:35 +08:00
Jonathan Warren
61ab0013aa
added new variable: doTimingAttackMitigation
2013-06-24 17:29:15 -04:00
Jonathan Warren
3204c6b833
added new variable: doTimingAttackMitigation
2013-06-24 17:29:04 -04:00
Jonathan Warren
acb8b51e00
sock.sendall errors need-not go to stderr
2013-06-24 17:00:35 -04:00
Jonathan Warren
5a7d86cca9
Fix edge-case bug in possibleNewPubkey function
2013-06-24 16:57:19 -04:00
Jonathan Warren
c857f73d0b
Continued moving code into individual modules
2013-06-24 15:51:01 -04:00
Jordan Hall
2eb6558cf1
Added a number of missing imports fixing several issues (thank you PyDev)
2013-06-23 20:52:39 +01:00
Jordan Hall
fe8998ca3a
Seperating out all peer networking classes and merging with upstream
2013-06-22 00:49:50 +01:00
Jordan Hall
27a8662f22
Seperating class_singleListener, class_receiveDataThread, class_sendDataThread
2013-06-21 23:29:04 +01:00