1
0
mirror of https://github.com/lammertb/libhttp.git synced 2026-01-27 08:02:47 +03:00
Commit Graph

135 Commits

Author SHA1 Message Date
Lammert Bies
cfbae62e36 Fixed upper/lower case 2016-12-10 16:56:54 +01:00
Lammert Bies
5ca324c339 Removed obsolete mg_get_ports 2016-11-16 07:42:57 +01:00
Lammert Bies
f55b13bfca Removed lua 2016-11-16 04:36:19 +01:00
Lammert Bies
02927f38b8 Removed duktape support 2016-11-16 03:46:31 +01:00
Lammert Bies
6f465ad72f Source code cleanup 2016-11-15 22:41:46 +01:00
Lammert Bies
6566341735 Updated references to LibHTTP 2016-11-15 20:04:22 +01:00
Lammert Bies
9b60814d5d Deleted deprecated functions 2016-11-15 17:59:06 +01:00
bel
e7f48f31b2 Auto-format after merge 2016-09-11 20:04:09 +02:00
Philipp Hasper
9b33717247 Added optional additional_headers for mg_send_mime_file 2016-08-30 08:52:01 +02:00
bel
d8d9dd5fff Read client certificate information (Step 3/3) 2016-07-24 22:38:05 +02:00
bel
1dba82d582 Update version number 2016-05-29 13:42:20 +02:00
Kevin Wojniak
d9e4c0ad9d Fix typos in header 2016-05-28 13:54:44 -07:00
bel
0475d20f68 Use long long instead of int64_t in the public interface for consistency 2016-05-24 22:10:37 +02:00
bel
914ad2256d Add new feature value 2016-05-24 21:24:26 +02:00
bel
92c91a67cc Auto format code after merge 2016-05-22 21:34:59 +02:00
Philipp Hasper
b112ba03b6 Automatically initialize mg_callbacks to NULL in constructor
Forgetting the memset when using the constructor previously lead to
invalid pointers.
2016-05-19 17:00:32 +02:00
bel
4385636c96 Add mg_strcasecmp to the public interface 2016-05-17 22:05:27 +02:00
bel
b95cb6ef6a Add mg_get_response_code_text to the public interface 2016-05-15 00:20:18 +02:00
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