diff options
| author | Michael Peter Christen <mc@yacy.net> | 2026-01-03 01:56:45 +0100 |
|---|---|---|
| committer | Michael Peter Christen <mc@yacy.net> | 2026-01-03 01:56:45 +0100 |
| commit | 076a2d1e02c9777ba48537edc1f7e1aa3c9cc60d (patch) | |
| tree | f7bd4d306f324a18ff6d42e075a4c1b33c799b2a /htroot | |
| parent | 2819742bdb053feb7057661748cc7af7dd725ff7 (diff) | |
Handle POST redirects when contacting peers, fix for
https://github.com/yacy/yacy_search_server/issues/684
YaCy’s peer queries use HTTP POST and were not following redirects, so
HTTP→HTTPS redirections (e.g., 8090→8443) failed and peers never
switched protocol/port. This adds a redirect strategy that allows POST
redirects (preserving method/body, except for 303), letting remote peer
connections follow HTTPS redirects correctly.
Diffstat (limited to 'htroot')
0 files changed, 0 insertions, 0 deletions
