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
21842866
Commit
21842866
authored
Aug 16, 2013
by
Sergey Lyubka
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
License change
parent
04fc2096
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
44 additions
and
48 deletions
+44
-48
LICENSE
LICENSE
+13
-16
mongoose.c
mongoose.c
+18
-16
mongoose.h
mongoose.h
+13
-16
No files found.
LICENSE
View file @
21842866
Copyright (c) 2004-2013 Sergey Lyubka
Copyright (c) 2004-2013 Sergey Lyubka <valenok@gmail.com>
Copyright (c) 2013 Cesanta Software Limited
All rights reserved
Permission is hereby granted, free of charge, to any person obtaining a copy
This code is dual-licensed: you can redistribute it and/or modify
of this software and associated documentation files (the "Software"), to deal
it under the terms of the GNU General Public License version 2 as
in the Software without restriction, including without limitation the rights
published by the Free Software Foundation. For the terms of this
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
license, see <http://www.gnu.org/licenses/>.
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
You are free to use this code under the terms of the GNU General
all copies or substantial portions of the Software.
Public License, but WITHOUT ANY WARRANTY; without even the implied
warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the GNU General Public License for more details.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
Alternatively, you can license this code under a commercial
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
license, as set out in <http://cesanta.com/products.html>.
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
mongoose.c
View file @
21842866
// Copyright (c) 2004-2013 Sergey Lyubka
// Copyright (c) 2004-2013 Sergey Lyubka <valenok@gmail.com>
// Copyright (c) 2013 Cesanta Software Limited
// All rights reserved
//
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// This library is dual-licensed: you can redistribute it and/or modify
// of this software and associated documentation files (the "Software"), to deal
// it under the terms of the GNU General Public License version 2 as
// in the Software without restriction, including without limitation the rights
// published by the Free Software Foundation. For the terms of this
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// license, see <http://www.gnu.org/licenses/>.
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
//
// The above copyright notice and this permission notice shall be included in
// You are free to use this library under the terms of the GNU General
// all copies or substantial portions of the Software.
// Public License, but WITHOUT ANY WARRANTY; without even the implied
// warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
// See the GNU General Public License for more details.
//
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// Alternatively, you can license this library under a commercial
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// license, as set out in <http://cesanta.com/products.html>.
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
#if defined(_WIN32)
#if defined(_WIN32)
#if !defined(_CRT_SECURE_NO_WARNINGS)
#if !defined(_CRT_SECURE_NO_WARNINGS)
...
@@ -309,6 +306,11 @@ typedef int socklen_t;
...
@@ -309,6 +306,11 @@ typedef int socklen_t;
#define MGSQLEN 20
#define MGSQLEN 20
#endif
#endif
// Extra HTTP headers to send in every reply
#if !defined(EXTRA_HTTP_HEADERS)
#define EXTRA_HTTP_HEADERS ""
#endif
static
const
char
*
http_500_error
=
"Internal Server Error"
;
static
const
char
*
http_500_error
=
"Internal Server Error"
;
#if defined(NO_SSL_DL)
#if defined(NO_SSL_DL)
...
...
mongoose.h
View file @
21842866
// Copyright (c) 2004-2012 Sergey Lyubka
// Copyright (c) 2004-2013 Sergey Lyubka <valenok@gmail.com>
// Copyright (c) 2013 Cesanta Software Limited
// All rights reserved
//
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// This library is dual-licensed: you can redistribute it and/or modify
// of this software and associated documentation files (the "Software"), to deal
// it under the terms of the GNU General Public License version 2 as
// in the Software without restriction, including without limitation the rights
// published by the Free Software Foundation. For the terms of this
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// license, see <http://www.gnu.org/licenses/>.
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
//
// The above copyright notice and this permission notice shall be included in
// You are free to use this library under the terms of the GNU General
// all copies or substantial portions of the Software.
// Public License, but WITHOUT ANY WARRANTY; without even the implied
// warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
// See the GNU General Public License for more details.
//
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// Alternatively, you can license this library under a commercial
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// license, as set out in <http://cesanta.com/products.html>.
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
#ifndef MONGOOSE_HEADER_INCLUDED
#ifndef MONGOOSE_HEADER_INCLUDED
#define MONGOOSE_HEADER_INCLUDED
#define MONGOOSE_HEADER_INCLUDED
...
...
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