Sergey Lyubka
1eed770238
Moved Makefile and main.c to build/
2013-08-18 23:02:43 +01:00
Sergey Lyubka
511ef4137f
Better SSI mime type handling
2013-08-18 13:27:54 +01:00
Sergey Lyubka
479164129b
Styling, lines > 80 chars
2013-08-18 13:16:53 +01:00
Sergey Lyubka
08746115e2
Sending EXTRA_HTTP_HEADERS in handle_file_request()
2013-08-18 13:03:39 +01:00
Sergey Lyubka
587aad75c1
License change
2013-08-16 11:28:50 +01:00
Sergey Lyubka
218428662e
License change
2013-08-16 11:18:16 +01:00
Sergey Lyubka
04fc209644
removing dmg dir on clean
2013-08-16 11:18:04 +01:00
Sergey Lyubka
53bedd1eb5
made separate targets for each example
2013-08-16 11:17:15 +01:00
Sergey Lyubka
a0b43ae8e0
Merge pull request #218 from MikieMorales/patch-3
...
Changing Embedding example to C file.
2013-08-14 09:50:07 -07:00
Miguel Morales
866a7e2823
Changing Embedding example to C file.
2013-08-14 12:38:32 -04:00
Sergey Lyubka
2055d41a9f
Corrected misplaced brackets in parse_http_message()
2013-08-14 10:55:36 +01:00
Sergey Lyubka
1ef29c1b3b
Using #define MGSQLEN for the socket queue length
2013-08-14 08:23:30 +01:00
Sergey Lyubka
e95dbb90a7
Sending content-length from put_file()
2013-08-14 08:15:42 +01:00
Sergey Lyubka
cf18c932a4
Refactored parse_http_message()
2013-08-14 07:41:47 +01:00
Sergey Lyubka
a730afc44d
Merge branch 'master' of ssh://github.com/valenok/mongoose
2013-08-14 07:09:28 +01:00
Sergey Lyubka
94296c9697
Corrected check for websocket connection close
2013-08-14 07:09:22 +01:00
Sergey Lyubka
667707df50
Merge pull request #214 from DanielOaks/server_software
...
Added SERVER_SOFTWARE CGI variable
2013-08-13 04:28:26 -07:00
Daniel Oaks
90b6fab3bb
Added SERVER_SOFTWARE CGI variable
2013-08-13 21:21:05 +10:00
Sergey Lyubka
e47dbcbdc5
Merge pull request #213 from MikieMorales/patch-1
...
Update UserManual.md
2013-08-12 08:59:39 -07:00
MikieMorales
2a15f8d567
Update UserManual.md
...
SheBang wikipedia link is broken due to the end parenthesis. I tried escaping it with backslash and it seems to be working now.
2013-08-12 11:23:11 -04:00
Sergey Lyubka
b5d397c74f
Merge pull request #212 from pas2k/master
...
Consume \n in mg_fgets when reading from membuf
2013-08-12 04:16:19 -07:00
Pavel Khlebovich
3d6b373c8f
(mg_fgets) Accept lines at the end not terminated by \n
...
(mg_fgets) Don't consume more than size bytes when line cannot fit into buffer.
2013-08-12 14:27:20 +04:00
Sergey Lyubka
ed236dddeb
changed signature for mg_exec_lua_script(). fixed lua_error_handler()
2013-08-12 09:53:42 +01:00
Sergey Lyubka
596fb1e88a
Merge branch 'master' of ssh://github.com/valenok/mongoose
2013-08-12 09:52:22 +01:00
Sergey Lyubka
ca0cd5040d
Updated sqlite
2013-08-12 09:52:10 +01:00
Pavel Khlebovich
5b84acbc14
Consume \n in mg_fgets when reading from membuf.
2013-08-12 00:47:12 +04:00
Sergey Lyubka
c12838e2c3
Merge pull request #211 from nigels-com/msc_ver
...
gcc complains about _MSC_VER being an undefined macro.
2013-08-08 22:50:19 -07:00
Nigel Stewart
fa3e6ce271
gcc complains about _MSC_VER being an undefined macro.
2013-08-08 22:08:00 -05:00
Sergey Lyubka
743f48b8e0
Added mg_exec_lua_script, mg_prepare_lua_environment -> prepare_lua_environment
2013-08-08 13:11:05 +01:00
Sergey Lyubka
421c16b2bb
Added -DLUA_USE_DLOPEN, and added mongoose.o: mod_lua.c
2013-08-08 12:15:40 +01:00
Sergey Lyubka
3054a7f09e
Make sure child closes all pipe fds when executing CGI
2013-08-03 07:18:25 +01:00
Sergey Lyubka
2de96bd54e
Workaround for non-compliant vsnprintf()
2013-08-02 11:00:21 +01:00
Sergey Lyubka
f815c315e7
Added git analytics link
2013-08-01 14:20:35 +01:00
Sergey Lyubka
e59ee00154
Added request_timeout_ms
2013-07-30 15:21:34 +01:00
Sergey Lyubka
b07745ab50
Added Lua dll example
2013-07-30 14:49:52 +01:00
Sergey Lyubka
2468a8fb38
Merge branch 'master' of ssh://github.com/valenok/mongoose
2013-07-30 11:19:42 +01:00
Sergey Lyubka
ed38a4102e
showing error string as well as numeric error on bind failure
2013-07-30 11:19:33 +01:00
Sergey Lyubka
b1c66f6544
Merge pull request #207 from bick4ord/master
...
Add casts to fix strict compiler errors [-fpermissive]
2013-07-29 13:20:43 -07:00
bick
8f79a0564f
Add casts to fix strict compiler errors [-fpermissive]
...
When using g++ and enforcing strict compiler errors, this commit fixes the following:
mongoose.c: In function ‘char* mg_fgets(char*, size_t, file*, char**)’:
mongoose.c:2405:60: error: invalid conversion from ‘void*’ to ‘char*’ [-fpermissive]
mongoose.c: In function ‘int set_ports_option(mg_context*)’:
mongoose.c:4586:64: error: invalid conversion from ‘void*’ to ‘socket*’ [-fpermissive]
mongoose.c: In function ‘void* worker_thread(void*)’:
mongoose.c:5104:28: error: invalid conversion from ‘void*’ to ‘mg_context*’ [-fpermissive]
mongoose.c: In function ‘void* master_thread(void*)’:
mongoose.c:5220:28: error: invalid conversion from ‘void*’ to ‘mg_context*’ [-fpermissive]
mongoose.c:5235:58: error: invalid conversion from ‘void*’ to ‘pollfd*’ [-fpermissive]
2013-07-29 11:46:24 -07:00
Sergey Lyubka
2e93cde929
Merge branch 'master' of ssh://github.com/valenok/mongoose
2013-07-28 12:15:30 +01:00
Sergey Lyubka
e53d05637a
Binding to IPv6 addresses
2013-07-28 12:15:16 +01:00
Sergey Lyubka
9d75d35365
v. x.x -> v.x.x
2013-07-28 08:20:21 +01:00
Sergey Lyubka
2ea8d85cff
Merge pull request #206 from bick4ord/master
...
adding include of openssl/err.h to fix errors when NO_SSL_DL is defined:
2013-07-26 22:48:49 -07:00
bick
ea81a22529
adding include of openssl/err.h to fix errors when NO_SSL_DL is defined:
...
mongoose.c:4680:23: error: ‘ERR_get_error’ was not declared in this scope
mongoose.c:4681:52: error: ‘ERR_error_string’ was not declared in this scope
2013-07-26 14:12:33 -07:00
Sergey Lyubka
526f3aa31c
Added check for document_root != NULL in convert_uri_to_file_name(). Added #define rmdir _rmdir for win32
2013-07-25 07:22:02 +01:00
Sergey Lyubka
62d66201c9
make match_prefix() case-insensitive
2013-07-25 07:07:25 +01:00
Sergey Lyubka
f32e14478f
Merge pull request #203 from JoseGoncalves/fixes
...
Fix uninitialized argument in getsockname().
2013-07-24 04:58:27 -07:00
José Miguel Gonçalves
ca019799b9
Fix uninitialized argument in getsockname().
2013-07-24 12:24:13 +01:00
Sergey Lyubka
c6fb9ac3d0
Fixed indenting in is_put_or_delete_request()
2013-07-23 08:24:52 +01:00
Sergey Lyubka
c80a88a407
Added test for uploading 2 files
2013-07-23 08:17:00 +01:00