kopia lustrzana https://github.com/cirospaciari/socketify.py
update uWS, fix ws upgrade with SSL, fix override write, fix typo in CAPI, add res_close
rodzic
ebd10964ba
commit
a246161a54
|
@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|||
|
||||
[project]
|
||||
name = "socketify"
|
||||
version = "0.0.13"
|
||||
version = "0.0.14"
|
||||
authors = [
|
||||
{ name="Ciro Spaciari", email="ciro.spaciari@gmail.com" },
|
||||
]
|
||||
|
|
2
setup.py
2
setup.py
|
@ -58,7 +58,7 @@ with open("README.md", "r", encoding="utf-8") as fh:
|
|||
|
||||
setuptools.setup(
|
||||
name="socketify",
|
||||
version="0.0.13",
|
||||
version="0.0.14",
|
||||
platforms=["any"],
|
||||
author="Ciro Spaciari",
|
||||
author_email="ciro.spaciari@gmail.com",
|
||||
|
|
|
@ -215,7 +215,7 @@ size_t uws_res_get_proxied_remote_address_as_text(int ssl, uws_res_t *res, const
|
|||
|
||||
bool uws_req_is_ancient(uws_req_t *res);
|
||||
bool uws_req_get_yield(uws_req_t *res);
|
||||
void uws_req_set_field(uws_req_t *res, bool yield);
|
||||
void uws_req_set_yield(uws_req_t *res, bool yield);
|
||||
size_t uws_req_get_url(uws_req_t *res, const char **dest);
|
||||
size_t uws_req_get_method(uws_req_t *res, const char **dest);
|
||||
size_t uws_req_get_case_sensitive_method(uws_req_t *res, const char **dest);
|
||||
|
|
|
@ -2476,7 +2476,7 @@ class AppRequest:
|
|||
return self
|
||||
|
||||
def set_yield(self, has_yield):
|
||||
lib.uws_req_set_field(self.req, 1 if has_yield else 0)
|
||||
lib.uws_req_set_yield(self.req, 1 if has_yield else 0)
|
||||
|
||||
def get_yield(self):
|
||||
return bool(lib.uws_req_get_yield(self.req))
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit 005998a763761509d6fda13fd7ae43ac0046ed61
|
||||
Subproject commit f5a4235d2751c07d3f834ad86f42c2cab59eded0
|
Ładowanie…
Reference in New Issue