1
0
mirror of https://github.com/lammertb/libhttp.git synced 2026-01-12 21:36:04 +03:00
Commit Graph

117 Commits

Author SHA1 Message Date
bel
bd3528863f mg_upload has been replaced by mg_handle_form_request (#180) 2016-05-14 00:01:27 +02:00
bel
c419d42dd6 Call init_thread for other threads as well 2016-05-13 21:33:11 +02:00
bel
5e547ff2e5 Format code after merge 2016-05-05 21:31:35 +02:00
Johan De Taeye
4d8e48b78d Updated patch after feedback on pull request #304 2016-05-04 09:59:27 +02:00
Johan De Taeye
48dcc38096 Adding a callback that is called when a new worker thread is initialized. 2016-05-03 15:06:15 +02:00
Kevin Wojniak
61daaa08dc Change mg_set_user_connection_data() to take a non-const connection since the connection needs to be modified. This fixes a "drops const qualifier" warning on OS X. 2016-04-03 08:22:07 -07:00
bel
54c6b08917 Add unit test for CGI 2016-03-16 23:13:23 +01:00
Joshua D. Boyd
4c52dcfd6a Add mg_send_mime_file.
This allows sending files with a specified Content-Type instead of
relying on file name extension lookup.
2016-03-16 00:33:26 -04: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
92099ed0da Add funtion to store body data 2016-02-21 21:36:37 +01: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
bel
20f3965f2c Alternative to mg_upload (Step 50/?) 2016-02-14 21:39:56 +01:00
Philipp Hasper
36ef459a78 HEAD request handler for C++ interface 2016-02-11 08:05:29 +01:00
Neil Jensen
eb79a551d8 Make CivetAuthHandler::authorize function pure virtual 2016-01-11 10:32:18 -06:00
Neil Jensen
ed9ae22a65 Change authorization handlers to a separate type 2016-01-11 10:09:42 -06:00
Neil Jensen
6d5236d027 Add custom authorization handler 2016-01-08 12:35:58 -06:00
Neil Jensen
76b1fbd5cf Add PATCH handlers to the CivetServer 2016-01-05 14:43:52 -06:00
bel
04db49f20b Autoformat after merge #234 2015-11-28 23:36:37 +01:00
brett
c07b562d2d allow CivetServer constructor to accept options as std::vector<std::string>
https://github.com/civetweb/civetweb/issues/233
2015-11-28 13:24:42 -08:00
bel
b3064181ae Auto format after merge 2015-11-09 23:11:48 +01:00
Philipp Hasper
a9c11e10be Adding removeWebSocketHandler 2015-11-05 11:26:33 +01:00
bel
ada9d9b00b Client API using SSL certificates (draft, Step 1/?) 2015-11-01 22:57:55 +01:00
bel2125
d8ade358c0 Merge pull request #210 from tnoho/tnoho
Add mg_websocket_client_write (some TODOs are to be fixed)
2015-10-16 20:17:40 +02:00
bel
86723f1315 Add CivetWebSocketHandler to the C++ API
Patch from Nick Bulleid
(https://groups.google.com/forum/#!topic/civetweb/-iqfDnVMw2s)
2015-10-15 20:51:27 +02:00
tnoho
e5dc6be068 Add mg_websocket_client_write 2015-10-15 00:52:15 +09:00
bel
4de9090577 Apply revised clang-format (#207) to all actively maintained source files 2015-10-05 20:58:14 +02:00
bel
164b12b558 Add server side Javascript (Duktape) to feature check API 2015-10-02 20:48:00 +02:00
bel
a6bcffcfc5 Rename rel_uri to local_uri (#197) 2015-09-29 22:45:24 +02:00
bel2125
73155eea3e Documentation: IPv6 ports will listen for both, IPv4 and IPv6
- Add this to the user documentation
- Make it more clear in the interface documentation
- Change the embedding_c example accordingly (and auto-format the code)
2015-09-29 20:43:16 +02:00
bel
ac3e0d8292 Add new interface to get listening ports (deprecate old interface) 2015-09-26 22:34:55 +02:00
bel2125
ec0206610d Support absolute uri (#197) - (Step 12/?) 2015-09-13 23:06:56 +02:00
bel2125
d0bd04ecf2 Support absolute uri (#197) - (Step 9/?) 2015-09-13 22:43:28 +02:00
bel
9a69a05905 Update source code format details 2015-09-06 21:03:52 +02:00
bel
e29dbdc5a0 Support absolute uri (#197) - (Step 6/?) 2015-09-02 23:53:38 +02:00
bel
79ad5cb4b4 Use MG_LEGACY_INTERFACE define for deprecated interfaces 2015-08-19 21:23:18 +02:00
bel
17f3949f24 Set deprecated remote_ip member as LEGACY_INTERFACE 2015-08-19 19:51:57 +02:00
bel2125
c1832493a4 Roll back merge #193
Merge "added public mg_is_context_stopped() function #193" adds a function,
which will cause a memory use after free during normal operation.
See comment https://github.com/civetweb/civetweb/pull/193#issuecomment-131705655
2015-08-17 15:34:21 +02:00
bel
f3bf12b0f5 Autoformat after merging pull request 2015-08-16 23:56:57 +02:00
Joe Mucchiello
5a450af611 missing semi 2015-08-14 19:44:02 -04:00
Joe Mucchiello
a2b208bdbf Added mg_is_context_stopped
Long running client code sometimes needs to know when civetweb is
exiting so that it can cleanly abort a long process.
2015-08-14 18:26:29 -04:00
bel
b23c0e653a Update repository link in header: bel2125/civetweb --> civetweb/civetweb 2015-08-11 23:10:47 +02:00
bel
721f694c24 Add API function to check available features 2015-08-09 21:36:07 +02:00
bel
0e5206006c Store return value of callbacks as status code for the access log
See #178
2015-07-28 22:07:18 +02:00
bel
12485f551f Update version number 2015-07-06 21:14:23 +02:00
bel
36ce480cc3 clang_format src and include 2015-06-30 20:49:32 +02:00
Matt Clarkson
a68e70f3c8 Use the visibility attribute for newer GCC versions
In newer versions of GCC the exporting of symbols can be controlled with
an attribute if -fvisibility=hidden is used. This patch allows the
CIVETWEB_API macro to work with this flag.
2015-05-28 14:32:07 +01:00
bel
6ce8b4e92c Set autoformat options and autoformat all source files 2015-05-17 01:30:21 +02:00
bel
53a18aecf1 Autoformat all source files using clang-format 2015-05-17 00:48:11 +02:00
hansipie
020b9fbe93 Symbols export for the C++ Interface 2015-04-29 17:18:44 +02:00