yhirose
a1fdc07f34
Guard nullptr res in KeepAliveTest proxy template ( #2443 )
...
When the upstream request to httpbingo.org transiently fails, cli.Get()
returns nullptr and the next line dereferences it (res->status / res->body),
producing a SEGV in std::string::begin() under ASan. Sibling templates in
the same file already use ASSERT_TRUE(res != nullptr); apply the same
guard to the four Get() call sites in KeepAliveTest so a flaky network
turns into a clean test failure instead of a crash.
2026-05-06 08:36:38 -04:00
yhirose
ceefc14e7d
Use go-httplibbin
2026-03-27 22:26:14 -04:00
yhirose
f6ed5fc60f
Add SSL support for proxy connections in open_stream and corresponding test
2026-03-14 18:38:34 -04:00
yhirose
188035fb6d
Add a test for the previous change
2026-03-12 22:57:11 -04:00
yhirose
6be32a540d
Abstract TLS API support ( Resolve #2309 ) ( #2342 )
...
Abstract TLS API support (OpenSSL and MbedTLS backends)
2026-02-01 23:48:03 -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
yhirose
e1ab5a604b
Proxy problems ( #2165 )
...
* Fix proxy problems
* Auto redirect problem (http → https → https)
2025-06-28 00:14:01 -04:00
Florian Albrechtskirchinger
2996cecee0
Fix code inconsistently formatted and re-format ( #2063 )
...
* Fix code inconsistently formatted by clang-format
* Run clang-format
2025-02-17 12:14:02 -05:00
Ilya Andreev
5b943d9bb8
Use StatusCode in tests and examples ( #1743 )
...
* Use StatusCode in tests and examples
* Use StatusCode in README
2023-12-20 17:28:57 -05:00
Joel Rosdahl
9f7ae0737a
Fix typos ( #1517 )
2023-03-08 17:03:20 -05:00
yhirose
7ed77b02ad
Disable YouTubeNoSSLDigest
2022-07-08 17:40:05 -04:00
yhirose
b9641048fc
Switch to hghttp2.org/httpbin for redirect test. ( #538 )
2020-12-19 20:27:52 -05:00
yhirose
797d1f27e8
Fix #357
2020-07-29 23:12:05 -04:00
yhirose
010e4479f4
Fixed test errors due to httpbin.org
2020-06-22 14:53:20 -04:00
yhirose
7cd25fbd63
Fix #499
2020-06-16 17:46:23 -04:00
yhirose
f5598237b2
Fixed many redirects problem on Proxy
2020-05-16 17:34:03 -04:00
yhirose
c58fca5dba
Added more tests
2020-01-03 07:57:40 -05:00
yhirose
d2fae4031c
Fixed build errors
2020-01-03 01:36:59 -05:00
yhirose
de844e67ef
Proxy support for Keep-Alive requests
2020-01-03 01:24:07 -05:00
yhirose
38adeaf02c
Fixed problem with proxy support and added unit tests
2019-12-22 15:37:01 -05:00