Sergey Lyubka
85209ac4fa
Reverted contributions by jmucchiello
2013-08-19 11:54:47 +01:00
Sergey Lyubka
93365fcbd2
audio/ogg -> application/ogg
2013-08-19 06:46:13 +01:00
Sergey Lyubka
e40a44ba70
Moved mod_lua to build/
2013-08-18 23:04:36 +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
218428662e
License change
2013-08-16 11:18:16 +01: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
Daniel Oaks
90b6fab3bb
Added SERVER_SOFTWARE CGI variable
2013-08-13 21:21:05 +10: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
Pavel Khlebovich
5b84acbc14
Consume \n in mg_fgets when reading from membuf.
2013-08-12 00:47:12 +04: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
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
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
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
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
f2e19ca3ff
Fixed indenting
2013-07-23 08:16:38 +01:00
Sergey Lyubka
16c463d2e9
Added compile-time option to set stack size
2013-07-22 10:10:19 +01:00
Sergey Lyubka
61148f1323
Using absolute paths for all file/directory options
2013-07-22 08:23:15 +01:00
Sergey Lyubka
a9d51c0e87
squashed warning
2013-07-20 11:33:34 +01:00
Sergey Lyubka
e003236a03
Made SSI #include file= relative to the current doc, as per spec
2013-07-19 07:57:47 +01:00
Sergey Lyubka
de7745370c
Merge pull request #200 from ejohnstown/master
...
Allow no SSL_CERTIFICATE when using init_ssl callback.
2013-07-18 23:35:16 -07:00
Sergey Lyubka
21786eec8e
Changed int -> SOCKET where appropriate, per Ben Currie
2013-07-18 18:17:48 +01:00
John Safranek
61f5f0b725
Allow no SSL_CERTIFICATE when using init_ssl callback.
2013-07-17 16:37:28 -07:00
Sergey Lyubka
d864d72470
On windows, enclosing path to CGI script in quotes to allow paths with spaces
2013-07-17 08:24:52 +01:00
Sergey Lyubka
7ca5962d2d
in pull_all() and read_request(), respect ctx->stop_flag()
2013-07-16 17:17:36 +01:00
Sergey Lyubka
8ce1562f0d
Using SetHandleInformation() to make socket handles on Windows non-inheritable
2013-07-16 15:52:40 +01:00
Sergey Lyubka
cdc7380d00
3.8 -> 3.9
2013-07-16 08:13:00 +01:00
Sergey Lyubka
faa030385c
Removing extra SSL_shutdown() call.
2013-07-15 18:20:16 +01:00
Sergey Lyubka
bc40aa5442
fixed strtoll() for win32: using _atoi64
2013-07-14 12:49:24 +01:00
Sergey Lyubka
c68df310b8
Added mg_websocket_write(), per morgan3d pull request
2013-07-12 12:25:25 +01:00
Sergey Lyubka
70ce6c5ad3
Added comments to read_websocket(), per morgan3d pull request
2013-07-12 11:55:52 +01:00
Sergey Lyubka
348db16245
NOT redirecting stderr to stdout for UNIX CGI, to avoid output being littered with error messages.
2013-07-11 08:44:51 +01:00
Sergey Lyubka
bcb294620f
increased buffer for the ip address string from 20 to 50, to allow ipv6 addresses
2013-07-10 07:48:06 +01:00
Sergey Lyubka
fa160cb9a3
Merge pull request #191 from kblinova/master
...
Detect Window's style slashes in mg_upload file names
2013-07-01 00:47:21 -07:00
Sergey Lyubka
137d6484e2
Removed bogus comment
2013-07-01 08:46:20 +01:00
Sergey Lyubka
e7c34c26cb
mg_read() with no Content-Length would read until socket is closed
2013-07-01 08:45:07 +01:00
Katerina Blinova
dfb7d928c2
Review revision for windows path separator detection in mg_upload
2013-06-28 11:05:33 -07:00