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

Re: [tor-bugs] #6683 [Tor Relay]: Request: add offset to current system time



#6683: Request: add offset to current system time
-------------------------+--------------------------------------------------
 Reporter:  tmpname0901  |          Owner:                  
     Type:  enhancement  |         Status:  needs_revision  
 Priority:  normal       |      Milestone:  Tor: unspecified
Component:  Tor Relay    |        Version:                  
 Keywords:               |         Parent:                  
   Points:               |   Actualpoints:                  
-------------------------+--------------------------------------------------

Comment(by nickm):

 Hi!  I'll second rransom's recommendation to use git and do this as a
 patch series.

 Other stuff:

  * This should be based on master, not release-0.2.3; new features go into
 master.
  * I don't think it's right to replace every intstance of time() with an
 offset time: for example, when we're looking at modification times of
 files, we need to use the current system time, or else we'll make the
 wrong decision about whether files are too new/too old.
  * We can also get our time from tor_gettimeofday(); that might need an
 offset version too, if we ever use it for something besides measuring how
 long something takes.

-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/6683#comment:11>
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