Sfoglia il codice sorgente

Make control connections use bufferevents

Nick Mathewson 16 anni fa
parent
commit
fc4ddafab8
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      src/or/connection.c

+ 1 - 0
src/or/connection.c

@@ -193,6 +193,7 @@ connection_type_uses_bufferevent(connection_t *conn)
     case CONN_TYPE_AP:
     case CONN_TYPE_EXIT:
     case CONN_TYPE_DIR:
+    case CONN_TYPE_CONTROL:
       return 1;
     default:
       return 0;