Don't try to write to a buffered socket if there's no data. #8

Merged
siniStar7 merged 1 commit from 2.0 into 2.0 2025-08-30 06:24:12 -07:00
siniStar7 commented 2025-08-30 06:17:36 -07:00 (Migrated from github.com)

This can cause the SSL modules to act weirdly because the TLS library will return 0 bytes written (correctly) which is then interpreted as an error.

Summary

Rationale

Testing Environment

I have tested this pull request on:

Operating system name and version:
Compiler name and version:

This can cause the SSL modules to act weirdly because the TLS library will return 0 bytes written (correctly) which is then interpreted as an error. <!-- Please fill in the template below. It will help us process your pull request a lot faster. --> ## Summary <!-- Briefly describe what this pull request changes. --> ## Rationale <!-- Describe why you have made this change. --> ## Testing Environment <!-- Describe the environment in which you have tested this change: --> I have tested this pull request on: **Operating system name and version:** <!-- e.g. Linux 3.11 --> **Compiler name and version:** <!-- e.g. GCC 4.2.0 -->
Sign in to join this conversation.
No description provided.