src/nginx_module/LocationConfig/AutoGeneratedManifestGeneration.c in passenger-5.3.7 vs src/nginx_module/LocationConfig/AutoGeneratedManifestGeneration.c in passenger-6.0.0

- old
+ new

@@ -343,10 +343,24 @@ plcf->autogenerated.startup_file_source_line); psg_json_value_set_str(hierarchy_member, "value", (const char *) plcf->autogenerated.startup_file.data, plcf->autogenerated.startup_file.len); } + if (plcf->autogenerated.app_start_command_explicitly_set) { + find_or_create_manifest_app_and_loc_options_containers(ctx, + plcf, cscf, clcf, &app_options_container, &loc_options_container); + option_container = find_or_create_manifest_option_container(ctx, + app_options_container, + "passenger_app_start_command", + sizeof("passenger_app_start_command") - 1); + hierarchy_member = add_manifest_option_container_hierarchy_member(option_container, + &plcf->autogenerated.app_start_command_source_file, + plcf->autogenerated.app_start_command_source_line); + psg_json_value_set_str(hierarchy_member, "value", + (const char *) plcf->autogenerated.app_start_command.data, + plcf->autogenerated.app_start_command.len); + } if (plcf->autogenerated.restart_dir_explicitly_set) { find_or_create_manifest_app_and_loc_options_containers(ctx, plcf, cscf, clcf, &app_options_container, &loc_options_container); option_container = find_or_create_manifest_option_container(ctx, app_options_container, @@ -526,9 +540,22 @@ hierarchy_member = add_manifest_option_container_hierarchy_member(option_container, &plcf->autogenerated.upstream_config_buffering_source_file, plcf->autogenerated.upstream_config_buffering_source_line); psg_json_value_set_bool(hierarchy_member, "value", plcf->upstream_config.buffering); + } + if (plcf->autogenerated.upstream_config_request_buffering_explicitly_set) { + find_or_create_manifest_app_and_loc_options_containers(ctx, + plcf, cscf, clcf, &app_options_container, &loc_options_container); + option_container = find_or_create_manifest_option_container(ctx, + loc_options_container, + "passenger_request_buffering", + sizeof("passenger_request_buffering") - 1); + hierarchy_member = add_manifest_option_container_hierarchy_member(option_container, + &plcf->autogenerated.upstream_config_request_buffering_source_file, + plcf->autogenerated.upstream_config_request_buffering_source_line); + psg_json_value_set_bool(hierarchy_member, "value", + plcf->upstream_config.request_buffering); } if (plcf->autogenerated.upstream_config_intercept_errors_explicitly_set) { find_or_create_manifest_app_and_loc_options_containers(ctx, plcf, cscf, clcf, &app_options_container, &loc_options_container); option_container = find_or_create_manifest_option_container(ctx,