Commit Graph

6 Commits

Author SHA1 Message Date
user
f389e6bd13 More efficient python script
- Fixed pipelining
- Cleaning everything up
- Don't re-download saved characters
- Add the media to .gitignore

About pipelining:

According to python:
1) you send a request
2) you MUST get response headers for (1) (THIS IS MANDATORY)
3) you send another request
4) you get response body for (2)
5) response headers for (3)
6) response body for (5)

Only two requests can be pipelined. Surely this is an unavoidable, wait no it's just written into the code to error out if you don't do it that way.

according to reality:
1) you send a request
2) you do not get response headers for (1)
3) you repeat steps 1-2 until enough responses are queued
4) you receive those responses as header,body,header,body...

they even name it with a __ so to make it hard to override, but the state can safely go to Idle after a request has sent, whether or not response headers have come in. Sure the connection might close, but then you adjust to not pipeline, and re-send the rest of your requests over a new connection.
2015-09-25 22:43:54 +02:00
SmallJoker
503b9a0125 StandardError -> Exception
Try to add some python codes [untested]
2014-10-08 12:20:40 +02:00
SmallJoker
a4921558f3 Fix error in update script [untested]
https://forum.minetest.net/viewtopic.php?p=156986#p156986
2014-10-05 18:26:25 +02:00
SmallJoker
8d5709661f Fix dat weird stuff. 2014-08-29 22:02:35 +02:00
SmallJoker
dc44a8805f Update 2014-07-23 13:46:42 +02:00
dmonty2
5e58108006 1.0 2014-03-16 22:25:18 -07:00