1
0
mirror of https://github.com/SmallJoker/minetest-u_skinsdb.git synced 2024-11-16 07:00:18 +01:00
Commit Graph

22 Commits

Author SHA1 Message Date
user
0021eb65c5 trying to fix pipelining
also trying to understand it.

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-21 19:20:12 +00:00
user
8077a32b99 pipelining
Python http.client has pipelining disabled in the most hard coded fashion possible with python, making implementing pipelining deliberately difficult. BUT I COULD GET ALL THE PREVIEW THUMBS AS A ONE BIG BLOB NOT LEETLE PIECES
2015-09-21 19:18:15 +00:00
user
fdf52ebd86 fixes
close the response lexically, and replace takes a path which could differ from location/base so we can efficiently make the rename temp name.
2015-09-21 19:16:19 +00:00
user
2b7610a60f better file handling
Don't download again if the final saved file exists (the preview)

Don't modify files in-place.
2015-09-21 19:15:01 +00:00
user
953ad970c9 4 space indentation
I use tabs internally though :I
2015-09-21 19:11:25 +00:00
SmallJoker
e762283dec Use simple_skins if default selected 2015-04-11 15:27:41 +02:00
SmallJoker
5cb484e251 Add tooltips 2014-11-23 20:00:52 +01:00
SmallJoker
71bebbeb09 Update the stuff 2014-10-08 16:44:46 +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
7c25df22dc Add default; do not use character.x 2014-07-30 17:49:51 +02:00
SmallJoker
29332b7cf3 Typo? 2014-07-23 19:09:43 +02:00
SmallJoker
343a08e44a Update - fix some errors 2014-07-23 19:06:46 +02:00
SmallJoker
4b4aa7fd4c Readme update 2014-07-23 13:53:46 +02:00
SmallJoker
88b801b2c0 Add Win32.NET updater 2014-07-23 13:48:56 +02:00
SmallJoker
dc44a8805f Update 2014-07-23 13:46:42 +02:00
SmallJoker
597213a67d Add hacky skin preview, update README 2014-04-17 11:03:20 +02:00
dmonty2
0e84c6cc47 second commit 2014-03-16 22:38:57 -07:00
dmonty2
62be356cab first commit 2014-03-16 22:26:58 -07:00
dmonty2
5e58108006 1.0 2014-03-16 22:25:18 -07:00
dmonty2
039f49f408 first commit 2014-03-16 22:18:23 -07:00