소스 검색

Update some documentation for the bug 1525 fix

Sebastian Hahn 15 년 전
부모
커밋
162c8847de
2개의 변경된 파일5개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      changes/bug1525
  2. 4 1
      src/or/connection_edge.c

+ 1 - 1
changes/bug1525

@@ -1,4 +1,4 @@
   o Minor bugfixes:
     - Ensure DNS requests launched by "RESOLVE" commands from the controller
-      respect __LeaveStreamsUnattached. Bugfix on 0.2.2.14-alpha;
+      respect __LeaveStreamsUnattached. Bugfix on 0.2.0.1-alpha;
       fixes bug 1525.

+ 4 - 1
src/or/connection_edge.c

@@ -1409,7 +1409,10 @@ consider_plaintext_ports(edge_connection_t *conn, uint16_t port)
 #define TRACKHOSTEXITS_RETRIES 5
 
 /** Call connection_ap_handshake_rewrite_and_attach() unless a controller
- *  asked us to leave streams unattached.
+ *  asked us to leave streams unattached. Return 0 in that case.
+ *
+ *  See connection_ap_handshake_rewrite_and_attach()'s
+ *  documentation for arguments and return value.
  */
 int
 connection_ap_rewrite_and_attach_if_allowed(edge_connection_t *conn,