Deleted Added
1
2/*
3 * Copyright (C) NGINX, Inc.
4 */
5
6
7#include <python/nxt_python.h>
8

--- 622 unchanged lines hidden (view full) ---

631nxt_py_asgi_http_close_handler(nxt_unit_request_info_t *req)
632{
633 nxt_py_asgi_http_t *http;
634
635 http = req->data;
636
637 nxt_unit_req_debug(req, "asgi_http_close_handler");
638
639 if (nxt_fast_path(http != NULL)) {
640 http->closed = 1;
641
642 nxt_py_asgi_http_emit_disconnect(http);
643 }
644}
645
646
647static PyObject *
648nxt_py_asgi_http_done(PyObject *self, PyObject *future)
649{
650 int rc;
651 PyObject *res;

--- 31 unchanged lines hidden ---