- 27 Sep, 2021 1 commit
-
-
Andrea Pappacoda authored
related to #41 related to #183 related to #760 closes #960 related to #985 related to #6 related to #538 related to #649 related to #741 related to #874 closes #525
-
- 17 Sep, 2021 2 commits
-
-
Kip authored
build(meson): look for howardhinnant-date
-
Andrea Pappacoda authored
Since the "date" library has such a general name, it often gets renamed to "hinnant-date", "howardhinnant-date", etc. This change enables Meson to find the library when it is called in either ways. This "new" name is used, for example, in the Debian package.
-
- 15 Sep, 2021 7 commits
-
-
Kip authored
ci: add conventional commits check
-
Andrea Pappacoda authored
Conventional Commits is a specification that aims at improving commit messages and history. It consists of a simple canonical format for commit messages: type(optional scope): description Having a small list of types helps understand when a change is breaking, when it adds a feature, where it patches something, or when it is unrelated to the main library (build system changes, CI, tests...). This is really useful when determing when to release and what type of release should be made (major, minor, or patch release).
-
Kip authored
chore: check VERSION_GIT_DATE in pre-commit hook
-
Kip authored
meson: small improvements
-
Andrea Pappacoda authored
This makes Meson use the internal Python version instead of looking for the "python3" executable in the system. This means that python will be more likely to be found on system where the binary is named differently (Windows?), python3 is not required (any version will do), and could even be faster.
-
Andrea Pappacoda authored
-
Andrea Pappacoda authored
-
- 13 Sep, 2021 2 commits
- 12 Sep, 2021 1 commit
-
-
Andrea Pappacoda authored
-
- 03 Sep, 2021 2 commits
-
-
Kip authored
Moved Debian data to the `debian` branch
-
Andrea Pappacoda authored
-
- 30 Aug, 2021 2 commits
-
-
Kip authored
fix: remove extra ; in include/http.h
-
Andrea Pappacoda authored
-
- 27 Aug, 2021 1 commit
-
-
Louis Solofrizzo authored
In order to use passphrase-protected keys. This patch does not change the default behavior: server.useSSL("./cert/server.crt", "./cert/server.key"); $> ./a.out Enter PEM pass phrase: [...] static int password_callback(char *buf, int size, int rwflag, void *u) { static const char *password = "foobar"; // _Please_ don't do that, that's an example strncpy(buf, password, size); return strlen(password); } server.useSSL("./cert/server.crt", "./cert/server.key", false, &password_callback); $> ./a.out Listening on 0.0.0.0:9080 Key has been generated with: $> openssl genrsa -aes128 -passout pass:foobar -out server.key 3072 If you intend to use this feature, please look at the recent developments on memfd_secret[1] in order to actually store a passphrase with relative security in memory. [1] https://lwn.net/Articles/865256/Signed-off-by: Louis Solofrizzo <lsolofrizzo@scaleway.com>
-
- 10 Aug, 2021 2 commits
-
-
Kip authored
also check for linking with libatomic
-
Jurij Robba authored
-
- 05 Aug, 2021 2 commits
-
-
Kip authored
include/pistache/typeid.h: include stddef.h
-
Fabrice Fontaine authored
Include cstddef to avoid the following build failure with gcc 11: In file included from /tmp/instance-3/output-1/build/pistache-f2f5a50f/src/../include/pistache/async.h:10, from /tmp/instance-3/output-1/build/pistache-f2f5a50f/src/../include/pistache/client.h:9, from /tmp/instance-3/output-1/build/pistache-f2f5a50f/src/client/client.cc:7: /tmp/instance-3/output-1/build/pistache-f2f5a50f/src/../include/pistache/typeid.h:26:12: error: expected type-specifier before 'size_t' 26 | operator size_t() const { return reinterpret_cast<size_t>(id_); } | ^~~~~~ Fixes: - http://autobuild.buildroot.org/results/2443559df8c2357476e4cbdbebb08280cbb80a3bSigned-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
-
- 07 Jul, 2021 8 commits
-
-
Kip authored
autopkgtest: don't fail on testbed failures
-
Andrea Pappacoda authored
autopkgtest is flaky and sometimes fails even if the code is completely fine. When it crashes like this, it exits with code 16. With this change all CI runs that exit with code 16 won't be considered failures, but will just report a warning. For more info, see `man autopkgtest`
-
Kip authored
Move the Http client to `Pistache::Experimental`
-
Kip authored
`chmod +x .hooks/pre-commit`
-
Kip authored
Cleanups
-
Andrea Pappacoda authored
-
Andrea Pappacoda authored
Closes #952. To be merged after #955
-
Andrea Pappacoda authored
Nested namespaces in serializer/rapidjson.h and client.cc, reformat all files, add .clang-format-ignore ignoring subprojects, use angled brackets when including gtest.h. Huge diff because of whitespace changes
-
- 05 Jul, 2021 2 commits
-
-
Kip authored
Fix serializer install and remove unneeded prefix
-
Andrea Pappacoda authored
Fixes #950
-
- 02 Jul, 2021 1 commit
-
-
Kip authored
Add support for multiple archs in autopkgtest CI
-
- 01 Jul, 2021 1 commit
-
-
Andrea Pappacoda authored
This took **a lot** of time, as autopkgtest-build-qemu has been able to build non-x86 for less than a release (version 5.17, unreleased), and it isn't meant to be (easly) used on Ubuntu (and unfortunately GH Actions only support Ubuntu). This is extremely fragile; adding a CPU core breaks something, adding a MB of RAM breaks something, installing recommended packages breaks something... you get it. But it works. Beautiful, isn't it? This currently tests amd64, arm64. armhf, i386 and ppc64el. s390x seems unsupported by autopkgtest-build-qemu. If you're curious to see how many trials it took, have a look at this test branch: github.com/Tachi107/pistache/tree/actions-autopkgtest-multiarch-test
-
- 28 Jun, 2021 6 commits
-
-
Kip authored
Bump prismjs from 1.23.0 to 1.24.0 in /pistache.io
-
dependabot[bot] authored
Bumps [prismjs](https://github.com/PrismJS/prism) from 1.23.0 to 1.24.0. - [Release notes](https://github.com/PrismJS/prism/releases) - [Changelog](https://github.com/PrismJS/prism/blob/master/CHANGELOG.md) - [Commits](https://github.com/PrismJS/prism/compare/v1.23.0...v1.24.0) --- updated-dependencies: - dependency-name: prismjs dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com>
-
Kip authored
Add autopkgtest GitHub Action
-
Andrea Pappacoda authored
-
Andrea Pappacoda authored
This CI workflow builds and tests every commit and PR using autopkgtest. It builds a Debian Testing image using autopkgtest-build-qemu (autopkgtest-buildvm-ubuntu-cloud was too slow), builds the source package and test is with autopkgtest. I'm trying to set this up for multiple architectures (see https://github.com/Tachi107/pistache/tree/actions-autopkgtest), but for whatever reason Ubuntu's autopkgtest-build-qemu is unable to build images for foreign architectures, as it fails with "E: Unable to locate package linux-image-arm64", while it should be downloading it from https://packages.debian.org/testing/linux-image-arm64. If you know how to help please let me know.
-
Kip authored
Remove --no-tests option when preparing tarballs
-