Skip to content

Enable HTTP/2 via default Reqwest transport and log negotiated protocol#195

Merged
KGronek-Pubnub merged 4 commits into
masterfrom
feat/http2
Jun 8, 2026
Merged

Enable HTTP/2 via default Reqwest transport and log negotiated protocol#195
KGronek-Pubnub merged 4 commits into
masterfrom
feat/http2

Conversation

@KGronek-Pubnub

@KGronek-Pubnub KGronek-Pubnub commented Jun 5, 2026

Copy link
Copy Markdown
Contributor

feat: Enable HTTP/2 negotiation on the default TransportReqwest by turning on reqwest’s native-tls-alpn feature, so ALPN can select h2 when the origin supports it while preserving HTTP/1.1 fallback.

refactor: Add debug-level protocol logging in async and blocking TransportReqwest::send() after each completed request, including HTTP method, path, and the Reqwest-reported protocol version.

fix: Fix a Clippy derivable_impls lint in RequestRetryConfiguration (derive Default on the enum instead of a manual impl).

@KGronek-Pubnub KGronek-Pubnub self-assigned this Jun 5, 2026
@KGronek-Pubnub KGronek-Pubnub added the status: done This issue is considered resolved. label Jun 5, 2026
@codacy-production

codacy-production Bot commented Jun 5, 2026

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics 0 complexity · 0 duplication

Metric Results
Complexity 0
Duplication 0

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

@parfeon parfeon left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@KGronek-Pubnub

Copy link
Copy Markdown
Contributor Author

@pubnub-release-bot release

@KGronek-Pubnub KGronek-Pubnub merged commit 049f21a into master Jun 8, 2026
10 checks passed
@KGronek-Pubnub KGronek-Pubnub deleted the feat/http2 branch June 8, 2026 09:59
@pubnub-release-bot

Copy link
Copy Markdown

🚀 Release successfully completed 🚀

AkiraMiyakoda pushed a commit to AkiraMiyakoda/pubnub-rust that referenced this pull request Jun 14, 2026
…ol (pubnub#195)

feat: Enable HTTP/2 negotiation on the default TransportReqwest by turning on reqwest’s native-tls-alpn feature, so ALPN can select h2 when the origin supports it while preserving HTTP/1.1 fallback.

refactor: Add debug-level protocol logging in async and blocking TransportReqwest::send() after each completed request, including HTTP method, path, and the Reqwest-reported protocol version.

fix: Fix a Clippy derivable_impls lint in RequestRetryConfiguration (derive Default on the enum instead of a manual impl).
AkiraMiyakoda pushed a commit to AkiraMiyakoda/pubnub-rust that referenced this pull request Jun 14, 2026
…ol (pubnub#195)

feat: Enable HTTP/2 negotiation on the default TransportReqwest by turning on reqwest’s native-tls-alpn feature, so ALPN can select h2 when the origin supports it while preserving HTTP/1.1 fallback.

refactor: Add debug-level protocol logging in async and blocking TransportReqwest::send() after each completed request, including HTTP method, path, and the Reqwest-reported protocol version.

fix: Fix a Clippy derivable_impls lint in RequestRetryConfiguration (derive Default on the enum instead of a manual impl).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

status: done This issue is considered resolved.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants