Przeglądaj źródła

resolve another 'hasn't sent end yet' bug

svn:r3911
Roger Dingledine 19 lat temu
rodzic
commit
7cf33ed495
1 zmienionych plików z 1 dodań i 0 usunięć
  1. 1 0
      src/or/circuitlist.c

+ 1 - 0
src/or/circuitlist.c

@@ -432,6 +432,7 @@ int _circuit_mark_for_close(circuit_t *circ) {
       /* The other side will see a DESTROY, and infer that the connections
        * are closing because the circuit is getting torn down.  No need
        * to send an end cell*/
+      conn->has_sent_end = 1; /* we're closing the circuit, nothing to send to */
       connection_mark_for_close(conn);
     }
   }