GNServer 0.0.0.0.54__py3-none-any.whl → 0.0.0.0.56__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- GNServer/_app.py +1 -1
- GNServer/models.py +6 -1
- {gnserver-0.0.0.0.54.dist-info → gnserver-0.0.0.0.56.dist-info}/METADATA +1 -1
- {gnserver-0.0.0.0.54.dist-info → gnserver-0.0.0.0.56.dist-info}/RECORD +7 -7
- {gnserver-0.0.0.0.54.dist-info → gnserver-0.0.0.0.56.dist-info}/WHEEL +0 -0
- {gnserver-0.0.0.0.54.dist-info → gnserver-0.0.0.0.56.dist-info}/licenses/LICENSE +0 -0
- {gnserver-0.0.0.0.54.dist-info → gnserver-0.0.0.0.56.dist-info}/top_level.txt +0 -0
GNServer/_app.py
CHANGED
@@ -438,7 +438,7 @@ class App:
|
|
438
438
|
await self.sendResponse(request, response, mode)
|
439
439
|
logger.debug(f'Отправлен на сервер ответ -> {response.command} {response.payload if response.payload and len(str(response.payload)) < 200 else ''}')
|
440
440
|
except Exception as e:
|
441
|
-
if isinstance(e, GNRequest):
|
441
|
+
if isinstance(e, (GNRequest, GNFastCommand)):
|
442
442
|
await self.sendResponse(request, e, mode)
|
443
443
|
else:
|
444
444
|
logger.error('GNServer: error\n' + traceback.format_exc())
|
GNServer/models.py
CHANGED
@@ -34,7 +34,12 @@ class KDCObject:
|
|
34
34
|
self._servers_keys_hash_domain[h] = self._kdc_domain
|
35
35
|
self._servers_keys_domain_hash[self._kdc_domain] = h
|
36
36
|
|
37
|
-
|
37
|
+
|
38
|
+
if servers_keys is not None:
|
39
|
+
for i in self._requested_domains:
|
40
|
+
if i in servers_keys:
|
41
|
+
self._requested_domains.remove(i)
|
42
|
+
|
38
43
|
|
39
44
|
payload = self._requested_domains
|
40
45
|
r = await self._client.request(GNRequest('GET', Url(f'gn://{self._kdc_domain}/api/sys/server/keys'), payload=payload))
|
@@ -1,14 +1,14 @@
|
|
1
1
|
GNServer/__init__.py,sha256=6CMCZlkBO74PW8i8DAri5xz2fYM9EyPH8vdsLYBMmOo,1560
|
2
|
-
GNServer/_app.py,sha256
|
2
|
+
GNServer/_app.py,sha256=idWLogkGlb6lijUYMjkhViU6ZKMTbQxg7iNmY4uBif0,18782
|
3
3
|
GNServer/_client.py,sha256=IEzben2zZfgpU9DhcnjB9uQLCInllZhdoLTZyM72ldA,32610
|
4
4
|
GNServer/_cors_resolver.py,sha256=aDxk4ItaEK-6vlDbkno8FJZEjczGEe8vkOui6_kz5-Y,5950
|
5
5
|
GNServer/_crt.py,sha256=SOmyX7zBiCY9EhVSekksQtBHgTIZVvdqNZ8Ni-E5Zow,1390
|
6
6
|
GNServer/_func_params_validation.py,sha256=pDXRzPVTdPnDHFMMmKd014SConBjFOuaLeJTY0vldlM,11412
|
7
7
|
GNServer/_routes.py,sha256=bJnmQ8uEhPVQgy2tTqE5TEIM8aFXV-lVI7c2nG0rQwk,3384
|
8
8
|
GNServer/_template_resolver.py,sha256=vdJYb_7PjIeTWq-Clr7jyj7QIvPBxplU7EqeOuMJ64c,1409
|
9
|
-
GNServer/models.py,sha256=
|
10
|
-
gnserver-0.0.0.0.
|
11
|
-
gnserver-0.0.0.0.
|
12
|
-
gnserver-0.0.0.0.
|
13
|
-
gnserver-0.0.0.0.
|
14
|
-
gnserver-0.0.0.0.
|
9
|
+
GNServer/models.py,sha256=bWxUq98Rdyb2jUCm_iA7plEPOGeR5fPBAifftRRF0DM,3001
|
10
|
+
gnserver-0.0.0.0.56.dist-info/licenses/LICENSE,sha256=_rN-sb3LemR3cKsEqjJRdXkdt7mME1mkW1BwWEn-zAw,1309
|
11
|
+
gnserver-0.0.0.0.56.dist-info/METADATA,sha256=89q7I4m_rlkNn1SADvB8MOB99cTyLM7pLoC3MG6CgXE,830
|
12
|
+
gnserver-0.0.0.0.56.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
13
|
+
gnserver-0.0.0.0.56.dist-info/top_level.txt,sha256=-UOUBuD4u7Qkb1o5PdcwyA3kx8xCH2lwy0tJHi26Wb4,9
|
14
|
+
gnserver-0.0.0.0.56.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|