Skip to content

fix: Raise httpc's header limit for libmlx downloads - #157

Merged
polvalente merged 1 commit into
elixir-nx:mainfrom
georgeguimaraes:raise-httpc-header-limit
Oct 24, 2026
Merged

polvalente merged 1 commit into
elixir-nx:mainfrom
georgeguimaraes:raise-httpc-header-limit

Conversation

@georgeguimaraes

Copy link
Copy Markdown
Member

Since 2026-10-23, GitHub's release-download redirects send about 11 KB of headers, which is over :httpc's 10 KB default. So downloading the precompiled libmlx fails with {:header_too_long, {:max, 10240}}.

This bumps max_header_size to 64 KiB. Same fix as tailwind#142, rustler_precompiled#113, elixir_make#98, xla#135 and zigler_precompiled#2.

@polvalente
polvalente merged commit b03f31d into elixir-nx:main Oct 24, 2026
10 checks passed
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.

2 participants