uvicorn 0.30.4__py3-none-any.whl → 0.30.5__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.
uvicorn/__init__.py CHANGED
@@ -1,5 +1,5 @@
1
1
  from uvicorn.config import Config
2
2
  from uvicorn.main import Server, main, run
3
3
 
4
- __version__ = "0.30.4"
4
+ __version__ = "0.30.5"
5
5
  __all__ = ["main", "run", "Config", "Server"]
@@ -259,10 +259,10 @@ class H11Protocol(asyncio.Protocol):
259
259
  self.transport.resume_reading()
260
260
  self.conn.start_next_cycle()
261
261
  continue
262
- if self.conn.their_state == h11.MUST_CLOSE:
263
- break
264
262
  self.cycle.more_body = False
265
263
  self.cycle.message_event.set()
264
+ if self.conn.their_state == h11.MUST_CLOSE:
265
+ break
266
266
 
267
267
  def handle_websocket_upgrade(self, event: h11.Request) -> None:
268
268
  if self.logger.level <= TRACE_LOG_LEVEL: # pragma: full coverage
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: uvicorn
3
- Version: 0.30.4
3
+ Version: 0.30.5
4
4
  Summary: The lightning-fast ASGI server.
5
5
  Project-URL: Changelog, https://github.com/encode/uvicorn/blob/master/CHANGELOG.md
6
6
  Project-URL: Funding, https://github.com/sponsors/encode
@@ -1,4 +1,4 @@
1
- uvicorn/__init__.py,sha256=rpdfflsXferoONP96Wsez0PjiQj_QjFl7-gh0mruQjM,147
1
+ uvicorn/__init__.py,sha256=aSoUZbVO0X1F9pIylSyTOjDCsq4sO-CYKjka_R5eP0Y,147
2
2
  uvicorn/__main__.py,sha256=DQizy6nKP0ywhPpnCHgmRDYIMfcqZKVEzNIWQZjqtVQ,62
3
3
  uvicorn/_subprocess.py,sha256=HbfRnsCkXyg7xCWVAWWzXQTeWlvLKfTlIF5wevFBkR4,2766
4
4
  uvicorn/_types.py,sha256=TcUzCyKNq90ZX2Hxa6ce0juF558zLO_AyBB1XijnD2Y,7814
@@ -26,7 +26,7 @@ uvicorn/protocols/utils.py,sha256=rCjYLd4_uwPeZkbRXQ6beCfxyI_oYpvJCwz3jEGNOiE,18
26
26
  uvicorn/protocols/http/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
27
27
  uvicorn/protocols/http/auto.py,sha256=YfXGyzWTaaE2p_jkTPWrJCXsxEaQnC3NK0-G7Wgmnls,403
28
28
  uvicorn/protocols/http/flow_control.py,sha256=050WVg31EvPOkHwynCoMP1zXFl_vO3U4durlc5vyp4U,1701
29
- uvicorn/protocols/http/h11_impl.py,sha256=ZyFUBNCK0FPHU1RpNW6ZEwaK02N1AzsGKYJUV8WfB00,20541
29
+ uvicorn/protocols/http/h11_impl.py,sha256=37iA--AYCidYBFlcwE8vFEuLXBR_eiFT_inSp548dN8,20541
30
30
  uvicorn/protocols/http/httptools_impl.py,sha256=IFxanBZZDlTePYKJ4qV3-L8iVSfxT8wh93FePcroAVY,21475
31
31
  uvicorn/protocols/websockets/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
32
32
  uvicorn/protocols/websockets/auto.py,sha256=kNP-h07ZzjA9dKRUd7MNO0J7xhRJ5xVBfit7wCbdB0A,574
@@ -38,8 +38,8 @@ uvicorn/supervisors/multiprocess.py,sha256=Opt0XvOUj1DIMXYwb4OlkJZxeh_RjweFnTmDP
38
38
  uvicorn/supervisors/statreload.py,sha256=gc-HUB44f811PvxD_ZIEQYenM7mWmhQQjYg7KKQ1c5o,1542
39
39
  uvicorn/supervisors/watchfilesreload.py,sha256=41FGNMXPKrKvPr-5O8yRWg43l6OCBtapt39M-gpdk0E,3010
40
40
  uvicorn/supervisors/watchgodreload.py,sha256=kd-gOvp14ArTNIc206Nt5CEjZZ4NP2UmMVYE7571yRQ,5486
41
- uvicorn-0.30.4.dist-info/METADATA,sha256=ri14-OWxxExjp9ECGT-H36tsruF2yUqMH5pqH6Oz-c8,6569
42
- uvicorn-0.30.4.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
43
- uvicorn-0.30.4.dist-info/entry_points.txt,sha256=FW1w-hkc9QgwaGoovMvm0ZY73w_NcycWdGAUfDsNGxw,46
44
- uvicorn-0.30.4.dist-info/licenses/LICENSE.md,sha256=7-Gs8-YvuZwoiw7HPlp3O3Jo70Mg_nV-qZQhTktjw3E,1526
45
- uvicorn-0.30.4.dist-info/RECORD,,
41
+ uvicorn-0.30.5.dist-info/METADATA,sha256=k_D1EOmTRZCMibKvZHu_XNcxIpSE65BQsBd0JjUf1DU,6569
42
+ uvicorn-0.30.5.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
43
+ uvicorn-0.30.5.dist-info/entry_points.txt,sha256=FW1w-hkc9QgwaGoovMvm0ZY73w_NcycWdGAUfDsNGxw,46
44
+ uvicorn-0.30.5.dist-info/licenses/LICENSE.md,sha256=7-Gs8-YvuZwoiw7HPlp3O3Jo70Mg_nV-qZQhTktjw3E,1526
45
+ uvicorn-0.30.5.dist-info/RECORD,,