fix read-spin on d/c during json post + errorhandling

This commit is contained in:
ed
2022-06-07 19:02:52 +02:00
parent bd60b464bb
commit 4c4b3790c7
9 changed files with 103 additions and 71 deletions

View File

@@ -56,6 +56,7 @@ class Cfg(Namespace):
textfiles="",
doctitle="",
html_head="",
lang="eng",
theme=0,
themes=0,
turbo=0,

View File

@@ -36,6 +36,7 @@ class Cfg(Namespace):
"rsp_slp": 0,
"s_wr_slp": 0,
"s_wr_sz": 512 * 1024,
"lang": "eng",
"theme": 0,
"themes": 0,
"turbo": 0,

View File

@@ -128,7 +128,7 @@ class VHttpSrv(object):
class VHttpConn(object):
def __init__(self, args, asrv, log, buf):
self.s = VSock(buf)
self.sr = Unrecv(self.s)
self.sr = Unrecv(self.s, None)
self.addr = ("127.0.0.1", "42069")
self.args = args
self.asrv = asrv