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
bel
5facf29f71
Alternative to mg_upload (Step 39/?)
2016-02-07 22:57:37 +01:00
bel
b151ecc9bc
Alternative to mg_upload (Step 38/?)
2016-02-07 21:34:55 +01:00
bel
49b233feae
Add ECDH support for SSL handshake (See #249 )
2016-02-07 20:45:35 +01:00
bel
680f21cf99
Alternative to mg_upload (Step 37/?)
2016-02-07 20:00:43 +01:00
bel
3cadffc42a
Consistent policy of empty lines
2016-02-02 16:53:04 +01:00
bel2125
38d130a2cc
Merge pull request #254 from oldmancoyote/master
...
Typo in example
2016-01-29 20:10:59 +01:00
Christopher Galas
36d138a820
Update Makefile
2016-01-28 14:57:23 -08:00
Christopher Galas
98570c0bd3
Compile fix: Adding in -DMG_LEGACY_INTERFACE=1
...
The example wasn't compiling under Linux Ubuntu 14.04, since this example replied upon the legacy interface. The following compile flag was needed to build the example:
-DMG_LEGACY_INTERFACE=1
2016-01-28 14:57:02 -08:00
Christopher Galas
d511e59dc4
Typo
2016-01-28 13:45:23 -08:00
bel2125
fff00cb1ec
Merge pull request #252 from oldmancoyote/master
...
Correcting minor typo
2016-01-27 23:46:44 +01:00
bel
ae2d676156
Test alternate code for parse_date_string (see #250 )
2016-01-27 23:45:22 +01:00
bel
59e555da5f
Test alternate code for parse_date_string (see #250 )
2016-01-27 23:05:45 +01:00
Christopher Galas
7c3fb31ee6
Correcting minor typo
2016-01-27 13:57:10 -08:00
bel
9182a4b09d
Improve documentation on how to use SSL certificates (see #248 )
2016-01-27 21:57:59 +01:00
bel
efa1fe9883
Alternative to mg_upload (Step 36/?)
2016-01-25 01:34:27 +01:00
bel
1c47621396
Alternative to mg_upload (Step 35/?)
2016-01-25 00:52:49 +01:00
bel
02b65a29b4
Alternative to mg_upload (Step 34/?)
2016-01-25 00:04:20 +01:00
bel
dd461c7724
Integer Underflow
...
fixed underflow in while loop if in_len is initially less than 4 bytes
Fix by @makrsmark, see #247 ,
bd125e4785
2016-01-24 22:50:10 +01:00
bel2125
2b77716636
Merge pull request #245 from jensenn/xopen_source_fix
...
Add check for _XOPEN_SOURCE already being defined
2016-01-24 22:41:48 +01:00
bel
665e5e9225
Alternative to mg_upload (Step 33/?)
2016-01-24 22:36:46 +01:00
bel
756d143478
Alternative to mg_upload (Step 32/?)
2016-01-24 22:20:30 +01:00
bel
236bdac771
Alternative to mg_upload (Step 31/?)
2016-01-24 21:32:11 +01:00
bel
1ee2b7115a
Alternative to mg_upload (Step 30/?)
2016-01-20 21:47:42 +01:00
bel
e3f7088b1c
Alternative to mg_upload (Step 29/?)
2016-01-20 21:30:52 +01:00
bel
bef7a76451
Alternative to mg_upload (Step 28/?)
2016-01-19 20:48:19 +01:00
bel
b61763b836
Adapt unit test: parse_http_headers now works differently on invalid HTTP headers
...
Before parsing "GET / HTTP/1.1\r\nA: foo bar\r\nB: bar\r\nbaz\r\n\r\n"
returned a header field "baz\r\n\r" - this makes no sense.
Now it returns a header field "baz" without value.
2016-01-18 21:37:15 +01:00
bel
18aaa35145
Alternative to mg_upload (Step 27/?)
2016-01-18 21:29:14 +01:00
bel
ac0860f6bc
Make parse_http_headers robust against headers without :
2016-01-18 21:14:32 +01:00