Browse Source

and another useful answer

svn:r13642
Roger Dingledine 17 years ago
parent
commit
8889229407
1 changed files with 4 additions and 1 deletions
  1. 4 1
      src/or/main.c

+ 4 - 1
src/or/main.c

@@ -500,7 +500,10 @@ conn_write_callback(int fd, short events, void *_conn)
           edge_conn->end_reason = END_STREAM_REASON_INTERNAL;
           edge_conn->end_reason = END_STREAM_REASON_INTERNAL;
         conn->edge_has_sent_end = 1;
         conn->edge_has_sent_end = 1;
       }
       }
-      /* XXX020rc do we need a close-immediate here, so we don't try to flush? */
+      /* XXX020rc do we need a close-immediate here, so we don't try to
+       * flush? -NM
+       * Yes, we do, since it broke in an unexpected way. This should be
+       * safe to do since I don't think this codepath ever gets called. -RD */
       connection_mark_for_close(conn);
       connection_mark_for_close(conn);
     }
     }
   }
   }