Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
nghttp2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
nghttp2
Commits
4749e66c
Commit
4749e66c
authored
Aug 25, 2016
by
Tatsuhiro Tsujikawa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
nghttpx: Disallow copying Config
parent
25ea4197
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
src/shrpx.cc
src/shrpx.cc
+0
-2
src/shrpx_config.h
src/shrpx_config.h
+6
-0
No files found.
src/shrpx.cc
View file @
4749e66c
...
...
@@ -1272,8 +1272,6 @@ constexpr auto DEFAULT_ACCESSLOG_FORMAT = StringRef::from_lit(
namespace
{
void
fill_default_config
(
Config
*
config
)
{
*
config
=
{};
config
->
num_worker
=
1
;
config
->
conf_path
=
"/etc/nghttpx/nghttpx.conf"
;
config
->
pid
=
getpid
();
...
...
src/shrpx_config.h
View file @
4749e66c
...
...
@@ -706,8 +706,14 @@ struct APIConfig {
};
struct
Config
{
Config
()
=
default
;
~
Config
();
Config
(
Config
&&
)
=
delete
;
Config
(
const
Config
&&
)
=
delete
;
Config
&
operator
=
(
Config
&&
)
=
delete
;
Config
&
operator
=
(
const
Config
&&
)
=
delete
;
HttpProxy
downstream_http_proxy
;
HttpConfig
http
;
Http2Config
http2
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment