Skip to content

Bump the vendored engine and coffeecatch to their masters - #238

Merged
xroche merged 3 commits into
masterfrom
bump-submodule-masters
Sep 28, 2026
Merged

xroche merged 3 commits into
masterfrom
bump-submodule-masters

Conversation

@xroche

@xroche xroche commented Sep 28, 2026 •

Copy link
Copy Markdown
Owner

The engine moves 40 commits past 3.50.4, and coffeecatch picks up a JNI local-reference leak fix and an atomic session refcount. HTTRACK_VERSIONID is still 3.50.4, so versionName does not move.

The engine split its self-tests into one file per module, so Android.mk now lists the new hts*_selftest.c sources. Without them htsselftest.c has no selftests_* table to point at, and libhttrack does not link.

The engine also clips an over-limit --max-retry-after where it used to panic. Comments giving that panic as our reason for capping at 3600 are corrected. The case worth knowing is -%J60s. The engine stores 60, then reads the leftover s as -s, which quietly weakens robots.txt obedience. That is why the app drops such a value instead of passing it on, and neither the cap nor the dropping changes here.

xroche and others added 3 commits September 28, 2026 10:33
The engine moves 40 commits past 3.50.4, and coffeecatch picks up a JNI
local-reference leak fix and an atomic session refcount.
HTTRACK_VERSIONID is still 3.50.4, so versionName does not move.

The engine split its self-tests into one file per module, so Android.mk
now lists the new hts*_selftest.c sources. Without them htsselftest.c
has no selftests_* table to point at, and libhttrack does not link.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Signed-off-by: Xavier Roche <roche@httrack.com>
Engine #1777 made htscoremain.c clip an over-limit --max-retry-after and
log a notice, where it used to panic and return -1. Three comments still
gave the panic as the reason for our own 3600 ceiling and for dropping
an out-of-range value. The ceiling and the dropping are unchanged.

The stray-sign claim on the "+60" case is left alone. It was already
inaccurate before this bump, so it is not this bump's to fix.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Signed-off-by: Xavier Roche <roche@httrack.com>
"Clips or refuses" is false for -%J60s. The engine stores 60, then reads
the leftover 's' as -s, so robots.txt obedience drops from ALWAYS to
SOMETIMES with no panic and no clip. The test name and its assertion
message claimed the same refusal, so both change with it.

Two more comments on CappedOption still gave the old panic as the reason
for our ceiling. The earlier sweep missed them by piping its grep
through head.

The test comment now also says what dropping buys, which is the engine's
60s default rather than its 3600s ceiling.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Signed-off-by: Xavier Roche <roche@httrack.com>
@xroche
xroche merged commit 9025623 into master Sep 28, 2026
7 checks passed
@xroche
xroche deleted the bump-submodule-masters branch September 28, 2026 09:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant