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

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

419 task, fs, NULL);
420 }
421
422 /* Log FastCGI stderr output. */
423
424 for (b = fsr->parse.out[1]; b != NULL; b = b->next) {
425
426 for (p = b->mem.free - 1; p >= b->mem.pos; p--) {
1
2/*
3 * Copyright (C) Igor Sysoev
4 * Copyright (C) NGINX, Inc.
5 */
6
7#include <nxt_main.h>
8

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

419 task, fs, NULL);
420 }
421
422 /* Log FastCGI stderr output. */
423
424 for (b = fsr->parse.out[1]; b != NULL; b = b->next) {
425
426 for (p = b->mem.free - 1; p >= b->mem.pos; p--) {
427 if (*p != NXT_CR && *p != NXT_LF) {
427 if (*p != '\r' && *p != '\n') {
428 break;
429 }
430 }
431
432 size = (p + 1) - b->mem.pos;
433
434 if (size != 0) {
435 nxt_log(task, NXT_LOG_ERR,

--- 316 unchanged lines hidden ---
428 break;
429 }
430 }
431
432 size = (p + 1) - b->mem.pos;
433
434 if (size != 0) {
435 nxt_log(task, NXT_LOG_ERR,

--- 316 unchanged lines hidden ---