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

Closed
wants to merge 1 commit into
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