Ticket #1042: 0002-Bug-1042-Rate-limit-warn-on-onionskin-handoff.patch

File 0002-Bug-1042-Rate-limit-warn-on-onionskin-handoff.patch, 1.2 KB (added by cjb, 9 years ago)
  • new file changes/bug1042

    From de4ef99feeff1ea726ddbf00297a04996f8ce2e6 Mon Sep 17 00:00:00 2001
    From: Chris Ball <chris@printf.net>
    Date: Sat, 31 Jul 2010 19:57:20 -0400
    Subject: [PATCH] Bug #1042: Rate-limit warn on onionskin handoff
    
    ---
     changes/bug1042  |    4 ++++
     src/or/command.c |    2 +-
     2 files changed, 5 insertions(+), 1 deletions(-)
     create mode 100644 changes/bug1042
    
    diff --git a/changes/bug1042 b/changes/bug1042
    new file mode 100644
    index 0000000..514aa7e
    - +  
     1  o Minor bugfixes:
     2    - Rate-limit onionskin hand off warning by changing to info.
     3      Bugfix in 0.0.2pre10, closes bug 1042.
     4
  • src/or/command.c

    diff --git a/src/or/command.c b/src/or/command.c
    index 0460e25..d4b6077 100644
    a b command_process_create_cell(cell_t *cell, or_connection_t *conn) 
    288288
    289289    /* hand it off to the cpuworkers, and then return. */
    290290    if (assign_onionskin_to_cpuworker(NULL, circ, onionskin) < 0) {
    291       log_warn(LD_GENERAL,"Failed to hand off onionskin. Closing.");
     291      log_info(LD_GENERAL,"Failed to hand off onionskin. Closing.");
    292292      circuit_mark_for_close(TO_CIRCUIT(circ), END_CIRC_REASON_INTERNAL);
    293293      return;
    294294    }