Package Details: cpp-httplib 0.45.0-1

Git Clone URL: https://aur.archlinux.org/cpp-httplib.git (read-only, click to copy)
Package Base: cpp-httplib
Description: A C++ header-only HTTP/HTTPS server and client library
Upstream URL: https://github.com/yhirose/cpp-httplib
Keywords: networking requests
Licenses: MIT
Submitter: sum01
Maintainer: sum01
Last Packager: sum01
Votes: 4
Popularity: 0.78
First Submitted: 2020-05-10 04:07 (UTC)
Last Updated: 2026-05-17 18:12 (UTC)

Dependencies (8)

Sources (1)

Latest Comments

1 2 Next › Last »

Jawzper commented on 2026-04-04 01:23 (UTC)

@txtsd thank you, that worked!

txtsd commented on 2026-04-03 09:15 (UTC)

Y'all, just run makepkg --nocheck and it will skip tests.

Jawzper commented on 2026-04-02 14:04 (UTC)

Can't pass tests on either version... Seems like I lost the old package files when I accidentally did cleanbuild. What do I do :(

Glorious7060 commented on 2026-03-29 19:28 (UTC)

All those test are failing for me too on this package and compiled one. I also rollback to old package to use it.

bonboncat commented on 2026-03-29 18:05 (UTC)

@smartassskeleton I got the same failed test results in my cachyos but 0test fail in my manjaro Tried to install compiled and got the same result. Notests version not working for me either. Thanks to my snapshot i can roll back to 0.38 after uninstall it to try other version

smartassskeleton commented on 2026-03-29 16:06 (UTC)

I'm failing unit tests:

98% tests passed, 12 tests failed out of 638

Total Test time (real) = 547.37 sec

The following tests FAILED:
    75 - RangeTest.FromHTTPBin_Online (Failed)
    82 - CancelTest.NoCancel_Online (Failed)
    84 - CancelTest.WithCancelLargePayload_Online (Failed)
    97 - BaseAuthTest.FromHTTPWatch_Online (Failed)
    98 - DigestAuthTest.FromHTTPWatch_Online (Failed)
    101 - AbsoluteRedirectTest.Redirect_Online (Failed)
    102 - RedirectTest.Redirect_Online (Failed)
    106 - RelativeRedirectTest.Redirect_Online (Failed)
    107 - TooManyRedirectTest.Redirect_Online (Failed)
    396 - ClientDefaultHeadersTest.DefaultHeaders_Online (Failed)
    423 - SSLClientTest.ServerNameIndication_Online (Failed)
    634 - WebSocketIntegrationTest.SocketSettings (Failed)
Errors while running CTest
Output from these tests are in: /home/sass/.cache/yay/cpp-httplib/src/cpp-httplib-0.39.0/build/Testing/Temporary/LastTest.log
Use "--rerun-failed --output-on-failure" to re-run the failed cases verbosely.
==> ERROR: A failure occurred in check().
    Aborting...
 -> error making: cpp-httplib-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
cpp-httplib - exit status 4

Can't seem to find any info in the upstream git repo either. Any ideas?

sum01 commented on 2026-02-28 05:56 (UTC)

Perhaps they're fixed on the new release? I had 0 test fails myself on v0.35.0

taotieren commented on 2026-02-28 03:42 (UTC)

Hello. I compiled it in devtool's extra-x86_ clean environment. Are there any of the following test errors that can help fix them? Thank you.

97% tests passed, 18 tests failed out of 611

Total Test time (real) = 3223.21 sec

The following tests did not run:
        117 - BindServerTest.BindDualStack (Disabled)
        140 - SSLClientServerTest.LargeDataTransfer (Disabled)

The following tests FAILED:
         94 - SpecifyServerIPAddressTest.AnotherHostname_Online (Failed)
         95 - SpecifyServerIPAddressTest.RealHostname_Online (Failed)
        103 - YahooRedirectTest.Redirect_Online (Failed)
        407 - SSLClientTest.UpdateCAStoreWithPem_Online (Failed)
        408 - SSLClientTest.ServerNameIndication_Online (Failed)
        411 - SSLClientTest.ServerCertificateVerification1_Online (Failed)
        412 - SSLClientTest.ServerCertificateVerification2_Online (Failed)
        413 - SSLClientTest.ServerCertificateVerification3_Online (Failed)
        415 - SSLClientTest.ServerCertificateVerification5_Online (Failed)
        416 - SSLClientTest.ServerCertificateVerification6_Online (Failed)
        417 - SSLClientTest.WildcardHostNameMatch_Online (Failed)
        418 - SSLClientTest.WildcardHostNameMatchCase_Online (Failed)
        419 - SSLClientTest.HostNameMatchCase_Online (Failed)
        420 - SSLClientTest.Issue2004_Online (Failed)
        423 - SSLClientTest.SetCaCertStoreSkipsSystemCerts_Online (Failed)
        439 - YahooRedirectTest2.SimpleInterface_Online (Failed)
        440 - YahooRedirectTest3.SimpleInterface_Online (Failed)
        441 - YahooRedirectTest3.NewResultInterface_Online (Failed)
Errors while running CTest
Output from these tests are in: /build/cpp-httplib/src/cpp-httplib-0.33.1/build/Testing/Temporary/LastTest.log
Use "--rerun-failed --output-on-failure" to re-run the failed cases verbosely.
==> ERROR: A failure occurred in check().
    Aborting...

Spixmaster commented on 2026-02-13 14:09 (UTC)

The optional dependency mbedtls is missing.

Spixmaster commented on 2026-02-13 12:33 (UTC)

Can you run the tests? cpp-httplib-git does it too.