Home
last modified time | relevance | path

Searched hist:564 (Results 1 – 25 of 47) sorted by last modified time

12

/unit/docs/
H A Dchanges.xmldiff 1916:2d7e54265010 Tue Jul 20 07:37:00 UTC 2021 Max Romanov <max.romanov@nginx.com> Python: fixing ASGI receive() issues.

The receive() call never blocks for a GET request and always returns the same
empty body message. The Starlette framework creates a separate task when
receive() is called in a loop until an 'http.disconnect' message is received.

The 'http.disconnect' message was previously issued after the response header
had been sent. However, the correct behavior is to respond with
'http.disconnect' after sending the response is complete.

This closes #564 issue on GitHub.
/unit/src/
H A Dnxt_router.cdiff 564:762f8c976ead Mon Mar 05 14:32:00 UTC 2018 Valentin Bartenev <vbart@nginx.com> Reduced number of critical log levels.
H A Dnxt_controller.cdiff 564:762f8c976ead Mon Mar 05 14:32:00 UTC 2018 Valentin Bartenev <vbart@nginx.com> Reduced number of critical log levels.
H A Dnxt_conn_close.cdiff 564:762f8c976ead Mon Mar 05 14:32:00 UTC 2018 Valentin Bartenev <vbart@nginx.com> Reduced number of critical log levels.
H A Dnxt_conn_accept.cdiff 564:762f8c976ead Mon Mar 05 14:32:00 UTC 2018 Valentin Bartenev <vbart@nginx.com> Reduced number of critical log levels.
H A Dnxt_main_process.cdiff 564:762f8c976ead Mon Mar 05 14:32:00 UTC 2018 Valentin Bartenev <vbart@nginx.com> Reduced number of critical log levels.
H A Dnxt_runtime.cdiff 564:762f8c976ead Mon Mar 05 14:32:00 UTC 2018 Valentin Bartenev <vbart@nginx.com> Reduced number of critical log levels.
H A Dnxt_process.cdiff 564:762f8c976ead Mon Mar 05 14:32:00 UTC 2018 Valentin Bartenev <vbart@nginx.com> Reduced number of critical log levels.
H A Dnxt_application.cdiff 564:762f8c976ead Mon Mar 05 14:32:00 UTC 2018 Valentin Bartenev <vbart@nginx.com> Reduced number of critical log levels.
H A Dnxt_port_socket.cdiff 564:762f8c976ead Mon Mar 05 14:32:00 UTC 2018 Valentin Bartenev <vbart@nginx.com> Reduced number of critical log levels.
H A Dnxt_mp.cdiff 564:762f8c976ead Mon Mar 05 14:32:00 UTC 2018 Valentin Bartenev <vbart@nginx.com> Reduced number of critical log levels.
H A Dnxt_port_memory.cdiff 564:762f8c976ead Mon Mar 05 14:32:00 UTC 2018 Valentin Bartenev <vbart@nginx.com> Reduced number of critical log levels.
H A Dnxt_openssl.cdiff 564:762f8c976ead Mon Mar 05 14:32:00 UTC 2018 Valentin Bartenev <vbart@nginx.com> Reduced number of critical log levels.
H A Dnxt_mem_zone.cdiff 564:762f8c976ead Mon Mar 05 14:32:00 UTC 2018 Valentin Bartenev <vbart@nginx.com> Reduced number of critical log levels.
H A Dnxt_log.hdiff 564:762f8c976ead Mon Mar 05 14:32:00 UTC 2018 Valentin Bartenev <vbart@nginx.com> Reduced number of critical log levels.
H A Dnxt_log_moderation.hdiff 564:762f8c976ead Mon Mar 05 14:32:00 UTC 2018 Valentin Bartenev <vbart@nginx.com> Reduced number of critical log levels.
H A Dnxt_fiber.cdiff 564:762f8c976ead Mon Mar 05 14:32:00 UTC 2018 Valentin Bartenev <vbart@nginx.com> Reduced number of critical log levels.
H A Dnxt_file.hdiff 564:762f8c976ead Mon Mar 05 14:32:00 UTC 2018 Valentin Bartenev <vbart@nginx.com> Reduced number of critical log levels.
H A Dnxt_gnutls.cdiff 564:762f8c976ead Mon Mar 05 14:32:00 UTC 2018 Valentin Bartenev <vbart@nginx.com> Reduced number of critical log levels.
H A Dnxt_malloc.cdiff 564:762f8c976ead Mon Mar 05 14:32:00 UTC 2018 Valentin Bartenev <vbart@nginx.com> Reduced number of critical log levels.
H A Dnxt_port.cdiff 564:762f8c976ead Mon Mar 05 14:32:00 UTC 2018 Valentin Bartenev <vbart@nginx.com> Reduced number of critical log levels.
H A Dnxt_php_sapi.cdiff 564:762f8c976ead Mon Mar 05 14:32:00 UTC 2018 Valentin Bartenev <vbart@nginx.com> Reduced number of critical log levels.
H A Dnxt_socketpair.cdiff 564:762f8c976ead Mon Mar 05 14:32:00 UTC 2018 Valentin Bartenev <vbart@nginx.com> Reduced number of critical log levels.
/unit/src/perl/
H A Dnxt_perl_psgi.cdiff 564:762f8c976ead Mon Mar 05 14:32:00 UTC 2018 Valentin Bartenev <vbart@nginx.com> Reduced number of critical log levels.
/unit/src/python/
H A Dnxt_python_asgi_http.cdiff 1917:a7e80c97def4 Tue Jul 20 07:37:00 UTC 2021 Max Romanov <max.romanov@nginx.com> Python: fixing exceptions in Future.set_result for ASGI implementation.

An ASGI application can cancel the Future object returned by the receive()
call. In this case, Unit's ASGI implementation should not call set_result()
because the Future is already handled. In particular, the Starlette framework
was noted to cancel the received Future.

This patch adds a done() check for the Future before attempting a set_result().

This is related to #564 issue on GitHub.
diff 1916:2d7e54265010 Tue Jul 20 07:37:00 UTC 2021 Max Romanov <max.romanov@nginx.com> Python: fixing ASGI receive() issues.

The receive() call never blocks for a GET request and always returns the same
empty body message. The Starlette framework creates a separate task when
receive() is called in a loop until an 'http.disconnect' message is received.

The 'http.disconnect' message was previously issued after the response header
had been sent. However, the correct behavior is to respond with
'http.disconnect' after sending the response is complete.

This closes #564 issue on GitHub.

12