Fix sending endless "FCGI_STDIN" closed events

personal/stbuehler/wip
Stefan Bühler 14 years ago
parent 31acd354a7
commit 00869413ee
  1. 3
      src/modules/mod_fastcgi.c

@ -228,7 +228,8 @@ static void stream_send_chunks(chunkqueue *out, guint8 type, guint16 requestid,
chunkqueue_append_mem(out, __padding, padlen);
}
if (in->is_closed) {
if (in->is_closed && !out->is_closed) {
out->is_closed = TRUE;
stream_send_fcgi_record(out, type, requestid, 0);
}
}

Loading…
Cancel
Save