]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Renumber OR_CONN_STATE_*
authorNick Mathewson <nickm@torproject.org>
Thu, 24 Apr 2025 18:20:02 +0000 (14:20 -0400)
committerNick Mathewson <nickm@torproject.org>
Thu, 24 Apr 2025 18:35:42 +0000 (14:35 -0400)
src/core/or/orconn_event.h

index e500a8363d4d057d9cb61b8c157ccb185e3f478b..4afe9d91b5b3c1a1cddf3770da0ffcfc11b745a8 100644 (file)
 #define OR_CONN_STATE_TLS_HANDSHAKING 3
 /** State for a connection at an OR: We're waiting for the client to
  * send a versions cell (to indicate a v3+ handshake) */
-#define OR_CONN_STATE_SERVER_VERSIONS_WAIT 5
+#define OR_CONN_STATE_SERVER_VERSIONS_WAIT 4
 /** State for an OR connection: We're done with our SSL handshake, but we
  * haven't yet negotiated link protocol versions, done a V3 handshake, and
  * sent a netinfo cell. */
-#define OR_CONN_STATE_OR_HANDSHAKING_V3 7
+#define OR_CONN_STATE_OR_HANDSHAKING_V3 5
 /** State for an OR connection: Ready to send/receive cells. */
-#define OR_CONN_STATE_OPEN 8
-#define OR_CONN_STATE_MAX_ 8
+#define OR_CONN_STATE_OPEN 6
+#define OR_CONN_STATE_MAX_ 6
 /** @} */
 
 /** Used to indicate the type of an OR connection event passed to the