Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

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

Aperta
#390 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
15/100
Tipo di issue
Funzionalità
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
cpp, python
Ambito
networking

Direzione di ricerca

Inizia esaminando il codice sorgente currency_converter collegato e la funzione parseAlpn del Gist per determinare se analizza gli ID dei protocolli ALPN da ClientHello. L’issue non identifica un punto di ingresso Boost.Python, un file Boost.Python di destinazione né un’estensione, una porta o un test definiti, quindi non è stata stabilita una condizione concreta di completamento.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Hi, everyone.

I have a C++ I wrote using Boost.Beast that runs over an encrypted connection with SSL (source code).

In there, I'm getting an error about an unsupported protocol from ClientHello. So I want to use this 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.

Lingua principale
C++
Stelle
537
Fork
223
Merge medio
11h 22m
PR unite (30g)
2

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di boostorg/python

Tutte le issue di boostorg/python

Issue simili

Altre issue su C++

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.