[tor-bugs] #2930 [Tor Relay]: Overwrite files in stats/ directory rather than appending to them

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Sun Jul 31 17:47:04 UTC 2011


#2930: Overwrite files in stats/ directory rather than appending to them
-------------------------+--------------------------------------------------
 Reporter:  karsten      |          Owner:                    
     Type:  enhancement  |         Status:  new               
 Priority:  normal       |      Milestone:  Tor: 0.2.3.x-final
Component:  Tor Relay    |        Version:                    
 Keywords:               |         Parent:                    
   Points:               |   Actualpoints:                    
-------------------------+--------------------------------------------------

Comment(by karsten):

 I started working on a patch that overwrites stats/buffer-stats instead of
 appending to it.  While being at it, I decoupled some stuff and added unit
 tests.  This code is entirely untested yet.  But if someone wants to give
 me some feedback, that might be helpful for working on the other *-stats
 files.  See branch bug2930 in my public repository.

-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/2930#comment:4>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list