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

145 Commits

Author SHA1 Message Date
Lammert Bies
9942cfd38d Made httplib_pthread_mutex_trylock public 2016-12-19 15:37:28 +01:00
Lammert Bies
32af4a5d21 Made pthread_mutex_unlock global 2016-12-19 15:19:56 +01:00
Lammert Bies
4cd956f09e Made httplib_pthread_setspecific() global 2016-12-19 14:42:22 +01:00
Lammert Bies
b67b84dafd Made httplib_pthread_self global 2016-12-19 14:02:32 +01:00
Lammert Bies
6ac572b761 Memory allocation always debugged 2016-12-16 20:17:32 +01:00
Lammert Bies
260d6dee93 Enhanced documentation and code quality 2016-12-16 15:30:05 +01:00
Lammert Bies
f7eae71010 Added utility function docs 2016-12-15 21:16:12 +01:00
Lammert Bies
9502832b97 Generalized utility functions 2016-12-15 09:29:41 +01:00
Lammert Bies
647139558b Replaced mg_ with httplib_ 2016-12-13 13:46:33 +01:00
lammertb
78a0db16de Function checked and renamed to httplib_ 2016-12-13 09:59:05 +01:00
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