aboutsummaryrefslogtreecommitdiff
path: root/src/or/cpuworker.c
Commit message (Expand)AuthorAge
* r13266@catbus: nickm | 2007-06-05 16:38:08 -0400••• Patch from peter palfrader: control interface via unix domain socket svn:r10504 Nick Mathewson2007-06-05
* r12853@catbus: nickm | 2007-05-22 11:36:54 -0400••• Make connection_array into a smartlist. svn:r10292 Nick Mathewson2007-05-22
* r12764@catbus: nickm | 2007-05-15 17:17:39 -0400••• Enable (and cope with) more GCC 4.2 warnings. svn:r10196 Nick Mathewson2007-05-15
* r12074@catbus: nickm | 2007-03-04 15:11:43 -0500••• Make all LD_BUG log messsages get prefixed with "Bug: ". Remove manually-generated "Bug: "s from log-messages. (Apparently, we remembered to add them about 40% of the time.) svn:r9733 Nick Mathewson2007-03-04
* r11775@catbus: nickm | 2007-02-12 16:39:09 -0500••• Update copyright dates. svn:r9570 Nick Mathewson2007-02-12
* r9025@Kushana: nickm | 2006-09-29 18:33:13 -0400••• Differentiate more duplicated log entries svn:r8542 Nick Mathewson2006-09-29
* r9023@Kushana: nickm | 2006-09-29 17:27:24 -0400••• Make distinct all non-bug messages at notice or higher that appear 3 or more times. svn:r8541 Nick Mathewson2006-09-29
* r8725@Kushana: nickm | 2006-09-06 04:39:29 -0400••• spawn_func fixes: have cpuworker_main and dnsworker_main confirm to the right interfaces [casting func to void* is icky]. Also, make pthread_create() build without warnings. svn:r8327 Nick Mathewson2006-09-06
* - made configure check if we are building for win32•••- made configure link to required system dll's if building for win32 - added diffs for libevent 1.1b - forced user to turn off eventdns if win32 is set - cleaned up tor_mmap_file()_win32 (not sure if it's stable) - cleaned up some warnings and typos svn:r8322 Mike Chiussi2006-09-06
* r6908@Kushana: nickm | 2006-07-26 12:38:52 -0400••• Refactor connection_t into edge, or, dir, control, and base subtypes. This might save some RAM on busy exit servers, but really matters most in terms of correctness. svn:r6906 Nick Mathewson2006-07-26
* Don't tell anybody, but we're going OO here. This patch splits•••circuit_t into origin_circuit_t and or_circuit_t. I fixed some segaults; there may be more. We still need to move more rendezvous stuff into subtypes. This is a trial run for splitting up connection_t; if the approach is insane, please say so soon so we can do something smarter. Also, this discards the old HALF_OPEN code, which nobody seems to want. svn:r6817 Nick Mathewson2006-07-23
* Finally solve the "closing wedged cpuworkers" bug. Woo.•••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 Roger Dingledine2006-06-12
* We got an obscure report of an assert error on a windows Tor server with•••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 Roger Dingledine2006-06-06
* Raise the timeout for complaining about wedged cpuworkers.•••This value is high because some servers with low memory/cpu sometimes spend an hour or more swapping, and Tor starves. svn:r6406 Roger Dingledine2006-04-18
* More cleanups noticed by weasel; also, remove macros that nobody uses.•••svn:r6143 Nick Mathewson2006-03-12
* Cleanup on time-relaqted constants. New conventions:••• 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 Nick Mathewson2006-03-12
* fix typo found in phobos's logs•••svn:r6020 Roger Dingledine2006-02-15
* more log conversions.•••whee. svn:r6003 Roger Dingledine2006-02-13
* Happy new year!•••svn:r5949 Roger Dingledine2006-02-09
* Add reasons to DESTROY and RELAY_TRUNCATED cells.•••svn:r5734 Nick Mathewson2006-01-05
* disambiguate some debug entries•••svn:r5654 Roger Dingledine2005-12-26
* Bite the bullet and limit all our source lines to 80 characters, the way IBM ...•••svn:r5582 Nick Mathewson2005-12-14
* answer nick's XXX, and muck with some log domain choices•••svn:r5339 Roger Dingledine2005-11-01
* make circ->onionskin a pointer, not a static array. moria2 was using•••125000 circuit_t's after it had been up for a few weeks, which translates to 20+ megs of wasted space. svn:r5333 Roger Dingledine2005-10-29
* Per comments at the bottom of openssl/FAQ, call even more functions to•••clean up OpenSSL's toys when it's done playing. (Why isn't there an OpenSSL_free_everything() function?) svn:r5321 Nick Mathewson2005-10-25
* Remove last vestiges of old logging interface.•••svn:r5317 Nick Mathewson2005-10-25
* Change more files to new loggin interface. 3 left.•••svn:r5310 Nick Mathewson2005-10-25
* Downgrade a few INFO level logs to DEBUG again. Also add two or three new•••logs in cases where a calling function's log was downgraded and we wouldn't get any log message otherwise. svn:r5263 Peter Palfrader2005-10-17
* there was no need to die when we failed to spawn a cpuworker.•••it handles it fine if we decide not to die. svn:r5114 Roger Dingledine2005-09-23
* rotate dns and cpu workers if the controller changes options that•••will affect them. svn:r4787 Roger Dingledine2005-08-15
* initialize the dns worker cache tree whether or not we start•••out as a server. svn:r4785 Roger Dingledine2005-08-15
* Make errors retrievable from tor_socketpair; resolve bug 163.•••svn:r4509 Nick Mathewson2005-06-30
* Docment or add DOCDOC comments to undocumented functions in src/or. Make fun...•••svn:r4411 Nick Mathewson2005-06-11
* flesh out the source file descriptions for doxygen•••svn:r4404 Roger Dingledine2005-06-11
* Change end-of-file NLNL convention. It turns out arma I and I agree.•••svn:r4382 Nick Mathewson2005-06-09
* New whitespace normalization rule: no blank line at EOF.•••svn:r4378 Nick Mathewson2005-06-09
* Make Tor compile with no warnings with gcc4.0 on OSX•••svn:r4184 Nick Mathewson2005-05-07
* Call tor_free_all instead of connections_free_all after forking•••svn:r4173 Nick Mathewson2005-05-03
* New and frightening code to implement fast-path first-hop CREATE_FAST cells. ...•••svn:r4162 Nick Mathewson2005-05-02
* only complain about wedged cpuworkers after an hour, not 100 secs•••svn:r4100 Roger Dingledine2005-04-23
* If it has not been 100 seconds since we told the cpuworker about an onion, co...•••svn:r4059 Nick Mathewson2005-04-08
* add function comment•••svn:r4043 Roger Dingledine2005-04-07
* We have a bug that I can't find. Sometimes, very rarely, cpuworkers get•••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 Roger Dingledine2005-04-07
* fix an assert trigger: when we have the rare case of accepting•••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 Roger Dingledine2005-04-06
* Hopefully, this will make ORs much faster, and not break them: keep a big spl...•••svn:r4020 Nick Mathewson2005-04-06
* Make last fix work on windows too.•••svn:r4009 Nick Mathewson2005-04-04
* Fix possible bug on threading platforms with running out of fds do to cpuwork...•••svn:r4008 Nick Mathewson2005-04-04
* update copyright notices.•••svn:r3982 Nick Mathewson2005-04-01
* Change from inet_ntoa to a threadproof tor_inet_ntoa.•••svn:r3656 Nick Mathewson2005-02-22
* forward-port the shutting up•••svn:r3450 Roger Dingledine2005-01-28