[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [tor-bugs] #4345 [Tor Relay]: Bug: closing wedged cpuworker.



#4345: Bug: closing wedged cpuworker.
-----------------------+----------------------------------------------------
 Reporter:  jn         |          Owner:                     
     Type:  defect     |         Status:  needs_information  
 Priority:  normal     |      Milestone:  Tor: unspecified   
Component:  Tor Relay  |        Version:  Tor: 0.2.3.10-alpha
 Keywords:             |         Parent:                     
   Points:             |   Actualpoints:                     
-----------------------+----------------------------------------------------

Comment(by ln5):

 Flushing makes the bug go away.

 {{{
 --- a/src/or/cpuworker.c
 +++ b/src/or/cpuworker.c
 @@ -517,6 +517,7 @@ assign_onionskin_to_cpuworker(connection_t *cpuworker,
      connection_write_to_buf(qbuf, 1, cpuworker);
      connection_write_to_buf(tag, sizeof(tag), cpuworker);
      connection_write_to_buf(onionskin, ONIONSKIN_CHALLENGE_LEN,
 cpuworker);
 +    connection_flush(cpuworker);
      tor_free(onionskin);
    }
    return 0;
 }}}

-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/4345#comment:18>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs