Bastien Durel
d1abf96581
html files may be .htm
2019-10-23 09:52:21 +02:00
yhirose
7a3abd2768
Merge pull request #243 from Sil3ntStorm/patch1
...
Allow use of OpenSSL 1.1.1, fix compile errors
2019-10-20 10:12:14 -04:00
yhirose
4a52524f47
Merge pull request #244 from aaronalbers/aa_bind_to_port_
...
Added bind_to_port()
2019-10-19 22:19:25 -04:00
Aaron Albers
89e1e9b8fe
Added bind_to_port()
...
- This compliments the existing `bind_to_any_port()`
where you can determine if the bind succeeded prior
to calling `listen_after_bind()` but allows you to
specify the port.
2019-10-19 10:41:19 -06:00
Sil3ntStorm
98d16eb836
Allow use of OpenSSL 1.1.1, fix compile errors
2019-10-19 16:40:06 +02:00
yhirose
bcf0c32245
Updated README.md. ( FIx #239 and #240 )
2019-10-15 10:24:47 -04:00
yhirose
dcdb0d047b
Fixed PRI request problem
v0.2.5
2019-10-03 13:44:18 -04:00
yhirose
1f86e41d97
Changed back to select
as default
2019-10-03 13:44:18 -04:00
yhirose
6d8302313c
Fixed warning
2019-10-03 13:44:18 -04:00
yhirose
89440ec322
Merge pull request #232 from sux2mfgj/fix_the_invalidhost_test
...
Fix a test, ConnectionErrorTest::InvalidPort.
2019-10-03 13:43:48 -04:00
yhirose
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
Shunsuke Mie
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
Shunsuke Mie
760bccc3ad
fix a sample code of multipart/form-data POST data in README.md.
2019-10-03 21:23:10 +09:00
yhirose
a99e02aeb3
Add HTTP/2 Connection Preface check test
2019-10-01 06:28:45 -04:00
yhirose
4aae1dcc42
Merge pull request #224 from Zefz/configuration
...
Allow configuration to be overriden without source editing
2019-09-30 17:07:21 -04:00
Johan Jansen
f23f9a06a9
Allow configuration to be overriden without source editing
2019-09-30 22:00:17 +02:00
yhirose
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
Alin Gherman
224119a60a
Retry in case of too many sockets opened instead of stopping the server.
2019-09-30 11:48:02 +02:00
yhirose
c02849e269
Removed CPPHTTPLIB_USE_POLL, added CPPHTTPLIB_USE_SELECT
2019-09-29 19:43:22 -04:00
yhirose
71979b1e88
Merge pull request #226 from Zefz/mingw-compile-fix
...
Fix compilation on Mingw-64
2019-09-27 17:29:33 -04:00
yhirose
a62d1f79f4
Merge pull request #225 from TangHuaiZhe/master
...
Fix compile error in android ndk
2019-09-27 17:29:07 -04:00
zefz
b14b7b0f8f
Fix compilation on Mingw-64
2019-09-27 20:23:16 +02:00
Tang Huaizhe
9dbe0d855c
Fix compile error in android ndk
2019-09-27 13:32:23 +08:00
yhirose
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
Johan Jansen
94fc229c44
Add missing explicit const_cast
2019-09-26 22:20:33 +02:00
Johan Jansen
a7052cba22
Fix several -Wold-style-cast warnings in Clang-9
2019-09-26 22:03:18 +02:00
yhirose
c47c6b3910
Updated test.vcxproj
2019-09-26 13:20:53 -04:00
yhirose
c946eb7699
Fixed warnings on Windows
2019-09-26 08:13:20 -04:00
yhirose
1f99ad5d6e
Updated vcxproj for test
2019-09-25 08:16:15 -04:00
yhirose
96e372bad2
Changed test.yaml to use actions/checkout@v1
2019-09-20 01:07:09 -04:00
yhirose
fc56f39d17
Fixed Github Actions badge problem
2019-09-20 00:43:02 -04:00
yhirose
5844432a7b
Add badge for Github Actions
2019-09-20 00:31:26 -04:00
yhirose
b97420f363
Add test.yaml
2019-09-20 00:01:05 -04:00
yhirose
81610ee080
Merge pull request #218 from p0lloloco/master
...
Add ssl_context member function to SSLClient
2019-09-18 23:08:14 -04:00
PolloLoco
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
yhirose
47bc7456d2
Merge pull request #217 from yhirose/poll
...
Use 'poll' instead of 'select'
2019-09-18 08:46:20 -04:00
yhirose
4ab9270660
Use 'poll' as default instead of select
( Fix #215 )
2019-09-18 08:42:18 -04:00
yhirose
d599a36c2a
Format code
2019-09-16 17:48:17 -04:00
yhirose
6f8f51496d
Merge branch 'gulrak-feature-response-handler-with-content-receiver'
2019-09-15 09:17:26 -04:00
yhirose
0c293887d0
Fixed problem with redirect
2019-09-15 09:15:21 -04:00
Steffen Schuemann
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
yhirose
531708816a
Update README
v0.2.4
2019-09-06 18:29:22 -04:00
yhirose
bfec81998b
Code cleanup
2019-09-06 18:16:42 -04:00
yhirose
c9238434e1
Added redirect support ( Fix #211 )
2019-09-06 18:07:35 -04:00
yhirose
e2babf315c
Fixed build error on Windows
v0.2.3
2019-09-05 13:22:44 -04:00
yhirose
c434d555bb
Fixed problem caused by former changes
v0.2.2
2019-09-03 17:19:58 -04:00
yhirose
359b06681b
Fixed warnings
2019-09-03 17:16:16 -04:00
yhirose
a0fe91e84d
Fixed unit test problem
2019-09-03 17:16:07 -04:00
yhirose
80f040cf69
Fix #209
2019-09-03 17:10:04 -04:00
yhirose
037b4fc789
Fixed problem with keep-alive on client
2019-09-03 17:05:10 -04:00