소스 검색

fix a fun bug on r17656 that was making us send HTTP/1.0 404 as
the message body, no matter the message headers, when answering
a descriptor or extrainfo post request.


svn:r17723

Roger Dingledine 17 년 전
부모
커밋
7262bf5eab
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      src/or/directory.c

+ 1 - 0
src/or/directory.c

@@ -3094,6 +3094,7 @@ directory_handle_command_post(dir_connection_t *conn, const char *headers,
                conn->_base.address, msg);
       write_http_status_line(conn, 400, msg);
     }
+    goto done;
   }
 
   if (options->HSAuthoritativeDir &&