yhirose
f008fe4539
Added middleware support ( #816 )
2021-01-07 18:40:52 -05:00
yhirose
ddf41d29ef
Added const *char
and size_t
interface
2021-01-06 22:39:58 -05:00
yhirose
3f88a46c4a
Code format
2020-12-31 18:14:28 -05:00
yhirose
242706ea34
Fix #820
2020-12-31 18:14:05 -05:00
yhirose
a9f5f8683f
Fixed warnings on Visual C++
2020-12-31 11:35:11 -05:00
yhirose
60c2213893
Fix #817
2020-12-31 10:58:44 -05:00
yhirose
eb2d28bca2
Code cleanup
2020-12-31 10:37:06 -05:00
Yuri Santos
86f637a246
Added encode_uri_param tests with UTF-8 characters ( #818 )
...
Remove additional lines between tests
2020-12-30 23:06:36 -05:00
yhirose
2c07ec4600
Code cleanup
2020-12-29 09:39:19 -05:00
yhirose
871d8d67b0
Made Request paramater const in handle_file_request
2020-12-28 22:03:44 -05:00
Anonymous
7299713195
Fix readme Response::set_chunked_content_provider ( #811 )
...
`Response::set_chunked_content_provider` has formal parameters, not one.
2020-12-25 19:55:57 -05:00
yhirose
96afa7e108
Updated README
2020-12-21 13:40:32 -05:00
yhirose
55f57af0b9
Update README
2020-12-21 09:27:36 -05:00
yhirose
6b35cd0116
Updated README
2020-12-21 08:15:06 -05:00
yhirose
99f2229e48
Updated README
2020-12-19 22:43:31 -05:00
yhirose
b9641048fc
Switch to hghttp2.org/httpbin for redirect test. ( #538 )
2020-12-19 20:27:52 -05:00
yhirose
e9c6c6e609
Code format
2020-12-19 20:14:53 -05:00
yhirose
40db42108f
Fixed problem with invalid requests including spaces in URL path
v0.7.18
2020-12-19 12:03:08 -05:00
Anonymous
24bb1387d6
Update README.md ( #806 )
2020-12-19 11:12:44 -05:00
Jeremie Rahm
d0bd4afb0b
Ensure socket is closed after processing in SSLServer ( #804 )
2020-12-18 19:29:36 -05:00
Yuri Santos
78ea786abd
[PR] Special function to encode query params ( #801 )
...
* Special function to encode query params
* Fix #include <iomanip>
* Added unescaped charsets to encode_query_param
* Unit tests for encode_query_param
2020-12-18 17:51:11 -05:00
Miosame
9cac2c9ceb
typo: specitic => specific ( #802 )
2020-12-18 15:12:21 -05:00
Anonymous
0cff3245df
Extend built-in extension MIME mapping ( #799 )
...
* Update README.md
* Update httplib.h
* Update httplib.h
* Update httplib.h
* Update httplib.h
* Remove duplicate cases
Someone left a bunch of duplicate cases, idiot, couldn't have been me.
* Reformat
Modify spacing and whatnot
* Update README.md
2020-12-18 09:32:19 -05:00
yhirose
0e3925db3f
Fixed build error
2020-12-18 00:07:48 +00:00
yhirose
c9a13d214b
Changed not to use string_view
2020-12-17 18:48:27 -05:00
yhirose
0954af2d4c
Use user-defined literals for file extention match
2020-12-17 18:27:04 -05:00
yhirose
7c1c952f5a
Don't allow invalid status code format (It sould be a three-digit code.)
2020-12-15 20:25:24 -05:00
yhirose
a6edfc730a
Added a unit test for static file with range
2020-12-15 18:47:51 -05:00
yhirose
c1264bfedc
Fix problem with mp4 w/ Range header
2020-12-14 22:41:05 -05:00
yhirose
90a5b6ceb0
Updated README
2020-12-04 19:39:39 -05:00
yhirose
eb240ad2e5
Code cleanup
2020-12-03 16:03:12 -05:00
yhirose
88c961f37e
Removed std::atomic<Error> error_
v0.7.17
2020-12-01 15:17:34 +00:00
yhirose
b952376968
Fixed warning
2020-12-01 03:50:55 +00:00
yhirose
5dd605d3a2
Fix #762
2020-11-30 21:49:31 -05:00
Seunghwan Hong
9c0c98b1ed
Add keep_alive_timeout guide on README.md ( #778 )
2020-11-30 07:11:22 -05:00
yhirose
615867322d
Fixed build errors and apply clangformat
v0.7.16
2020-11-29 12:29:18 -05:00
David Wu
02d3cd5909
Fix multiple threading bugs including #699 and #697
2020-11-29 12:29:15 -05:00
yhirose
47e5af15ea
Updated README
2020-11-22 09:22:40 -05:00
yhirose
a5c239c174
Fix #765
2020-11-21 16:35:31 -05:00
yhirose
c2afc5ca44
Added chunked content provider support on client
2020-11-21 08:46:50 -05:00
yhirose
cee062d4c9
Fixed unit tests due to the change in #763
2020-11-19 21:04:46 -05:00
Unkorunk
b21dc8cbe0
Fix incorrect content_encoding for Brotli ( #763 )
2020-11-19 12:39:20 -05:00
372046933
e1133a2dcb
std::tolower is undefined if the argument's value is neither representable as unsigned char nor equal to EOF ( #761 )
...
Co-authored-by: taoxu <taoxu@bilibili.com>
v0.7.15
2020-11-19 09:21:40 -05:00
yhirose
e273fec93c
Fixed Visual Studio setup
2020-11-19 09:17:59 -05:00
yhirose
95d0b073bd
Fix #754
2020-11-15 08:13:08 -05:00
vawen
9c7d841b37
Fix : #746 Compile error under VS2015 ( #747 )
...
Co-authored-by: jigarcia@vaxtor.es <jigarcia@vaxtor.es>
2020-11-10 08:41:53 -05:00
yhirose
f086bf5310
Fix #738
v0.7.14
2020-11-08 18:16:23 -05:00
yhirose
6613d7b7ad
Fixed warnings
2020-11-08 17:59:11 -05:00
yhirose
6adf130bf3
Fix #739
2020-11-07 21:54:47 -05:00
miketsts
b6b2eaf5bc
Add unit test SSLConnectTimeout ( #741 )
...
Add unit test for issue #682 fixed in PR #728 , which does not contain
the test of its own.
The test creates a fake SSL server, inherited from SSLServer, which
does not create an SSL context. When an SSL client attempts to send it
a request, it gets a timeout error. Prior to PR #728 , the client would
wait indefinitely
Co-authored-by: Michael Tseitlin <michael.tseitlin@concertio.com>
2020-11-07 09:41:20 -05:00