Skip to content

wasm: use browser HTTP bridge for static httpfs - #546

Merged
adsharma merged 1 commit into
mainfrom
fix_wasm_build
Jun 2, 2026
Merged

wasm: use browser HTTP bridge for static httpfs#546
adsharma merged 1 commit into
mainfrom
fix_wasm_build

Conversation

@adsharma

@adsharma adsharma commented May 30, 2026

Copy link
Copy Markdown
Contributor

Summary

  • statically links httpfs in the wasm CI build
  • disables httplib/OpenSSL socket transport for wasm
  • points the extension submodule at a wasm browser HTTP bridge for httpfs

Notes

The browser path mirrors DuckDB's wasm approach by issuing browser-managed HTTP requests from the wasm build instead of trying to use OpenSSL sockets. This avoids BIO_new_socket and OPENSSL_NO_SOCK issues in wasm.

Validation

  • git diff --check
  • extension clang-format check for touched httpfs files
  • CI wasm build is expected to validate the actual wasm package build

@adsharma adsharma changed the title ci: add wasm OpenSSL dependency for httpfs wasm: use browser HTTP bridge for static httpfs Jun 1, 2026
@adsharma
adsharma force-pushed the fix_wasm_build branch 2 times, most recently from c3d73b4 to eec1cb1 Compare June 1, 2026 23:51
@adsharma
adsharma marked this pull request as ready for review June 2, 2026 01:51
@adsharma

adsharma commented Jun 2, 2026

Copy link
Copy Markdown
Contributor Author

@adsharma
adsharma merged commit a8a3982 into main Jun 2, 2026
5 checks passed
@adsharma
adsharma deleted the fix_wasm_build branch June 2, 2026 01:53
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