bel
23f02df8fd
Configuration for Cache-Control: max-age
...
Experimental configuration option "_experimental_static_file_max_age" for tests.
TODO: rename this option and documetent it in UserManual.md
This also addresses the "Caching" issue of #201
2016-03-13 21:29:55 +01:00
bel
bfc6dfe52b
Remove nested comment
2016-03-13 20:09:40 +01:00
bel
5d2e7c889d
Mark test/unit_test.c as obsolete.
...
Since the new CMake based build system will use other files for
unit tests (public_func.c, public_server.c, private.c, private_exe.c
and others), this file is no longer maintained, and will be removed
in the future.
See also #269
2016-03-08 19:48:30 +01:00
bel
2ed461a147
HTTP response codes according to IANA registration page:
...
http://www.iana.org/assignments/http-status-codes/http-status-codes.xhtml
2016-03-08 19:42:16 +01:00
bel2125
6199ef4f77
Merge pull request #269 from mingodad/master
...
Fix unit_test.c
(Note from the maintainers: unit_test.c is mostly obsolete and replaced by the CMake based unit test system.)
2016-03-08 19:41:30 +01:00
mingodad
af2cb138be
Fix unit_test, still not working properly
2016-03-06 12:08:58 +00:00
bel
27a56bbe3e
Add a note not to create a CivetServer instance with a static constructor in a Windows DLL
...
See #264
2016-02-29 21:18:53 +01:00
bel
0c5c6aa74f
Auto-format after merge
2016-02-29 21:14:04 +01:00
bel2125
9181014ce4
Merge pull request #267 from jackcha83/master
...
In read_request() function, last_action_time is always zero before en…
2016-02-29 20:54:57 +01:00
Jack
0529225b5e
In read_request() function, last_action_time is always zero before entering the while loop
2016-02-29 10:11:26 -08:00
bel
55eea8eb8d
Change option tcp_nodelay from boolean to number
...
This allows to implement a finer control over when to disable Nagle's algorithm.
See comment on #258
2016-02-28 23:04:45 +01:00
bel
631eaeaac5
Update link for coveralls batch (see #183 )
2016-02-28 23:02:07 +01:00
bel
7ac5644ec0
Update release notes
2016-02-28 22:17:28 +01:00
bel
e6f4e235e3
Update credits
...
Add all authors since the last update.
From the git history by:
git log --format="%aN" 13f6c043aaeee60fcb5ac063c895fc80867f7ccc..HEAD | sort -u
2016-02-28 22:16:53 +01:00
bel
9af9b18316
Run CivetWeb without config file (See #201 )
2016-02-28 00:28:58 +01:00
bel
ccd67fabef
Uninitialize openSSL to avoid memory leak (see #263 )
2016-02-27 22:29:03 +01:00
bel
60f207111d
Don't call local request handler for requests with absolute URIs of other servers ( #266 )
2016-02-26 23:32:35 +01:00
bel
bd30fe2fd5
Check domain name when checking absolute URIs
2016-02-26 23:24:40 +01:00
bel
d2c64184d9
Replace fopen by mg_fopen
...
mg_fopen uses unicode (UTF-8) file names in windows, while fopen uses code page depending string encoding
2016-02-21 23:01:34 +01:00
bel
451735c7e3
Replace fopen by mg_fopen in civetweb.c
...
mg_fopen uses unicode (UTF-8) file names in windows, while fopen uses code page depending string encoding
TODO: the same for all *.inl files
2016-02-21 22:40:53 +01:00
bel
92099ed0da
Add funtion to store body data
2016-02-21 21:36:37 +01:00
bel
9d7e746d03
Test mg_close_connection
2016-02-21 19:57:17 +01:00
bel
aa6dd2f84e
Add example for a Lua file handler
2016-02-20 20:47:33 +01:00
bel2125
75fcc82daa
Merge pull request #261 from javaJake/websocketclose
...
Only free conn if in client context.
2016-02-19 23:59:10 +01:00
bel
a44640fc36
Document tcp_nodelay option (see #258 )
2016-02-19 23:28:22 +01:00
bel2125
550352cba1
Merge pull request #258 from waltsteverson/master
...
Add config option for enabling the TCP_NODELAY option on client sockets
2016-02-19 23:23:17 +01:00
bel
58ca276782
Fix use of std::vector in optional C++ interface (see #262 )
2016-02-19 23:12:30 +01:00
Jacob Skillin
c793d57105
Free mutex prior to freeing conn
...
The worker_thread_run will handle freeing the mutex in a server context
2016-02-19 13:25:27 -05:00
Jacob Skillin
1fd406d476
Only free conn if in client context.
...
The worker_thread_run function will free the conn memory when it quits.
Freeing it in mg_close_connection frees it too early, causing a crash in
the worker_thread_run function as it reuses conn until the server quits
and asks the thread to quit.
2016-02-19 13:18:42 -05:00
Walt Steverson
b1d0f8d20b
Add config option for enabling the TCP_NODELAY option on client sockets.
2016-02-15 21:01:24 -06:00
bel
4d5de1ce6f
Alternative to mg_upload (Step 55/?)
2016-02-15 22:15:39 +01:00
bel2125
2ef1efcd5d
Alternative to mg_upload (Step 54/?)
2016-02-15 21:59:12 +01:00
bel2125
d4b3569edb
Update coverity scan script
2016-02-15 20:25:15 +01:00
bel
d224b8291d
Alternative to mg_upload (Step 53/?)
2016-02-14 23:25:24 +01:00
bel
aa7cbc21bc
Alternative to mg_upload (Step 52/?)
2016-02-14 23:00:49 +01:00
bel
daea271956
Alternative to mg_upload (Step 51/?)
...
Replace old implementation of mg_upload (see #180 )
2016-02-14 22:30:15 +01:00
bel
20f3965f2c
Alternative to mg_upload (Step 50/?)
2016-02-14 21:39:56 +01:00
bel
25193ba1e2
Alternative to mg_upload (Step 49/?)
2016-02-14 21:07:22 +01:00
bel
03047808a0
Alternative to mg_upload (Step 48/?)
2016-02-12 23:03:35 +01:00
bel
13a45e903f
Use system functions to convert date/time instead of an own implementation (see #250 )
2016-02-12 21:22:39 +01:00
bel
76e5ead243
Alternative to mg_upload (Step 47/?)
2016-02-12 02:05:33 +01:00
bel
30b7abbd20
Alternative to mg_upload (Step 46/?)
2016-02-12 01:40:44 +01:00
bel
af913ce5fc
Alternative to mg_upload (Step 45/?)
2016-02-12 00:06:15 +01:00
bel2125
0acc3ac24d
Merge pull request #257 from PhilLab/CppHEADHandler
...
HEAD request handler for C++ interface
2016-02-11 22:36:52 +01:00
bel
9badfc62b3
Alternative to mg_upload (Step 44/?)
2016-02-11 21:44:43 +01:00
Philipp Hasper
36ef459a78
HEAD request handler for C++ interface
2016-02-11 08:05:29 +01:00
bel
65600ec4d7
Alternative to mg_upload (Step 43/?)
2016-02-11 01:20:49 +01:00
bel
dddaeab341
Alternative to mg_upload (Step 42/?)
2016-02-11 01:04:52 +01:00
bel
1b8cc60b2d
Alternative to mg_upload (Step 41/?)
2016-02-10 23:20:49 +01:00
bel
4977dd237d
Alternative to mg_upload (Step 40/?)
2016-02-10 22:30:44 +01:00