Commit Graph

1709 Commits

Author SHA1 Message Date
yhirose
fb5a57dfe1 Refactor Windows peer certificate verification conditionals for OpenSSL support 2026-01-03 01:53:03 -05:00
yhirose
3c34b11706 Refactor Windows Schannel verification conditionals for improved clarity and flexibility 2026-01-03 01:46:41 -05:00
yhirose
30a39f9659 Refactor Windows certificate verification conditionals for clarity and flexibility 2026-01-03 01:38:23 -05:00
yhirose
f3203a859a Remove OpenSSL support conditional compilation from performance tests 2026-01-03 01:32:34 -05:00
yhirose
4122e37baf Remove redundant Windows certificate verification tests and update comments for clarity 2026-01-03 01:29:04 -05:00
yhirose
caa333da83 Add option to use OpenSSL if available in CMake configuration 2026-01-03 01:19:26 -05:00
yhirose
990b1aa9f9 Refactor vcpkg cache cleanup commands to use PowerShell syntax 2026-01-03 01:12:04 -05:00
yhirose
c59d76d721 Add vcpkg cache cleanup step and improve Windows certificate error handling 2026-01-03 01:10:37 -05:00
yhirose
3271060bc4 Enhance Windows certificate verification with additional tests and timeout handling 2026-01-03 00:55:07 -05:00
yhirose
5fd1d1fa63 Enhance Windows certificate verification for compatibility with newer versions 2026-01-03 00:46:55 -05:00
yhirose
9a30a3e125 Add wincrypt_error 2026-01-02 23:33:04 -05:00
yhirose
0dc7bab977 Resolve #2116 2026-01-02 22:29:19 -05:00
yhirose
8d03ef1615 Fix #2318 on macOS 2026-01-02 22:28:15 -05:00
yhirose
23a1d79a66 Fix #2318 2026-01-02 20:45:01 -05:00
yhirose
781c55f120 Release v0.30.0 v0.30.0 2025-12-31 22:19:05 -05:00
yhirose
40f7985e02 Update copyright year 2025-12-31 22:18:11 -05:00
PerseoGI
f85f30a637 Apple frameworks: match CoreFoundation and CFNetwork linkage (#2317)
* Apple frameworks: match linkage with CoreFoundation and CFNetwork with actual code

* Fix appleframeworks in Meson code
2025-12-31 12:49:59 -05:00
yhirose
6da7f0c61c Fix port reuse problem 2025-12-31 00:34:15 -05:00
yhirose
2ba0e7a797 Fix build error 2025-12-30 19:46:21 -05:00
yhirose
ded82448aa clang-format 2025-12-30 17:34:52 -05:00
yhirose
98048a033a Merge commit from fork 2025-12-30 17:32:42 -05:00
yhirose
7ae794a6bf Fix #2315 2025-12-26 16:17:43 -05:00
yhirose
385adefb11 Use HOST and PORT in test.cc 2025-12-26 00:24:19 -05:00
yhirose
b7c2f04318 Fix potential arithmatic overflow problem 2025-12-25 22:19:37 -05:00
yhirose
d23cf77cd0 Resolve #2313 2025-12-23 20:10:59 -05:00
yhirose
5304464a53 Release v0.29.0 v0.29.0 2025-12-23 00:03:49 -05:00
yhirose
db98efee5a Fix problem with Proxy test 2025-12-22 23:10:24 -05:00
yhirose
cdf0d33258 Fix #2301 2025-12-22 22:37:56 -05:00
Aaron Gokaslan
25688258ad Add another missing std::move for _base_dirs vector (#2314) 2025-12-22 20:43:46 -05:00
Aaron Gokaslan
f0990ca96d Use std::move for request redirection (#2311)
Prevents an additional copy
2025-12-17 12:04:37 -05:00
Aaron Gokaslan
0461cb770c Avoid unncessary copying of request and response objects (#2310) 2025-12-17 12:04:17 -05:00
yhirose
51b704b902 Implement SSEClient (#2308)
* Implement SSEClient

* Fix Windows problem
2025-12-15 00:00:42 -05:00
yhirose
7eb03e81fc Refactoring 2025-12-14 17:41:11 -05:00
yhirose
6a6d4161d1 Removed DigestAuthTest.FromHTTPWatch_Online_HTTPCan 2025-12-14 14:45:48 -05:00
Copilot
63b07ada43 Initial plan (#2307)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
2025-12-14 13:54:29 -05:00
Jean-Francois Simoneau
2de4c59bc2 Add Zstd support through meson (#2293)
* Add Zstd support through meson

* Add libzstd-dev to abitest
2025-12-13 23:55:58 -05:00
Jean-Francois Simoneau
b7097f1386 Replace httpbin.org with httpcan.org (#2300)
* Replace httpbin.org with httpcan.org

* Fix DigestAuthTest.FromHTTPWatch_Online test
2025-12-13 23:52:05 -05:00
Aaron Gokaslan
681d388247 Use move semantics for auth key and value (#2306) 2025-12-13 22:53:10 -05:00
Aaron Gokaslan
ae94d64f67 Remove another unnecessary string copy (#2305) 2025-12-13 22:52:26 -05:00
Aaron Gokaslan
3401877d3d Change single char string literals to chars (#2304) 2025-12-13 22:52:12 -05:00
Aaron Gokaslan
bce08e62f9 Remove unnecessary copies for AcceptEntry (#2303) 2025-12-13 22:49:58 -05:00
Carter Green
f4ecb96e54 Fix linker error on macOS (#2299) 2025-12-11 20:12:31 -05:00
Aaron Gokaslan
c23764269d Use std::move for boundary in set_boundary method (#2298) 2025-12-09 22:24:33 -05:00
Aaron Gokaslan
f441cd2a44 Use std::move for content_provider in adapter (#2297) 2025-12-09 22:23:45 -05:00
Miko
c3613c6977 Update the split.py file (#2295) 2025-12-08 22:18:01 -05:00
yhirose
87c2b4e584 Fix #2294 2025-12-08 19:32:35 -05:00
yhirose
c795ad1c32 Fix #2259. Add query string normalization to preserve parameter order in requests 2025-12-05 21:39:40 -05:00
yhirose
3e0fa33559 Implement ETag and Last-Modified support for static file responses and If-Range requests (#2286)
* Fix #2242: Implement ETag and Last-Modified support for static file responses

* Add ETag and Last-Modified handling for If-Range requests

* Enhance HTTP date parsing with improved error handling and locale support

* Update httplib.h

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update test/test.cc

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update httplib.h

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Refactor ETag handling: separate strong and weak ETag checks for If-Range requests

* Fix type for mtime in FileStat and improve ETag handling comments

* Update httplib.h

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Resolved code review comments

* Update httplib.h

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update httplib.h

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Refactor ETag handling: use 'auto' for type inference and improve code readability

* Refactor ETag handling: extract check_if_not_modified and check_if_range methods for improved readability and maintainability

* Code cleanup

* Update httplib.h

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update test/test.cc

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update httplib.h

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update httplib.h

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Enhance ETag handling and validation in httplib.h and add comprehensive tests in test.cc

* Refactor ETag comparison logic and add test for If-None-Match with non-existent file

* Fix #2287

* Code cleanup

* Add tests for extreme date values and negative file modification time in ETag handling

* Update HTTP-date parsing comments to reference RFC 9110

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-12-05 18:58:54 -05:00
yhirose
27b73f050e Fix #2287 2025-12-05 08:50:12 -05:00
yhirose
dbd5ca4bf2 Add error handling for stream read timeouts and connection closures 2025-12-04 19:19:18 -05:00