Skip to content

Conversation

@maskit
Copy link
Member

@maskit maskit commented Aug 3, 2022

SSLNetVConnection.cc does not include P_SSLNetVConnection.h directly somehow. Below is how it is included:

SSLNetVConnection.cc -> P_SSLSNI.h -> P_SNIActionPerformer.h -> P_SSLNextProtocolAccept.h -> P_SSLNetVConnection.h

This is bad because files that include the other header files implicitly include P_SSLNetVConnnection.h unnecessarily. This is why many things are rebuilt when you touch P_SSLNetVConnection.h or other header files that are included by it.

Main changes on this PR are:

  • Include P_SSLNetVConnection in SSLNetVConnection.cc
  • Move a declaration for ActionItem into SNIActionPerformer.h as a public interface
  • Rename P_SSLSNI.h to SSLSNIConfig.h (now the name matches with the source file that contains the implementation)

Changes around I_Net.h, NetVCOptions are for link issues due to inline. NetVCOptions is declared in I_NetVConnection.h and some of the member functions were in P_UnixNetVConnection.h as inline functions. I moved the inline functions into I_NetVConnection.h.

@maskit maskit added this to the 10.0.0 milestone Aug 3, 2022
@maskit maskit self-assigned this Aug 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants