boostorg / boostorg/python

Advice Needed on using this Python lib (link to Gist with lib code included) to parse ClientHello message

未關閉
#390 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
C++
星號
537
分支
223
平均合併
11 小時 22 分鐘
30 天內合併 PR
2

描述

Hi, everyone.

I have a C++ I wrote using Boost.Beast that runs over an encrypted connection with SSL ([source code](https://github.com/DragonOsman/currency_converter)).

In there, I'm getting an error about an unsupported protocol from ClientHello. So I want to use [this](https://gist.github.com/dholth/b766f20cdab26cee082f3f58d7c015d7) Python lib I found on Gist to try and parse the ClientHello. My intention is to try and parse the protocol IDs to see if the HTTP/2 ID is present.

But of course, as the library is in Python, I should either use Boost.Python for this or try to write the code in C++ myself or ask someone else to do it. But I also don't know for sure if the library includes support for parsing protocol IDs out of the box--the `parseAlpn` function `yields` a protocol which seems like it might be what I want, but it could also just be the TLS protocol version. I need help on figuring this out and also maybe on porting the code to C++ so I can use it without needing Boost.Python hopefully (since Boost.Python would add additional complication to my app, and might not really be what I need either since I don't want to include the Python interpreter in my app).

So yeah, what should I do? Try to use Boost.Python? Or try to have someone port the code to C++ first and then use it? And does this library already do what I need or do I need to extend it? That's what I need advice on. Thanks.

貢獻指南

這個儲存庫沒有索引到貢獻指南

研究方向

首先查看連結的 currency_converter 原始碼和 Gist 的 parseAlpn 函式,以確定它是否會從 ClientHello 解析 ALPN 通訊協定 ID。該 issue 沒有指出 Boost.Python 進入點、目標 Boost.Python 檔案,也沒有定義擴充功能、移植或測試,因此尚未建立具體的完成條件。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
cpp, python
領域
networking
Issue 類型
功能
難度
5/5
預估耗時
一週以上
活躍度
停滯
描述清晰度
需要釐清
新手友好度
15/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。