This is not supposed to happen ever, because the connection output stream needs
to be available for several responses. This was at some point a problem in some
of the test with the new ostream payload API.
conn->http_parser = http_request_parser_init(
conn->conn.input, &base_url, &conn->server->set.request_limits,
HTTP_REQUEST_PARSE_FLAG_STRICT);
+ o_stream_set_finish_via_child(conn->conn.output, FALSE);
o_stream_set_flush_callback(conn->conn.output,
http_server_connection_output, conn);
}
if (!is_head) {
resp->payload_output =
http_transfer_chunked_ostream_create(conn->conn.output);
+ o_stream_set_finish_also_parent(resp->payload_output, FALSE);
}
}
} else {