Skip to content

fix port value mismatch in create_server#8

Closed
claws wants to merge 1 commit into
MagicStack:masterfrom
claws:create_server_port_mismatch
Closed

fix port value mismatch in create_server#8
claws wants to merge 1 commit into
MagicStack:masterfrom
claws:create_server_port_mismatch

Conversation

@claws

@claws claws commented May 4, 2016

Copy link
Copy Markdown
Contributor

This pull request provides a fix for the issue outlined in #7.

The asyncio loop.create_server method accepts port=None as a valid argument but uvloop raises an exception. To approach true drop in replacement parity uvloop should ideally allow this argument and create an ephemeral port the same as asyncio does.

This change also provides a unit test to verify the functionality.

@1st1

1st1 commented May 4, 2016

Copy link
Copy Markdown
Member

LGTM. Will merge later today.

@1st1

1st1 commented May 4, 2016

Copy link
Copy Markdown
Member

Merged by hand. I've also published uvloop v0.4.11 with your fix in. Thanks a lot!

@1st1 1st1 closed this May 4, 2016
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.

2 participants