Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
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
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
esp
mongoose
Commits
9e07c742
Commit
9e07c742
authored
Mar 19, 2013
by
Sergey Lyubka
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #132 from hendrikp/master
Fixed crash and description for digest authentication
parents
fbca54bc
cd2e50c2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
1 deletion
+9
-1
UserManual.md
UserManual.md
+8
-1
mongoose.c
mongoose.c
+1
-0
No files found.
UserManual.md
View file @
9e07c742
...
...
@@ -186,11 +186,18 @@ working directory. If absent (default), then errors are not logged.
### enable\_directory\_listing `yes`
Enable directory listing, either
`yes`
or
`no`
.
### global\_
passwords
\_file
### global\_
auth
\_file
Path to a global passwords file, either full path or relative to the current
working directory. If set, per-directory
`.htpasswd`
files are ignored,
and all requests are authorised against that file.
The file has to include the realm set through
`authentication_domain`
and the password in digest format:
user:realm:digest
test:test.com:ce0220efc2dd2fad6185e1f1af5a4327
(e.g. use
[
this generator
](
http://www.askapache.com/online-tools/htpasswd-generator
)
)
### index_files `index.html,index.htm,index.cgi,index.shtml,index.php`
Comma-separated list of files to be treated as directory index
files.
...
...
mongoose.c
View file @
9e07c742
...
...
@@ -5017,6 +5017,7 @@ static void process_new_connection(struct mg_connection *conn) {
}
if
(
ri
->
remote_user
!=
NULL
)
{
free
((
void
*
)
ri
->
remote_user
);
ri
->
remote_user
=
NULL
;
// when having connections with and without auth would cause double free and then crash
}
// NOTE(lsm): order is important here. should_keep_alive() call
...
...
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