Skip to content

Conversation

@dpkp
Copy link
Owner

@dpkp dpkp commented Mar 22, 2019

I don't think it is strictly necessary to send before receiving in the poll loop, but I think the design makes more sense. Leveraging the request-time-out loop was more of an optimization to avoid looping through the connection list twice. In the future we might consider other optimizations, including tracking connections w/ pending data to write and using select to identify which/when those sockets are available for writing.


This change is Reviewable

@dpkp dpkp merged commit e45b89b into master Mar 27, 2019
@dpkp dpkp deleted the send_first_poll branch March 27, 2019 14:45
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