Change #273320
| Category | None |
| Changed by | Memduh Çelik <memduhcelik33@gmail.com> |
| Changed at | Tue 30 Jun 2026 09:57:00 |
| Repository | https://api.github.com/repos/curl/curl |
| Project | curl/curl |
| Branch | master |
| Revision | ddc76c24c539ac4632e663035c98a66ee8195cd0 |
Comments
tests: pin connection reuse rules for partial, host, and credentials Add classic tests 3223-3226 and extend tests/http/test_12_reuse.py so that connection reuse decisions are explicit: - partial/aborted HTTP/1.1 responses must not reuse the connection (premature multi_done closes non-multiplexed conns) - different target hostnames must not share a connection even when they resolve to the same address (url_match_destination) - HTTP Basic credentials are per-request (PROTOPT_CREDSPERREQUEST), so different -u values still reuse; assert that with num_connects - same host positive control reuses (num_connects 1 then 0) Closes #22224
Changed files
- tests/data/Makefile.am
- tests/data/test3223
- tests/data/test3224
- tests/data/test3225
- tests/data/test3226
- tests/http/test_12_reuse.py