Commit message (Collapse) | Author | Age | ||
---|---|---|---|---|
... | ||||
* | Finally solve the "closing wedged cpuworkers" bug. Woo. | Roger Dingledine | 2006-06-12 | |
| | | | | | | | | | | | This happened when we got two create cells in a row from the same TLS connection. It would hand one to the cpuworker, and then immediately handle the second one -- after it had registered that the first one was busy, but before it had updated the timestamp that we use to decide how *long* it's been busy. svn:r6606 | |||
* | We got an obscure report of an assert error on a windows Tor server with | Roger Dingledine | 2006-06-06 | |
| | | | | | | | | | | connection_add being called with socket = -1. The only places I can see where that happen would be if our tor_socketpair succeeds but it hands back negative values for some of its file descriptors. Perhaps this will produce more useful assert errors next time. svn:r6550 | |||
* | Raise the timeout for complaining about wedged cpuworkers. | Roger Dingledine | 2006-04-18 | |
| | | | | | | | | This value is high because some servers with low memory/cpu sometimes spend an hour or more swapping, and Tor starves. svn:r6406 | |||
* | More cleanups noticed by weasel; also, remove macros that nobody uses. | Nick Mathewson | 2006-03-12 | |
| | | | | svn:r6143 | |||
* | Cleanup on time-relaqted constants. New conventions: | Nick Mathewson | 2006-03-12 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1) Surround all constants by (parens), whether we'll be using them in a denominator or not. 2) Express all time periods as products (24*60*60), not as multiplied-out constants (86400). 3) Comments like "(60*60) /* one hour */" are as pointless as comments like "c = a + b; /* set c to the sum of a and b */". Remove them. 4) All time periods should be #defined constants, not given inline. 5) All time periods should have doxygen comments. 6) All time periods, unless specified, are in seconds. It's not necessary to say so. To summarize, the old (lack of) style would allow: #define FOO_RETRY_INTERVAL 60*60 /* one hour (seconds) */ next_try = now + 3600; The new style is: /** How often do we reattempt foo? */ #define FOO_RETRY_INTERVAL (60*60) next_try = now + RETRY_INTERVAL; svn:r6142 | |||
* | fix typo found in phobos's logs | Roger Dingledine | 2006-02-15 | |
| | | | | svn:r6020 | |||
* | more log conversions. | Roger Dingledine | 2006-02-13 | |
| | | | | | | | whee. svn:r6003 | |||
* | Happy new year! | Roger Dingledine | 2006-02-09 | |
| | | | | svn:r5949 | |||
* | Add reasons to DESTROY and RELAY_TRUNCATED cells. | Nick Mathewson | 2006-01-05 | |
| | | | | svn:r5734 | |||
* | disambiguate some debug entries | Roger Dingledine | 2005-12-26 | |
| | | | | svn:r5654 | |||
* | Bite the bullet and limit all our source lines to 80 characters, the way IBM ↵ | Nick Mathewson | 2005-12-14 | |
| | | | | | | intended. svn:r5582 | |||
* | answer nick's XXX, and muck with some log domain choices | Roger Dingledine | 2005-11-01 | |
| | | | | svn:r5339 | |||
* | make circ->onionskin a pointer, not a static array. moria2 was using | Roger Dingledine | 2005-10-29 | |
| | | | | | | | | 125000 circuit_t's after it had been up for a few weeks, which translates to 20+ megs of wasted space. svn:r5333 | |||
* | Per comments at the bottom of openssl/FAQ, call even more functions to | Nick Mathewson | 2005-10-25 | |
| | | | | | | | | clean up OpenSSL's toys when it's done playing. (Why isn't there an OpenSSL_free_everything() function?) svn:r5321 | |||
* | Remove last vestiges of old logging interface. | Nick Mathewson | 2005-10-25 | |
| | | | | svn:r5317 | |||
* | Change more files to new loggin interface. 3 left. | Nick Mathewson | 2005-10-25 | |
| | | | | svn:r5310 | |||
* | Downgrade a few INFO level logs to DEBUG again. Also add two or three new | Peter Palfrader | 2005-10-17 | |
| | | | | | | | | logs in cases where a calling function's log was downgraded and we wouldn't get any log message otherwise. svn:r5263 | |||
* | there was no need to die when we failed to spawn a cpuworker. | Roger Dingledine | 2005-09-23 | |
| | | | | | | | it handles it fine if we decide not to die. svn:r5114 | |||
* | rotate dns and cpu workers if the controller changes options that | Roger Dingledine | 2005-08-15 | |
| | | | | | | | will affect them. svn:r4787 | |||
* | initialize the dns worker cache tree whether or not we start | Roger Dingledine | 2005-08-15 | |
| | | | | | | | out as a server. svn:r4785 | |||
* | Make errors retrievable from tor_socketpair; resolve bug 163. | Nick Mathewson | 2005-06-30 | |
| | | | | svn:r4509 | |||
* | Docment or add DOCDOC comments to undocumented functions in src/or. Make ↵ | Nick Mathewson | 2005-06-11 | |
| | | | | | | function definition format uniform. svn:r4411 | |||
* | flesh out the source file descriptions for doxygen | Roger Dingledine | 2005-06-11 | |
| | | | | svn:r4404 | |||
* | Change end-of-file NLNL convention. It turns out arma I and I agree. | Nick Mathewson | 2005-06-09 | |
| | | | | svn:r4382 | |||
* | New whitespace normalization rule: no blank line at EOF. | Nick Mathewson | 2005-06-09 | |
| | | | | svn:r4378 | |||
* | Make Tor compile with no warnings with gcc4.0 on OSX | Nick Mathewson | 2005-05-07 | |
| | | | | svn:r4184 | |||
* | Call tor_free_all instead of connections_free_all after forking | Nick Mathewson | 2005-05-03 | |
| | | | | svn:r4173 | |||
* | New and frightening code to implement fast-path first-hop CREATE_FAST cells. ↵ | Nick Mathewson | 2005-05-02 | |
| | | | | | | Watch out when we bump the version to 0.1.0.6-rc! svn:r4162 | |||
* | only complain about wedged cpuworkers after an hour, not 100 secs | Roger Dingledine | 2005-04-23 | |
| | | | | svn:r4100 | |||
* | If it has not been 100 seconds since we told the cpuworker about an onion, ↵ | Nick Mathewson | 2005-04-08 | |
| | | | | | | complain! Oh, wait... svn:r4059 | |||
* | add function comment | Roger Dingledine | 2005-04-07 | |
| | | | | svn:r4043 | |||
* | We have a bug that I can't find. Sometimes, very rarely, cpuworkers get | Roger Dingledine | 2005-04-07 | |
| | | | | | | | | | stuck in the 'busy' state, even though the cpuworker process thinks of itself as idle. I don't know why. But here's a workaround to kill any cpuworker that's been busy for more than 100 seconds. svn:r4042 | |||
* | fix an assert trigger: when we have the rare case of accepting | Roger Dingledine | 2005-04-06 | |
| | | | | | | | | a conn on 0.0.0.0:0, then when we look through the connection array, we'll find any of the workers. this is no good. svn:r4027 | |||
* | Hopefully, this will make ORs much faster, and not break them: keep a big ↵ | Nick Mathewson | 2005-04-06 | |
| | | | | | | splay tree of (circid,orconn)->circuit mappings to make circuit_get_by_circid_conn much faster. svn:r4020 | |||
* | Make last fix work on windows too. | Nick Mathewson | 2005-04-04 | |
| | | | | svn:r4009 | |||
* | Fix possible bug on threading platforms with running out of fds do to ↵ | Nick Mathewson | 2005-04-04 | |
| | | | | | | cpuworkers and dnsworkers. svn:r4008 | |||
* | update copyright notices. | Nick Mathewson | 2005-04-01 | |
| | | | | svn:r3982 | |||
* | Change from inet_ntoa to a threadproof tor_inet_ntoa. | Nick Mathewson | 2005-02-22 | |
| | | | | svn:r3656 | |||
* | forward-port the shutting up | Roger Dingledine | 2005-01-28 | |
| | | | | svn:r3450 | |||
* | Handle unavailable hidden services better. We try each intro point | Roger Dingledine | 2005-01-19 | |
| | | | | | | | | | | until none are left, then we try to refetch the descriptor. If it's the same one we had before, then close streams right then. Whenever a new stream arrives, even if it's right after, optimistically try refetching the descriptor, just in case. svn:r3379 | |||
* | Give more useful log messages when the tor process closes dns/cpuworker ↵ | Nick Mathewson | 2005-01-19 | |
| | | | | | | connections. "Error: Success!" makes us seem like crazy people." svn:r3373 | |||
* | More work on task #43: fix race conditions on multithreaded (win32) servers. | Nick Mathewson | 2005-01-03 | |
| | | | | svn:r3251 | |||
* | Possible fix for task #43: when running on a multithreaded environment ↵ | Nick Mathewson | 2005-01-03 | |
| | | | | | | (currently only windows), threads should not close opposite sides of their socketpairs, and workers should not call connection_free_all(). This may fix win32 servers. svn:r3247 | |||
* | More win32 fixes: 1) tolerate extra "readable" events better. 2) when being ↵ | Nick Mathewson | 2004-12-06 | |
| | | | | | | multithreaded, leave parent fdarray open. svn:r3092 | |||
* | Suggestion from weasel: Make tor --version --version dump the cvs Id of ↵ | Nick Mathewson | 2004-11-29 | |
| | | | | | | every file. svn:r3019 | |||
* | wrong is ok, and right is fine, but in between is apparently | Roger Dingledine | 2004-11-28 | |
| | | | | | | | totally unacceptable to me. svn:r3005 | |||
* | Normalize space: add one between every control keyword and control clause. | Nick Mathewson | 2004-11-28 | |
| | | | | svn:r3003 | |||
* | remove emacs droppings, since nick says he doesn't need them anymore | Roger Dingledine | 2004-11-26 | |
| | | | | svn:r2989 | |||
* | break reached_eof() out of process_inbuf() | Roger Dingledine | 2004-11-21 | |
| | | | | svn:r2930 | |||
* | minor fixes | Roger Dingledine | 2004-11-16 | |
| | | | | svn:r2901 |