PyBitmessage/src/network
Peter Šurda ba4162d7fe
Asyncore update
- get rid of per-connection writeQueue/receiveQueue, and instead use
strings and locking
- minor code cleanup
- all state handlers now should set expectBytes
- almost all data processing happens in ReceiveDataThread, and
AsyncoreThread is almost only I/O (plus TLS). AsyncoreThread simply
puts the connection object into the queue when it has some data for
processing
- allow poll, epoll and kqueue handlers. kqueue is untested and
unoptimised, poll and epoll seem to work ok (linux)
- stack depth threshold handler  in decode_payload_content, this is
recursive and I think was causing occasional RuntimeErrors. Fixes #964
- longer asyncore loops, as now data is handled in ReceiveDataThread
- randomise node order when deciding what to download. Should prevent
retries being stuck to the same node
- socks cleanup (socks5 works ok, socks4a untested but should work too)
2017-07-06 19:45:36 +02:00
..
__init__.py changes needed to get current code to run 2017-02-25 00:06:04 -06:00
addrthread.py AddrThread 2017-07-05 08:57:44 +02:00
advanceddispatcher.py Asyncore update 2017-07-06 19:45:36 +02:00
announcethread.py Asyncore update 2017-07-06 19:45:36 +02:00
asyncore_pollchoose.py Asyncore update 2017-07-06 19:45:36 +02:00
bmobject.py Object validator trigger moved 2017-06-24 12:21:06 +02:00
bmproto.py Asyncore update 2017-07-06 19:45:36 +02:00
connectionchooser.py Add ratings to peers 2017-07-05 09:17:01 +02:00
connectionpool.py Asyncore update 2017-07-06 19:45:36 +02:00
downloadqueue.py Big Asyncore update 2017-05-24 16:51:49 +02:00
downloadthread.py Asyncore update 2017-07-06 19:45:36 +02:00
http-old.py New network subsystem, WIP 2017-03-10 23:11:57 +01:00
http.py Asyncore update (WIP) 2017-04-16 18:27:15 +02:00
httpd.py New network backend (WIP, not integrated) 2016-12-01 16:48:04 +01:00
https.py Fixes and refactoring 2017-01-11 17:00:00 +01:00
invthread.py Asyncore update 2017-07-06 19:45:36 +02:00
networkthread.py Asyncore updates 2017-06-21 12:16:33 +02:00
node.py Big Asyncore update 2017-05-24 16:51:49 +02:00
objectracker.py Download thread updates 2017-07-05 09:25:49 +02:00
proxy.py Asyncore proxy fixes 2017-06-24 12:23:56 +02:00
receivequeuethread.py Asyncore update 2017-07-06 19:45:36 +02:00
socks4a.py Asyncore update 2017-07-06 19:45:36 +02:00
socks5.py Asyncore update 2017-07-06 19:45:36 +02:00
stats.py Network status updates 2017-06-24 12:16:12 +02:00
tcp.py Asyncore update 2017-07-06 19:45:36 +02:00
tls.py Asyncore update 2017-07-06 19:45:36 +02:00
udp.py Asyncore update 2017-07-06 19:45:36 +02:00
uploadqueue.py Big Asyncore update 2017-05-24 16:51:49 +02:00