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

reuse_conn: don't copy flags that are known to be equal #1918

Closed
wants to merge 1 commit into
base: master
from

Conversation

Projects
None yet
2 participants
@mkauf
Contributor

mkauf commented Sep 24, 2017

A connection can only be reused if the flags "conn_to_host" and
"conn_to_port" match. Therefore it is not necessary to copy these flags
in reuse_conn().

reuse_conn: don't copy flags that are known to be equal
A connection can only be reused if the flags "conn_to_host" and
"conn_to_port" match. Therefore it is not necessary to copy these flags
in reuse_conn().
@bagder

bagder approved these changes Sep 24, 2017

@mkauf mkauf closed this in 284d06d Sep 28, 2017

@mkauf mkauf deleted the mkauf:reuse_conn_optimize branch Sep 28, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment