Commit graph

202 commits

Author SHA1 Message Date
yhirose
9d7b717504 Range header support and redesign of content provider interface 2019-08-03 03:28:39 +09:00
yhirose
58f72bc8b6 Code cleanup 2019-07-29 14:24:40 -04:00
yhirose
4c58b91e40 Added additonal status messages 2019-07-29 09:47:50 -04:00
yhirose
06b3dee5aa Code cleanup 2019-07-28 19:12:44 -04:00
yhirose
d15df874b3 Code cleanup 2019-07-28 07:52:57 -04:00
yhirose
f40de531ab Fix #196 2019-07-26 14:39:09 -04:00
yhirose
cb11d9412e Fixed connection end problem with HTTP/1.0 client 2019-07-24 06:53:48 -04:00
yhirose
34651ef89b Fix #121 2019-07-23 09:53:44 -04:00
yhirose
dd20e4d418 Fixed build errors 2019-07-22 06:58:05 -04:00
yhirose
7267b3f3e2 Write error handling 2019-07-21 21:34:49 -04:00
yhirose
4c18ac2b18 Added locking_callback for OpenSSL versions prior to 1.1.0 2019-07-19 17:03:47 -04:00
yhirose
eaafa5d55c Fix #127 2019-07-19 11:38:06 -04:00
yhirose
3d1ae3a3af Code cleanup 2019-07-17 23:50:47 -04:00
yhirose
6f663028e9 Fix #139. Content receiver support 2019-07-17 22:00:18 -04:00
yhirose
31cdadc4b1 Added check code to compress and decompress 2019-07-17 19:00:35 -04:00
yhirose
849add5887 Code cleanup 2019-07-17 15:09:41 -04:00
yhirose
fccb84f5e8 Refactoring for reading content 2019-07-17 08:56:49 -04:00
Jasper van de Ven
2fdc41c323 Made svr_sock_ and is_running_ variables atomic 2019-07-05 11:03:23 +02:00
yhirose
74e9a0d17e Fix #182 2019-07-03 10:52:24 -04:00
yhirose
bb537d93fe Added CPPHTTPLIB_RECV_BUFSIZ 2019-06-29 20:39:18 -04:00
yhirose
bde3fd9f78 Improved performance of read_content_without_length 2019-06-29 20:25:16 -04:00
yhirose
2aa35d5f53 Fix #179 2019-06-28 12:08:47 -04:00
yhirose
5377c86da9 clangformat 2019-06-20 19:17:59 -04:00
yhirose
1981e0ccad Add SSL object on Request 2019-06-20 18:52:28 -04:00
yhirose
866b6967a0 Fixed memory leak 2019-06-20 17:37:18 -04:00
yhirose
6d74fa86be Fix #164 2019-06-20 17:11:44 -04:00
yhirose
b5c79bf146 Fix #160 2019-06-20 15:00:22 -04:00
yhirose
4f4e6f2140 Use 'inline' 2019-06-20 12:43:17 -04:00
yhirose
a28e3620a2 Fix #173 2019-06-20 11:45:11 -04:00
yhirose
4a857511e2 fix #168 2019-06-17 11:33:43 -04:00
yhirose
8d12e0d8f4 Simplified code 2019-06-11 21:39:35 -04:00
yhirose
07d9843b91 clangformat 2019-06-11 20:57:02 -04:00
yhirose
92f08b54c4
Merge pull request #162 from PixlRainbow/master
client certificates support
2019-06-11 20:53:56 -04:00
PixlRainbow
60e0286cfb rename certificate parameter to reduce confusion 2019-06-06 23:52:33 +08:00
PixlRainbow
628b1115ea remove requirement for trusted_cert_path 2019-06-06 23:34:24 +08:00
PixlRainbow
57f61bf80e client-side support for client certificates 2019-06-06 01:16:47 +08:00
PixlRainbow
6bb05c5483 support certificates signed by intermediate CA 2019-06-05 19:44:37 +08:00
yhirose
6f207497de Fixed #150 2019-06-04 22:53:37 -04:00
PixlRainbow
d630c116df server-side support for client certificates 2019-06-05 02:21:37 +08:00
Yuji Hirose
48af26e332 Fixed resource leaks 2019-06-03 11:06:59 -04:00
Yuji Hirose
d4936a2c78 Fixed #155 2019-05-31 10:30:11 -04:00
Hans Erickson
f3f4ab8499 Add encode_url() call to Client class when adding parameter values. 2019-05-20 09:48:06 -05:00
Mark Nelson
e623dfedf3
Update httplib.h
CPPHTTPLIB_PAYLOAD_MAX_LENGTH is only used in one place, that is to initialize payload_max_length_. Because payload_max_length_ is a size_t, attempts to intialize it with a 64 bit integer max will generate warnings, notably on 32 bit compilers. Changing the max to the same size as the target resolves that, and this should be no risk.
2019-05-14 16:17:41 -04:00
yhirose
dfc94f2cab Code cleanup 2019-05-07 21:46:15 -04:00
yhirose
3f42804a4f Wildcard support for verifying server certificate. fix #87 2019-05-07 21:40:03 -04:00
yhirose
82193b9489 Code clieanup 2019-05-07 20:11:45 -04:00
yhirose
097c61b871 Comment out debug print 2019-05-07 16:57:27 -04:00
yhirose
b08e22ab00 Changed the server certificate verification API 2019-05-07 16:54:51 -04:00
yhirose
03a577cccd Fixed huge payload problem on Windows 2019-05-07 16:41:50 -04:00
yhirose
0bd9737c88 Fix #87 2019-05-07 16:41:33 -04:00