Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with Multi-Client Support #11

Open
houssam84 opened this issue Dec 15, 2024 · 1 comment
Open

Issue with Multi-Client Support #11

houssam84 opened this issue Dec 15, 2024 · 1 comment
Assignees

Comments

@houssam84
Copy link

Hi, again

based on wolfssl-sever , everything works flawlessly on single instance . I have a challenge while implementing a multi-client https server using wolfSSL on an Ethernet-based platform.

the https server needs to support multiple simultaneous client connections over Ethernet using TLS. The server utilizes:

  • A single WOLFSSL_CTX instance.
  • Multiple WOLFSSL objects (one per client).
  • Custom I/O callbacks (EthernetSend and EthernetReceive) for communication.

Observed Issues:

  1. during data transmission or reception, the callbacks sometimes fail to correctly associate the incoming WOLFSSL object with the intended client connection.

  2. With multiple clients, I frequently observe the debug log wolfSSL Entering RetrySendAlert, which seems to indicate issues with retrying alerts during communication.

Suggested fixes

  1. Use specific Ethernet callbacks (EthernetSend and EthernetReceive) to handle multi_client communication.
  2. Observe incorrect callback behavior, overwritten connections, or handshake

Thank you for providing such a robust and lightweight SSL/TLS library. I appreciate your time and support . Please let me know if you need additional details or a code example to replicate the behavior.

Best regards,

@anhu anhu self-assigned this Dec 16, 2024
@anhu
Copy link
Member

anhu commented Dec 16, 2024

Hello, Thanks for reaching out. May I ask, is this out of personal, professional or academic interest? Can you please let me know how you configure and build wolfSSL. I'm most interested in what configuration flags or macros are enabled/disabled.

Warm regards, Anthony

@anhu anhu assigned gojimmypi and unassigned anhu Dec 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants