Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jw/custom headers in auth #1271

Draft
wants to merge 83 commits into
base: main
Choose a base branch
from

Conversation

shopifyski
Copy link
Contributor

every UserAuthStrategy now needs to also implement required_fields()
the caller is expected to make best effort to provide these headers, but it is not guaranteed
it is up to the UserAuthStrategy how to act in case of missing or malformed fields

MarinPostma and others added 30 commits March 29, 2024 13:15
* server: fix interactive txn schema panic

* fix txn check

* fix check errors

* Apply suggestions from code review

---------

Co-authored-by: ad hoc <postma.marin@protonmail.com>
Don't build inside the source tree because `cargo clean` won't clean up
after it...
* server: add shutdown timeout

* add config cli/env var for timeout

* wire timeout
…1256)

allow explain queries without bind parameters

In SQLite, it is invalid to pass a query with a ? or named parameter
without a bind variable, unless you are just trying to explain the
command.

We always fail those queries, but we shouldn't.
…ly equivalent to the previous form. No change in logic.
…ly equivalent to the previous form. No change in logic.
…1275)

* Stop expiring connections in replication hyper client

Signed-off-by: Piotr Jastrzebski <piotr@chiselstrike.com>

* Remove keep-alive

Signed-off-by: Piotr Jastrzebski <piotr@chiselstrike.com>

---------

Signed-off-by: Piotr Jastrzebski <piotr@chiselstrike.com>
We have a user with a failing snapshot, but we don't know why.
We know rename returns EINVAL, which could happen for a variety
of reasons, all of them related to the paths themselves.

By printing the path, we will be able to figure out the actual reason.
Right now we're shooting in the dark.
Make CC and CXX configurable for the build process. Allows us to, for
example, make sure we're building with just clang on macOS.
* add malformed db test

* continue to debug output sql

* reduce sql

* reset connection on injection

* remove println in test

* address comments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants