Skip to content

fix(transport): handle connection error correctly (#650)#651

Merged
mxschmitt merged 11 commits intomicrosoft:masterfrom
x0day:master
May 4, 2021
Merged

fix(transport): handle connection error correctly (#650)#651
mxschmitt merged 11 commits intomicrosoft:masterfrom
x0day:master

Conversation

@x0day
Copy link
Copy Markdown
Contributor

@x0day x0day commented Apr 26, 2021

@ghost
Copy link
Copy Markdown

ghost commented Apr 26, 2021

CLA assistant check
All CLA requirements met.

@mxschmitt
Copy link
Copy Markdown
Contributor

A test for ws connection timeout for sync and async would be awesome.

@x0day
Copy link
Copy Markdown
Contributor Author

x0day commented Apr 26, 2021

A test for ws connection timeout for sync and async would be awesome.

ok

@x0day
Copy link
Copy Markdown
Contributor Author

x0day commented Apr 27, 2021

add the test test_connect_to_closed_server_without_hangs, please check.

@x0day x0day requested a review from mxschmitt April 27, 2021 06:25
Copy link
Copy Markdown
Contributor

@mxschmitt mxschmitt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good but the currently handling of having run and start is confusing I think from my perspective. Will take a more detailed look later how to avoid that.

@x0day
Copy link
Copy Markdown
Contributor Author

x0day commented Apr 27, 2021

Looks good but the currently handling of having run and start is confusing I think from my perspective. Will take a more detailed look later how to avoid that.

yep maybe we can fix hang error at this time and think about allow channel be inited after connect or launch at next version.

@mxschmitt mxschmitt merged commit 82885a1 into microsoft:master May 4, 2021
pavelfeldman added a commit to pavelfeldman/playwright-python that referenced this pull request May 7, 2021
) (microsoft#651)"

This reverts commit 82885a1.
Sorry about the revert. I don't think this handles the connection
timeout properly, so let me see if we can get a better fix here.
pavelfeldman added a commit that referenced this pull request May 7, 2021
…" (#670)

This reverts commit 82885a1.
Sorry about the revert. I don't think this handles the connection
timeout properly, so let me see if we can get a better fix here.
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

Successfully merging this pull request may close these issues.

3 participants