Sergey Lyubka
f059e41cac
Removed mg_set_listening_socket() and mg_get_listening_socket(), added mg_copy_listeners()
2014-10-14 15:25:56 +01:00
Sergey Lyubka
2cce91de9a
Refactored code for multiple listeners
2014-10-14 14:22:26 +01:00
Sergey Lyubka
0ff5b5b044
Added support for multiple listeners
2014-10-14 13:59:22 +01:00
Sergey Lyubka
0c5d9a98c2
Merge branch 'master' of ssh://github.com/valenok/mongoose
2014-10-14 11:10:47 +01:00
Sergey Lyubka
c9fbdfc1b5
mg_open() accepts 3rd param: mode
2014-10-14 11:10:42 +01:00
Sergey Lyubka
6193b5171c
Merge pull request #421 from mpromonet/master
...
transmit http answer code using http_client
2014-10-14 11:10:03 +01:00
Sergey Lyubka
2f3ddeccc5
Properly trim whitespaces from the hashbang CGI interpreter path
2014-10-13 15:57:34 +01:00
MPR
ca3f5a3257
follow Google style
2014-10-12 13:58:06 +02:00
MPR
df206bc05a
transmit http answer code using http_client
2014-10-11 17:56:35 +02:00
Sergey Lyubka
4ca4c862a5
Updated net_skeleton, added extra_headers param to mg_send_file()
2014-10-09 09:26:45 +01:00
Ake Hedman
53b784b143
connection_data -> user_data
2014-09-19 08:20:37 +02:00
Sergey Lyubka
8e91e3a305
Timeout only non-listening connections
2014-09-16 07:47:40 +01:00
Sergey Lyubka
ce953575e2
Not closing listening connections
2014-09-15 13:48:55 +01:00
Sergey Lyubka
382d165574
Added MONGOOSE_NO_MMAP conditional
2014-09-15 01:18:38 +01:00
Sergey Lyubka
8752910330
Better UDP support
2014-09-11 15:52:42 +01:00
Sergey Lyubka
6083b9c5c5
Updated to the recent skeleton. SSL address format changed
2014-09-09 18:07:55 +01:00
m.milanovic@levi9.com
7806609773
Added mg_mmap and mg_munmap utility functions for memory mapping files
2014-09-04 15:05:42 +02:00
m.milanovic@levi9.com
5e3e6a6dce
Fixed compile on MINGW so it is confirmed working on versions 4.6.x till 4.9.x
2014-09-02 12:11:21 +02:00
Sergey Lyubka
3cc0d16f65
Merge branch 'master' of ssh://github.com/valenok/mongoose
2014-09-01 20:55:37 +01:00
Sergey Lyubka
b50095fa61
Added $Date$ markers
2014-09-01 20:54:12 +01:00
Massimo Callegari
347a249d10
Fixed build warning of signed/unsigned conditional expression
2014-08-30 13:04:11 +02:00
Sergey Lyubka
07d982129a
Passing NS events together with the NC pointer
2014-08-29 23:28:34 +01:00
Sergey Lyubka
c941a1a39a
Proper struct mg_connection cleanup in close_local_endpoint()
2014-08-22 16:26:30 +01:00
Sergey Lyubka
bee22312bc
removed dead code
2014-08-21 04:13:33 +01:00
Sergey Lyubka
bdb16c624c
Added MG_RECV event and mg_send_file_data() func
2014-08-21 04:09:06 +01:00
Sergey Lyubka
e389e70d05
squashed warn in mg_terminate_ssl()
2014-08-20 21:54:09 +01:00
Miodrag Milanovic
3721efe1e9
Make mongoose compile on mingw environment
2014-08-11 15:27:23 +02:00
Sergey Lyubka
e0822ffb78
Merge branch 'master' of ssh://github.com/valenok/mongoose
2014-08-08 14:25:58 +01:00
Sergey Lyubka
ae7d5a8f94
Bumping up default timeout from 30 to 300 sec
2014-08-08 14:25:44 +01:00
Davide Viti
5ed6708468
Avoid unconditional definition of _LARGEFILE_SOURCE
...
On some build systems (i.e. Buildroot), _LARGEFILE_SOURCE is defined
at "higher level" as default CFLAG definition.
This fix avoids the following compilation warning:
mongoose-5.4/mongoose.c:52:0: warning: "_LARGEFILE_SOURCE" redefined [enabled by default]
#define _LARGEFILE_SOURCE // Enable fseeko() and ftello() functions
^
<command-line>:0:0: note: this is the location of the previous definition
2014-08-07 22:08:12 +02:00
Sergey Lyubka
b67b618811
Added guard for MONGOOSE_NO_FILESYSTEM
2014-08-04 22:32:24 +01:00
Sergey Lyubka
860addf1e3
MONGOOSE_NO_SOCKETPAIR -> NS_DISABLE_SOCKETPAIR
2014-08-03 18:56:19 +01:00
Sergey Lyubka
03d571a119
Merge pull request #407 from kuiash/master
...
Populate HTTP warning codes
2014-08-03 18:29:15 +01:00
Sergey Lyubka
0d9ecffc53
Do not dealloc conn->request in mg_forward()
2014-08-03 12:41:15 +01:00
Sergey Lyubka
bd40145301
moved hex dumping to skeleton
2014-08-01 17:35:59 +01:00
Sergey Lyubka
e9c434a6a1
updated net skeleton
2014-08-01 09:05:50 +01:00
Sergey Lyubka
facf2af66e
Clearing off HTTP headers in close_local_endpoint()
2014-07-31 20:05:25 +01:00
Sergey Lyubka
cc54195f59
Added mg_forward()
2014-07-31 20:04:59 +01:00
Sergey Lyubka
e2fb707d9f
Added SSL_CTX_set_mode()
2014-07-30 11:27:37 +01:00
kuiash
7dfff935d6
Populate HTTP warning codes
...
Includes changing 201 "Server Error" to "Internal Server Error"
List mostly borrowed from here http://www.iana.org/assignments/http-status-codes/http-status-codes.xhtml
418 and 451 also added
Local testing showed a problem with 202 reported as "Server Error" instead of "Accepted"
2014-07-29 12:48:22 +01:00
Sergey Lyubka
b0355d45ae
Merge pull request #403 from pavel-pimenov/fix-cache-call-stat
...
stat - function result cache
2014-07-27 11:13:26 +01:00
Pavel Pimenov
01a058d29b
Remove file_stat_t st_cgi;
2014-07-27 13:10:49 +04:00
Pavel Pimenov
e6eca1738f
80 characters limit + remove tabs
2014-07-27 12:53:37 +04:00
Pavel Pimenov
2108ec5a0c
Fix style for pointer
2014-07-27 12:44:08 +04:00
David M.
bc4e47630a
Set the correct json content-type
...
Chance text/json to application/json to comply with the RFC.
See http://www.ietf.org/rfc/rfc4627.txt for more information.
2014-07-26 20:55:59 -04:00
Pavel Pimenov
f41c9a2a1f
stat - function result cache
2014-07-23 11:26:20 +04:00
Sergey Lyubka
386d2e5cd4
fix leak in handle_propfind()
2014-07-18 13:00:43 +01:00
Sergey Lyubka
b738fdbffa
updated net skeleton
2014-07-08 11:28:03 +01:00
Pavel Pimenov
82872e86fd
Change printf mask %zu -> %lu
...
for MS VC++ compatibility http://stackoverflow.com/questions/15610053/correct-printf-format-specifier-for-size-t-zu-or-iu
2014-07-07 09:24:48 +04:00
Alex Skalozub
a6bf2bcbf4
Should also disallow PROPFIND as well
2014-06-29 00:03:52 +04:00