Hacktoberfest 2026 : les issues que les mainteneurs ont marquées pour octobre, ouvertes et accessibles aux débutants. Parcourir les issues Hacktoberfest

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

Ouverte
#390 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub

Personne n'a encore pris cette issue.

Évaluation

Difficulté
5/5
Temps estimé
Plus d'une semaine
Accessibilité débutants
15/100
Type d'issue
Fonctionnalité
Clarté
À clarifier
Activité
À l'abandon
Stack technique
cpp, python
Domaine
networking

Piste de recherche

Commencez par examiner le code source currency_converter lié et la fonction parseAlpn du Gist afin de déterminer si elle analyse les identifiants de protocole ALPN de ClientHello. L’issue n’identifie ni point d’entrée Boost.Python, ni fichier Boost.Python cible, ni extension, port ou test défini ; aucune condition concrète d’achèvement n’est donc établie.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

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.

Langage dominant
C++
Étoiles
537
Forks
223
Merge moyen
11 h 22 min
PR mergées (30 j)
2

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de boostorg/python

Toutes les issues de boostorg/python

Issues similaires

Plus d'issues C++

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.