From 0ec1b98f27ccf777182180a3131ab139145fbc90 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Mon, 20 Jul 2015 22:42:48 +0900 Subject: [PATCH] nghttpx: Reorder config fields --- src/shrpx_config.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/shrpx_config.h b/src/shrpx_config.h index 2ad0297e..267decf9 100644 --- a/src/shrpx_config.h +++ b/src/shrpx_config.h @@ -269,7 +269,6 @@ struct Config { std::unique_ptr private_key_passwd; std::unique_ptr cert_file; std::unique_ptr dh_param_file; - const char *server_name; std::unique_ptr backend_tls_sni_name; std::unique_ptr pid_file; std::unique_ptr conf_path; @@ -293,6 +292,7 @@ struct Config { std::unique_ptr accesslog_file; std::unique_ptr errorlog_file; std::unique_ptr fetch_ocsp_response_file; + std::unique_ptr user; FILE *http2_upstream_dump_request_header; FILE *http2_upstream_dump_response_header; nghttp2_session_callbacks *http2_upstream_callbacks; @@ -300,6 +300,7 @@ struct Config { nghttp2_option *http2_option; nghttp2_option *http2_client_option; const EVP_CIPHER *tls_ticket_cipher; + const char *server_name; char **argv; char *cwd; size_t num_worker; @@ -338,7 +339,6 @@ struct Config { int syslog_facility; int backlog; int argc; - std::unique_ptr user; uid_t uid; gid_t gid; pid_t pid;