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
c00b236c
Commit
c00b236c
authored
Apr 09, 2015
by
Eugene Ossintsev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix spelling in docs/ReleaseNotes.md and in comments in mongoose.c
parent
eacd3f35
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
+8
-8
ReleaseNotes.md
docs/ReleaseNotes.md
+2
-2
mongoose.c
mongoose.c
+6
-6
No files found.
docs/ReleaseNotes.md
View file @
c00b236c
...
...
@@ -168,7 +168,7 @@ Changes in pre-compiled binaries:
since mongoose buffers all data prior to calling the callback
*
keep-alive support is the default
*
Dropped SSI support and throttling support
*
Several configura
i
tion parameters are gone:
*
Several configuration parameters are gone:
*
`cgi_environment`
(replaced with MONGOOSE_CGI),
*
`protect_uri`
(not useful)
*
`ssi_pattern`
(SSI support is gone)
...
...
@@ -214,5 +214,5 @@ Changes in pre-compiled binaries:
*
Couple of bugfixes, thanks to contributors
E
e
arlier release notes could be found by searching
Earlier release notes could be found by searching
[
Mongoose mailing list
](
https://groups.google.com/forum/#!forum/mongoose-users
)
mongoose.c
View file @
c00b236c
...
...
@@ -1403,7 +1403,7 @@ struct dir_entry {
file_stat_t
st
;
};
// NOTE(lsm): this enum should
s
be in sync with the config_options.
// NOTE(lsm): this enum should be in sync with the config_options.
enum
{
ACCESS_CONTROL_LIST
,
#ifndef MONGOOSE_NO_FILESYSTEM
...
...
@@ -1993,7 +1993,7 @@ static void *push_to_stdin(void *arg) {
if
(
!
WriteFile
(
tp
->
hPipe
,
buf
+
sent
,
n
-
sent
,
&
k
,
0
))
stop
=
1
;
}
}
DBG
((
"%s"
,
"FORWARED EVERYTHING TO CGI"
));
DBG
((
"%s"
,
"FORWAR
D
ED EVERYTHING TO CGI"
));
CloseHandle
(
tp
->
hPipe
);
NS_FREE
(
tp
);
_endthread
();
...
...
@@ -2504,7 +2504,7 @@ static size_t parse_http_message(char *buf, size_t len,
buf
[
len
-
1
]
=
'\0'
;
// RFC says that all initial whitespaces should be i
ng
ored
// RFC says that all initial whitespaces should be i
gn
ored
while
(
*
buf
!=
'\0'
&&
isspace
(
*
(
unsigned
char
*
)
buf
))
{
buf
++
;
}
...
...
@@ -3514,11 +3514,11 @@ static int scan_directory(struct connection *conn, const char *dir,
}
mg_snprintf
(
path
,
sizeof
(
path
),
"%s%c%s"
,
dir
,
'/'
,
dp
->
d_name
);
// Resize the array if ne
s
essary
// Resize the array if ne
c
essary
if
(
arr_ind
>=
arr_size
)
{
if
((
p
=
(
struct
dir_entry
*
)
NS_REALLOC
(
*
arr
,
(
inc
+
arr_size
)
*
sizeof
(
**
arr
)))
!=
NULL
)
{
// Memset new chunk to zero, otherwi
z
e st_mtime will have garbage which
// Memset new chunk to zero, otherwi
s
e st_mtime will have garbage which
// can make strftime() segfault, see
// http://code.google.com/p/mongoose/issues/detail?id=79
memset
(
p
+
arr_size
,
0
,
sizeof
(
**
arr
)
*
inc
);
...
...
@@ -4291,7 +4291,7 @@ static void do_ssi_include(struct mg_connection *conn, const char *ssi,
mg_snprintf
(
path
,
sizeof
(
path
),
"%s"
,
file_name
);
}
else
if
(
sscanf
(
tag
,
" file=
\"
%[^
\"
]
\"
"
,
file_name
)
==
1
||
sscanf
(
tag
,
"
\"
%[^
\"
]
\"
"
,
file_name
)
==
1
)
{
// File name is relative to the curre
c
t document
// File name is relative to the curre
n
t document
mg_snprintf
(
path
,
sizeof
(
path
),
"%s"
,
ssi
);
if
((
p
=
strrchr
(
path
,
'/'
))
!=
NULL
)
{
p
[
1
]
=
'\0'
;
...
...
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