1
0
mirror of synced 2025-06-13 18:41:30 +03:00
Commit Graph

819 Commits

Author SHA1 Message Date
98d16eb836 Allow use of OpenSSL 1.1.1, fix compile errors 2019-10-19 16:40:06 +02:00
bcf0c32245 Updated README.md. (FIx #239 and #240) 2019-10-15 10:24:47 -04:00
dcdb0d047b Fixed PRI request problem v0.2.5 2019-10-03 13:44:18 -04:00
1f86e41d97 Changed back to select as default 2019-10-03 13:44:18 -04:00
6d8302313c Fixed warning 2019-10-03 13:44:18 -04:00
89440ec322 Merge pull request #232 from sux2mfgj/fix_the_invalidhost_test
Fix a test, ConnectionErrorTest::InvalidPort.
2019-10-03 13:43:48 -04:00
5edf455d72 Merge pull request #231 from sux2mfgj/fix_the_sample
Fix a sample code of multipart/form-data POST data in the README.md.
2019-10-03 13:42:31 -04:00
5f49c13f95 Fix a test, ConnectionErrorTest::InvalidPort. currently, the abcde.com is valid, so I change it. The first byte doesn't permit a hyphen. 2019-10-03 21:49:11 +09:00
760bccc3ad fix a sample code of multipart/form-data POST data in README.md. 2019-10-03 21:23:10 +09:00
a99e02aeb3 Add HTTP/2 Connection Preface check test 2019-10-01 06:28:45 -04:00
4aae1dcc42 Merge pull request #224 from Zefz/configuration
Allow configuration to be overriden without source editing
2019-09-30 17:07:21 -04:00
f23f9a06a9 Allow configuration to be overriden without source editing 2019-09-30 22:00:17 +02:00
46466b1e28 Merge pull request #227 from ha11owed/master
Don't exit if accept fails due to no more file descriptors
2019-09-30 07:47:27 -04:00
224119a60a Retry in case of too many sockets opened instead of stopping the server. 2019-09-30 11:48:02 +02:00
c02849e269 Removed CPPHTTPLIB_USE_POLL, added CPPHTTPLIB_USE_SELECT 2019-09-29 19:43:22 -04:00
71979b1e88 Merge pull request #226 from Zefz/mingw-compile-fix
Fix compilation on Mingw-64
2019-09-27 17:29:33 -04:00
a62d1f79f4 Merge pull request #225 from TangHuaiZhe/master
Fix compile error in android ndk
2019-09-27 17:29:07 -04:00
b14b7b0f8f Fix compilation on Mingw-64 2019-09-27 20:23:16 +02:00
9dbe0d855c Fix compile error in android ndk 2019-09-27 13:32:23 +08:00
2cef8df6ae Merge pull request #223 from Zefz/cpp-style-cast
Fix several -Wold-style-cast warnings in Clang-9
2019-09-26 19:00:45 -04:00
94fc229c44 Add missing explicit const_cast 2019-09-26 22:20:33 +02:00
a7052cba22 Fix several -Wold-style-cast warnings in Clang-9 2019-09-26 22:03:18 +02:00
c47c6b3910 Updated test.vcxproj 2019-09-26 13:20:53 -04:00
c946eb7699 Fixed warnings on Windows 2019-09-26 08:13:20 -04:00
1f99ad5d6e Updated vcxproj for test 2019-09-25 08:16:15 -04:00
96e372bad2 Changed test.yaml to use actions/checkout@v1 2019-09-20 01:07:09 -04:00
fc56f39d17 Fixed Github Actions badge problem 2019-09-20 00:43:02 -04:00
5844432a7b Add badge for Github Actions 2019-09-20 00:31:26 -04:00
b97420f363 Add test.yaml 2019-09-20 00:01:05 -04:00
81610ee080 Merge pull request #218 from p0lloloco/master
Add ssl_context member function to SSLClient
2019-09-18 23:08:14 -04:00
c7f8561472 Added ssl_context member function to SSLClient in
order to allow access to the SSL_CTX struct, for
example to load the windows cert store
2019-09-18 15:10:15 +02:00
47bc7456d2 Merge pull request #217 from yhirose/poll
Use 'poll' instead of 'select'
2019-09-18 08:46:20 -04:00
4ab9270660 Use 'poll' as default instead of select (Fix #215) 2019-09-18 08:42:18 -04:00
d599a36c2a Format code 2019-09-16 17:48:17 -04:00
6f8f51496d Merge branch 'gulrak-feature-response-handler-with-content-receiver' 2019-09-15 09:17:26 -04:00
0c293887d0 Fixed problem with redirect 2019-09-15 09:15:21 -04:00
7e92ffec48 Added new Client::Get variant that combines a ContentReceiver with a new ResponseHandler
While trying to implement streaming of internet radio, where a ContentReceiver is needed to handle the audio data, I had the problem, that important information about the stream data is part of the HTTP header (e.g. size of audio chunks between meta data), so I added a ResponseHandler and a new Get variant, to gain access to the header before handling the first chunk of data.

The ResponseHandler can abort the request by returning false, in the same way as the ContentReceiver.

A test case was also added.
2019-09-14 14:55:12 +02:00
531708816a Update README v0.2.4 2019-09-06 18:29:22 -04:00
bfec81998b Code cleanup 2019-09-06 18:16:42 -04:00
c9238434e1 Added redirect support (Fix #211) 2019-09-06 18:07:35 -04:00
e2babf315c Fixed build error on Windows v0.2.3 2019-09-05 13:22:44 -04:00
c434d555bb Fixed problem caused by former changes v0.2.2 2019-09-03 17:19:58 -04:00
359b06681b Fixed warnings 2019-09-03 17:16:16 -04:00
a0fe91e84d Fixed unit test problem 2019-09-03 17:16:07 -04:00
80f040cf69 Fix #209 2019-09-03 17:10:04 -04:00
037b4fc789 Fixed problem with keep-alive on client 2019-09-03 17:05:10 -04:00
a782d1b609 Added OpenSSL version check. (Currently commented out) 2019-08-31 20:15:50 -04:00
6a03ddf912 Update README 2019-08-31 18:01:45 -04:00
1e82359329 Keep-alive connection support on client (Fix #36) 2019-08-31 17:52:24 -04:00
a4160e6ac1 Fix #212 2019-08-25 17:19:20 -04:00