Package Details: cpp-httplib 0.48.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: 5
Popularity: 1.02
First Submitted: 2020-05-10 04:07 (UTC)
Last Updated: 2026-06-21 04:26 (UTC)

Dependencies (8)

Sources (1)

Latest Comments

« First ‹ Previous 1 2

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.

txtsd commented on 2024-10-31 03:40 (UTC)

@sum01 It's a valid question and not rude.

I like to (co-)maintain packages for software that I use and/or am fond of. I also make it a point to keep it up-to-date with current packaging standards.

I can add the provides as requested in an earlier comment too.

sum01 commented on 2024-10-31 00:07 (UTC)

@txtsd not to be rude but is there any need? I don't think I've been slow with any past updates or fixing issues.

txtsd commented on 2024-10-27 19:34 (UTC)

Can I get co-maintainer on this and cpp-httplib-compiled, please? It's a dependency for another package I maintain.

sum01 commented on 2024-03-31 14:30 (UTC)

@sl1pkn07 I don't believe that's appropriate for this package as this is the header-only version. There's technically no library installed when you install this package. If you need the shared library you should install cpp-httplib-compiled instead.

sl1pkn07 commented on 2024-03-17 20:14 (UTC) (edited on 2024-03-17 20:14 (UTC) by sl1pkn07)

please add libhttplib.so as provides

greetings

sum01 commented on 2021-05-24 01:31 (UTC)

It's a side-effect of the main dev not wanting to update the project's version inside of Cmake. I created a workaround in this PKGBUILD to still get MAJOR.MINOR.PATCH versions for when you use find_package(cpp-httplib) in Cmake, but I didn't bother to remove the lines that warn about Git.

It can be ignored.

Spixmaster commented on 2021-05-23 18:00 (UTC)

An error appears during the build process:

==> Beginne build()...
CMake Warning at CMakeLists.txt:78 (message):
  cpp-httplib failed to find the latest Git tag, falling back to using user
  agent as the version.

I see that in the PKGBUILD there is some modification of the version in the "CMakeLists.txt". This may cause an error. Could you inspect it?