Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove SetDeadline from the framing layer #21

Merged
merged 1 commit into from
Dec 26, 2019
Merged

Conversation

vykulakov
Copy link
Collaborator

The framing layer is not supposed to have any blocking operations or operations which may hang for a long time. So having methods/parameters related to any kind of timeouts or deadlines looks insane and the framing layer should not manage them in any way. It should just reformat written bytes and join bytes before reading.

The framing layer is not supposed to have any blocking operations or operations which may hang for a long time. So having methods/parameters related to any kind of timeouts or deadlines looks insane and the framing layer should not manage them in any way. It should just reformat written bytes and join bytes before reading.
@vykulakov vykulakov merged commit 50d5a5c into master Dec 26, 2019
@vykulakov vykulakov deleted the slava/refactoring branch December 26, 2019 19:11
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.

None yet

1 participant