stunnel / static-curl

static builds cURL with HTTP3
MIT License
198 stars 28 forks source link

Include Public Suffix List to avoid global cookies #51

Closed jgraichen closed 7 months ago

jgraichen commented 8 months ago

Would it be possible to build the static curl with libpsl to support the public suffix list for cookies, and to avoid global super cookies?

travislee89 commented 8 months ago

I will take a look at it.

travislee89 commented 8 months ago

I raised a PR and compiled it so you can download it from Actions Artifacts and test if it works.

jgraichen commented 8 months ago

Awesome! Quick test looks good so far, but curl -V mentions libpsl/0.21.2 (no IDNA support) despite curl itself using libidn2/2.3.2.

travislee89 commented 8 months ago

curl's configure script always checks for the libpsl with builtin, if build libpsl with libidn2 or libicu, it cann't be found. checking for library containing psl_builtin... -lpsl