Commit d80d5370 authored by Roger Dingledine's avatar Roger Dingledine
Browse files

when we get funny-looking lines on our dirport, shut up about it.


svn:r6135
parent b5c6a990
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -1783,7 +1783,8 @@ directory_handle_command(connection_t *conn)
  else if (!strncasecmp(headers,"POST",4))
    r = directory_handle_command_post(conn, headers, body, body_len);
  else {
    log_warn(LD_PROTOCOL,"Got headers %s with unknown command. Closing.",
    log_fn(LOG_PROTOCOL_WARN, LD_PROTOCOL,
           "Got headers %s with unknown command. Closing.",
           escaped(headers));
    r = -1;
  }