nxt_fastcgi_source.c (704:1fcac04f0a15) nxt_fastcgi_source.c (2084:7d479274f334)
1
2/*
3 * Copyright (C) Igor Sysoev
4 * Copyright (C) NGINX, Inc.
5 */
6
7#include <nxt_main.h>
8

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

13
14typedef struct {
15 u_char *buf;
16 uint32_t len;
17 u_char length[4];
18} nxt_fastcgi_param_t;
19
20
1
2/*
3 * Copyright (C) Igor Sysoev
4 * Copyright (C) NGINX, Inc.
5 */
6
7#include <nxt_main.h>
8

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

13
14typedef struct {
15 u_char *buf;
16 uint32_t len;
17 u_char length[4];
18} nxt_fastcgi_param_t;
19
20
21#define \
22nxt_fastcgi_set_record_length(p, length) \
21#define nxt_fastcgi_set_record_length(p, length) \
23 do { \
24 uint32_t len = length; \
25 \
26 p[1] = (u_char) len; len >>= 8; \
27 p[0] = (u_char) len; \
28 } while (0)
29
30

--- 721 unchanged lines hidden ---
22 do { \
23 uint32_t len = length; \
24 \
25 p[1] = (u_char) len; len >>= 8; \
26 p[0] = (u_char) len; \
27 } while (0)
28
29

--- 721 unchanged lines hidden ---