nxt_h1proto.c (2002:c802cd567711) nxt_h1proto.c (2078:0996dd223cdd)
1
2/*
3 * Copyright (C) Igor Sysoev
4 * Copyright (C) NGINX, Inc.
5 */
6
7#include <nxt_router.h>
8#include <nxt_http.h>

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

1876
1877 nxt_queue_remove(&c->link);
1878
1879 nxt_h1p_idle_response(task, c);
1880}
1881
1882
1883#define NXT_H1P_IDLE_TIMEOUT \
1
2/*
3 * Copyright (C) Igor Sysoev
4 * Copyright (C) NGINX, Inc.
5 */
6
7#include <nxt_router.h>
8#include <nxt_http.h>

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

1876
1877 nxt_queue_remove(&c->link);
1878
1879 nxt_h1p_idle_response(task, c);
1880}
1881
1882
1883#define NXT_H1P_IDLE_TIMEOUT \
1884 "HTTP/1.1 408 Request Timeout\r\n" \
1885 "Server: " NXT_SERVER "\r\n" \
1886 "Connection: close\r\n" \
1887 "Content-Length: 0\r\n" \
1888 "Date: "
1884 "HTTP/1.1 408 Request Timeout\r\n" \
1885 "Server: " NXT_SERVER "\r\n" \
1886 "Connection: close\r\n" \
1887 "Content-Length: 0\r\n" \
1888 "Date: "
1889
1890
1891static void
1892nxt_h1p_idle_response(nxt_task_t *task, nxt_conn_t *c)
1893{
1894 u_char *p;
1895 size_t size;
1896 nxt_buf_t *out, *last;

--- 980 unchanged lines hidden ---
1889
1890
1891static void
1892nxt_h1p_idle_response(nxt_task_t *task, nxt_conn_t *c)
1893{
1894 u_char *p;
1895 size_t size;
1896 nxt_buf_t *out, *last;

--- 980 unchanged lines hidden ---