fix read-spin on d/c during json post + errorhandling
This commit is contained in:
@@ -56,6 +56,7 @@ class Cfg(Namespace):
|
||||
textfiles="",
|
||||
doctitle="",
|
||||
html_head="",
|
||||
lang="eng",
|
||||
theme=0,
|
||||
themes=0,
|
||||
turbo=0,
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user