Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
M
mongoose
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
mongoose
Commits
a66663f0
Commit
a66663f0
authored
Mar 31, 2015
by
Sergey Lyubka
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix non-openssl build
parent
1104688b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
mongoose.c
mongoose.c
+3
-2
No files found.
mongoose.c
View file @
a66663f0
...
...
@@ -5101,8 +5101,8 @@ void mg_copy_listeners(struct mg_server *s, struct mg_server *to) {
(
tmp
=
(
struct
ns_connection
*
)
NS_MALLOC
(
sizeof
(
*
tmp
)))
!=
NULL
)
{
memcpy
(
tmp
,
c
,
sizeof
(
*
tmp
));
#if
def NS_ENABLE_SSL
/* See https://github.com/cesanta/mongoose/issues/441 */
#if
defined(NS_ENABLE_SSL) && defined(HEADER_SSL_H)
/*
OpenSSL only.
See https://github.com/cesanta/mongoose/issues/441 */
if
(
tmp
->
ssl_ctx
!=
NULL
)
{
tmp
->
ssl_ctx
->
references
++
;
}
...
...
@@ -5166,6 +5166,7 @@ const char *mg_set_option(struct mg_server *server, const char *name,
char
buf
[
500
]
=
""
;
size_t
n
=
0
;
struct
vec
vec
;
/*
* Ports can be specified as 0, meaning that OS has to choose any
* free port that is available. In order to pass chosen port number to
...
...
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