Преглед на файлове

resolve another 'hasn't sent end yet' bug

svn:r3911
Roger Dingledine преди 19 години
родител
ревизия
7cf33ed495
променени са 1 файла, в които са добавени 1 реда и са изтрити 0 реда
  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);
     }
   }