nxt_fastcgi_source.c (65:10688b89aa16) nxt_fastcgi_source.c (521:93dc4a28dd37)
1
2/*
3 * Copyright (C) Igor Sysoev
4 * Copyright (C) NGINX, Inc.
5 */
6
7#include <nxt_main.h>
8

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

330
331
332static nxt_int_t
333nxt_fastcgi_next_param(nxt_fastcgi_source_t *fs, nxt_fastcgi_param_t *param)
334{
335 nxt_int_t ret;
336
337 enum {
1
2/*
3 * Copyright (C) Igor Sysoev
4 * Copyright (C) NGINX, Inc.
5 */
6
7#include <nxt_main.h>
8

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

330
331
332static nxt_int_t
333nxt_fastcgi_next_param(nxt_fastcgi_source_t *fs, nxt_fastcgi_param_t *param)
334{
335 nxt_int_t ret;
336
337 enum {
338 sw_name_length = 0,
339 sw_value_length,
340 sw_name,
341 sw_value,
338 sw_name_length = 0,
339 sw_value_length,
340 sw_name,
341 sw_value,
342 };
343
344 switch (fs->state) {
345
346 case sw_name_length:
347 ret = fs->request_create(fs);
348
349 if (nxt_slow_path(ret != NXT_OK)) {

--- 402 unchanged lines hidden ---
342 };
343
344 switch (fs->state) {
345
346 case sw_name_length:
347 ret = fs->request_create(fs);
348
349 if (nxt_slow_path(ret != NXT_OK)) {

--- 402 unchanged lines hidden ---