Skip to content

Improve error reporting when TCP/IP connection fails (happy eyeballs) - #231

Merged
jsor merged 2 commits into
reactphp:masterfrom
clue-labs:eyeballs-errors
May 12, 2020
Merged

Improve error reporting when TCP/IP connection fails (happy eyeballs) #231
jsor merged 2 commits into
reactphp:masterfrom
clue-labs:eyeballs-errors

Conversation

@clue

@clueclue commented May 12, 2020

Copy link
Copy Markdown
Member

Improve error reporting when TCP/IP connection fails (happy eyeballs). The rejection message now always contains the underlying TCP/IP error message with more details.

Additionally, improve timer logic for next attempt timer and fix leftover timer reference.
Use one-off timers that will be scheduled only when a following
connection attempt should be started instead of using a dangling
periodic timer that could possibly keep running even when no connection
attempts are scheduled anymore.

Builds on top of #230, #224 and #225
Refs #171 and others

@clueclue added this to the v1.5.0 milestone May 12, 2020
clue added 2 commits May 12, 2020 16:07
Use one-off timers that will be scheduled only when a following
connection attempt should be started instead of using a dangling
periodic timer that could possibly keep running even when no connection
attempts are scheduled anymore.
@clue
clueforce-pushed the eyeballs-errors branch from 1e8e5f7 to 3686e51CompareMay 12, 2020 14:07
@clue
clue requested review from WyriHaximus and jsorMay 12, 2020 15:21
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@clue@jsor@WyriHaximus