lp:~pistache+team/pistache/+git/main

Owned by Pistache
Get this repository:
git clone https://git.launchpad.net/~pistache+team/pistache/+git/main

Import details

Import Status: Reviewed

This repository is an import of the Git repository at https://github.com/pistacheio/pistache.git.

The next import is scheduled to run .

Last successful import was .

Import started on juju-98ee42-prod-launchpad-codeimport-5 and finished taking 40 seconds — see the log
Import started on juju-98ee42-prod-launchpad-codeimport-5 and finished taking 25 seconds — see the log
Import started on juju-98ee42-prod-launchpad-codeimport-4 and finished taking 30 seconds — see the log
Import started on juju-98ee42-prod-launchpad-codeimport-4 and finished taking 30 seconds — see the log
Import started on juju-98ee42-prod-launchpad-codeimport-2 and finished taking 30 seconds — see the log
Import started on juju-98ee42-prod-launchpad-codeimport-1 and finished taking 30 seconds — see the log
Import started on juju-98ee42-prod-launchpad-codeimport-5 and finished taking 40 seconds — see the log
Import started on juju-98ee42-prod-launchpad-codeimport-5 and finished taking 40 seconds — see the log
Import started on juju-98ee42-prod-launchpad-codeimport-3 and finished taking 30 seconds — see the log
Import started on juju-98ee42-prod-launchpad-codeimport-3 and finished taking 30 seconds — see the log

Branches

Name Last Modified Last Commit
master 2024-07-17 20:49:02 UTC
Merge pull request #1218 from vfazio/vfazio-git-config-hooks

Author: Kip Warner
Author Date: 2024-07-17 20:49:02 UTC

Merge pull request #1218 from vfazio/vfazio-git-config-hooks

Only install githooks for local checkouts

debian 2024-07-16 22:46:14 UTC
Merge pull request #1219 from vfazio/vfazio-debian-meson-bump

Author: Kip Warner
Author Date: 2024-07-16 22:46:14 UTC

Merge pull request #1219 from vfazio/vfazio-debian-meson-bump

control: require meson 0.53.2+

cookie-test-year-overflow-fix 2024-06-01 10:50:14 UTC
test: fix integer overflow in cookie_test

Author: Andrea Pappacoda
Author Date: 2024-06-01 10:50:14 UTC

test: fix integer overflow in cookie_test

Citing Duncan:

the line that goes wrong in cookie_test.cc is this:

FullDate::time_point expires = date::sys_days(date::year { 118 } / 2 / 16) + hours(17);

The first puzzle (to me!) is what "year { 118 }" means. Per:

https://en.cppreference.com/w/cpp/chrono/year/year

This is constructing an instance of std::chrono::year with value 118.
Per:

https://en.cppreference.com/w/cpp/chrono/year_month_day/operator_days

The "118" is a value in the "proleptic Gregorian calendar", i.e. it
means the year 118 A.D.

Then sys_days is an operator that converts std::chrono::year_month_day
to a std::chrono::time_point

https://en.cppreference.com/w/cpp/chrono/year_month_day/operator_days

Also note that:

1) If ok() is true, the return value holds a count of days from the
   std::chrono::system_clock epoch (1970-01-01) to *this. The result is
   negative if *this represent a date prior to it.

Indeed, in this case the value is a long way prior to 1970, ~675K days
before in fact.

If I had to guess, the standard library is calculating the difference in
milliseconds (roughly -1 trillion ms) or in microseconds and causing the
overflow.

How about we change that "118" to "2018" (perhaps the cookie_test.cc has
some reason for it to be in the past) and try again?

Co-authored-by: DMG <dgreatwood@gmail.com>

update-subprojects 2024-06-01 10:11:42 UTC
build: update rapidjson subproject to 1.1.0-2

Author: Andrea Pappacoda
Author Date: 2024-06-01 10:01:12 UTC

build: update rapidjson subproject to 1.1.0-2

tachi-ci-linux-fixes 2024-01-13 16:44:00 UTC
ci(linux): drop lcov usage

Author: Andrea Pappacoda
Author Date: 2024-01-13 15:38:41 UTC

ci(linux): drop lcov usage

I haven't been able to make lcov 2.0 work for us, so let's just drop it
and directly use gcov instead, since codecov supports it as well.

tachi-private-zlib 2023-11-30 11:20:51 UTC
fix: make zlib a private dependency

Author: Andrea Pappacoda
Author Date: 2023-11-30 10:24:30 UTC

fix: make zlib a private dependency

Before this patch, the zlib.h header was included by pistache/http.h,
meaning that users had to install the development headers on zlib to
build projects which depend on Pistache (in other terms, it was a
transitive, public, API dependency). Since zlib.h was included by http.h
just to get the value of zlib's default compression level, I simply
hardcoded it to 6; it's unlikely to ever change.

tachi-http-client-tests 2023-08-05 22:33:36 UTC
test: drop httplib usage in favour of our HTTP client

Author: Andrea Pappacoda
Author Date: 2023-08-05 22:33:36 UTC

test: drop httplib usage in favour of our HTTP client

tachi-invalid-content-encoding-test 2023-07-29 17:34:50 UTC
test: add invalid content-encoding test

Author: Andrea Pappacoda
Author Date: 2023-07-29 17:34:50 UTC

test: add invalid content-encoding test

soname-major.minor 2023-07-07 16:35:08 UTC
build: set soname to major.minor

Author: Andrea Pappacoda
Author Date: 2023-07-07 16:26:15 UTC

build: set soname to major.minor

Until the 1.0 release, setting the soname to version_major.version_minor
gives us more freedom to make changes without being too restricted by
ABI compatibility.

We never actually really commited to ABI stability before the 1.0
relase - the README states that at the bottom - but I made this decision
clearer by updating the "versioning" section.

revert-1112-add_iana_http_methods 2023-01-11 23:39:17 UTC
Revert "feat: add IANA-registered HTTP methods (#1112)"

Author: Kip Warner
Author Date: 2023-01-11 23:39:17 UTC

Revert "feat: add IANA-registered HTTP methods (#1112)"

This reverts commit c80a9a987892bc88f43acf0ae700a494d5b7cbed.

gh-pages 2022-12-15 20:46:03 UTC
deploy: 0208d93cd0260d5a3d89c3e1d7a606ff3ad03ee3

Author: dennisjenkins75
Author Date: 2022-12-15 20:46:03 UTC

deploy: 0208d93cd0260d5a3d89c3e1d7a606ff3ad03ee3

kip-shutdown-race-unit-test 2021-12-27 02:01:23 UTC
tests/http_server_test.cc: Added unit test to verify shutdown() blocks until ...

Author: Kip Warner
Author Date: 2021-12-27 02:01:23 UTC

tests/http_server_test.cc: Added unit test to verify shutdown() blocks until all pending requests have completed...

rpm 2021-10-26 08:04:17 UTC
Merge pull request #1011 from hmrodrigues/rpm

Author: Kip Warner
Author Date: 2021-10-26 08:04:17 UTC

Merge pull request #1011 from hmrodrigues/rpm

[WIP] Added RPM build

memory-leak 2016-08-30 19:47:23 UTC
potential fixes to memory leak

Author: Michael Burkat
Author Date: 2016-08-30 19:47:23 UTC

potential fixes to memory leak

http-client 2016-04-06 11:54:17 UTC
Http client will now reject the original Promise if it could send the request

Author: octal
Author Date: 2016-04-06 11:54:17 UTC

Http client will now reject the original Promise if it could send the request

rest-description 2016-03-02 09:53:19 UTC
Rename PathFragment to PathDecl

Author: octal
Author Date: 2016-03-02 09:53:19 UTC

Rename PathFragment to PathDecl

client-timeout 2016-02-11 16:43:15 UTC
Improved the client architecture and fixed a data-race in async

Author: octal
Author Date: 2016-02-11 16:43:15 UTC

Improved the client architecture and fixed a data-race in async

parser-test 2015-12-15 18:01:57 UTC
Started testing the http parser

Author: octal
Author Date: 2015-12-15 18:01:57 UTC

Started testing the http parser

sendfile 2015-12-15 16:15:07 UTC
Started working on file serving

Author: octal
Author Date: 2015-12-15 16:15:07 UTC

Started working on file serving

headers-allocation-scheme 2015-09-09 17:32:32 UTC
Experimenting with SSO-based string implementation

Author: Mathieu Stefani
Author Date: 2015-09-09 17:32:32 UTC

Experimenting with SSO-based string implementation

120 of 20 results
This repository contains Public information 
Everyone can see this information.