Support HTTP/2
@laurent-martin 已经在做这个了。
开始于 2024年10月15日。
评估
这个 Issue 还没有评估数据。
描述
Currently ascli uses HTTP/1
HTTP/2
-Binary Protocol: HTTP/2 uses a binary format for data, which is more efficient for computers to parse and reduces overhead.
- Multiplexing: Multiple requests and responses can be sent simultaneously over a single connection without blocking each other, improving performance.
- Header Compression: HTTP/2 uses HPACK compression to reduce the size of HTTP headers, leading to less bandwidth usage and faster requests.
- Stream Prioritization: It allows clients to prioritize streams, enabling better resource allocation based on the importance of different requests.
Reason for the ask is I was running into issues where my AWS Load-Balancer expected HTTP/2
Example: - Getting a 464 response for mis-match
D, [2024-10-15T18:38:14.527587 #31842] DEBUG -- : raise_on_error POST /aspera/faspex/auth/token 🔑
ERROR: Rest: staging.qa.asperatest.net 464
ERROR: Argument: unprocessed values: ["data_23224"]
/usr/local/rvm/gems/ruby-3.1.2/gems/aspera-cli-4.19.0/lib/aspera/rest_error_analyzer.rb:48:in `raise_on_error': staging.qa.asperatest.net 464 (Aspera::RestCallError)
from /usr/local/rvm/gems/ruby-3.1.2/gems/aspera-cli-4.19.0/lib/aspera/rest.rb:382:in `call'
from /usr/local/rvm/gems/ruby-3.1.2/gems/aspera-cli-4.19.0/lib/aspera/oauth/base.rb:65:in `create_token_call'
from /usr/local/rvm/gems/ruby-3.1.2/gems/aspera-cli-4.19.0/lib/aspera/oauth/jwt.rb:49:in `create_token'
from /usr/local/rvm/gems/ruby-3.1.2/gems/aspera-cli-4.19.0/lib/aspera/oauth/base.rb:144:in `token'
from /usr/local/rvm/gems/ruby-3.1.2/gems/aspera-cli-4.19.0/lib/aspera/rest.rb:283:in `call'
from /usr/local/rvm/gems/ruby-3.1.2/gems/aspera-cli-4.19.0/lib/aspera/rest.rb:427:in `create'
from /usr/local/rvm/gems/ruby-3.1.2/gems/aspera-cli-4.19.0/lib/aspera/cli/plugins/faspex5.rb:489:in `package_action'
from /usr/local/rvm/gems/ruby-3.1.2/gems/aspera-cli-4.19.0/lib/aspera/cli/plugins/faspex5.rb:735:in `execute_action'
from /usr/local/rvm/gems/ruby-3.1.2/gems/aspera-cli-4.19.0/lib/aspera/cli/main.rb:300:in `process_command_line'
from /usr/local/rvm/gems/ruby-3.1.2/gems/aspera-cli-4.19.0/bin/ascli:24:in `<top (required)>'
from /usr/local/rvm/gems/ruby-3.1.2/bin/ascli:25:in `load'
from /usr/local/rvm/gems/ruby-3.1.2/bin/ascli:25:in `<main>'
from /usr/local/rvm/gems/ruby-3.1.2/bin/ruby_executable_hooks:22:in `eval'
from /usr/local/rvm/gems/ruby-3.1.2/bin/ruby_executable_hooks:22:in `<main>'
Transfer complete
- 主要语言
- Ruby
- 星标
- 102
- 派生
- 24
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
IBM/aspera-cli 的其他 Issue
-
Listing files in a shared folder of a workspace as admin可能重新可做 @laurent-martin 于 160 天前认领,目前没有进行中的 PR。 未关闭customer request question
IBM/aspera-cli#256 · 2 条评论 · 已指派 1 人 ·
-
`aoc packages received ALL --once-only` might skip interrupted downloads可能重新可做 @laurent-martin 于 491 天前认领,目前没有进行中的 PR。 未关闭bug
IBM/aspera-cli#203 · 1 条评论 · 已指派 1 人 ·
-
internal
难度 5/5 一周以上 新手友好度 15/100
IBM/aspera-cli#191 ·
-
Build, automate and release docker image可能重新可做 @JAHMCR 于 1340 天前认领,目前没有进行中的 PR。 未关闭build CI internal
IBM/aspera-cli#103 · 1 条评论 · 已指派 2 人 ·
-
Enable Whitesource OSS scanning可能重新可做 @gegles 于 1590 天前认领,目前没有进行中的 PR。 未关闭internal SPbD
IBM/aspera-cli#83 · 1 条评论 · 已指派 1 人 ·
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 68/100
palladius/rails8-app-on-gcp#198 ·
-
bug
难度 1/5 1 小时以内 新手友好度 95/100
WikiEducationFoundation/WikiEduDashboard#7258 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 75/100
manyfold3d/manyfold#7526 ·
维护者通常 1 天内回复
-
bug
难度 1/5 1 小时以内 新手友好度 88/100
riscv/riscv-unified-db#2797 ·
维护者通常 1 天内回复