Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/python-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- name: Install dependencies
run: uv sync
- name: Install viceroy
run: cargo install --git https://github.com/fastly/Viceroy.git --branch sunfishcode/sync-wit viceroy
run: cargo install --git https://github.com/fastly/Viceroy.git --tag erikrose/python-sdk-checkpoint-1 viceroy
- name: Build WebAssembly component
run: make app.wasm
- name: Install dependencies
Expand Down
26 changes: 13 additions & 13 deletions wit/deps/fastly-adapter/adapter.wit
Original file line number Diff line number Diff line change
Expand Up @@ -28,17 +28,17 @@ interface adapter-http-req {
downstream-client-h2-fingerprint: func(max-len: u64) -> result<string, error>;
downstream-client-request-id: func(max-len: u64) -> result<string, error>;
downstream-client-oh-fingerprint: func(max-len: u64) -> result<string, error>;
downstream-client-ddos-detected: func() -> result<u32, error>;
downstream-tls-cipher-openssl-name: func(max-len: u64) -> result<list<u8>, error>;
downstream-tls-protocol: func(max-len: u64) -> result<list<u8>, error>;
downstream-tls-client-hello: func(max-len: u64) -> result<list<u8>, error>;
downstream-tls-client-cert-verify-result: func() -> result<client-cert-verify-result, error>;
downstream-tls-ja3-md5: func() -> result<list<u8>, error>;
downstream-tls-ja4: func(max-len: u64) -> result<string, error>;
downstream-compliance-region: func(max-len: u64) -> result<string, error>;

/// Deprecated, because it doesn't return `error.optional-none` on an empty certificate.
downstream-tls-raw-client-certificate-deprecated: func(max-len: u64) -> result<list<u8>, error>;
downstream-client-ddos-detected: func() -> result<bool, error>;
downstream-tls-cipher-openssl-name: func(max-len: u64) -> result<option<list<u8>>, error>;
downstream-tls-protocol: func(max-len: u64) -> result<option<list<u8>>, error>;
downstream-tls-client-hello: func(max-len: u64) -> result<option<list<u8>>, error>;
downstream-tls-client-cert-verify-result: func() -> result<option<client-cert-verify-result>, error>;
downstream-tls-ja3-md5: func() -> result<option<list<u8>>, error>;
downstream-tls-ja4: func(max-len: u64) -> result<option<string>, error>;
downstream-compliance-region: func(max-len: u64) -> result<option<string>, error>;

/// Deprecated, because it doesn't return `none` on an empty certificate.
downstream-tls-raw-client-certificate-deprecated: func(max-len: u64) -> result<option<list<u8>>, error>;

get-original-header-names: func(
max-len: u64,
Expand All @@ -60,11 +60,11 @@ interface adapter-http-downstream {
use fastly:compute/types.{error};
use fastly:compute/http-req.{request};

/// Deprecated, because it doesn't return `error.optional-none` on an empty certificate.
/// Deprecated, because it doesn't return `none` on an empty certificate.
downstream-tls-raw-client-certificate-deprecated: func(
ds-request: borrow<request>,
max-len: u64
) -> result<list<u8>, error>;
) -> result<option<list<u8>>, error>;
}

/// User-agent string parsing (deprecated).
Expand Down
Loading
Loading