aboutsummaryrefslogtreecommitdiff
path: root/src/or/cpuworker.c
Commit message (Expand)AuthorAge
* Create onion.hSebastian Hahn2010-07-27
* Create main.hSebastian Hahn2010-07-27
* Create control.hSebastian Hahn2010-07-27
* Create connection.hSebastian Hahn2010-07-27
* Create config.hSebastian Hahn2010-07-27
* Create circuitlist.hSebastian Hahn2010-07-27
* Create circuitbuild.hSebastian Hahn2010-07-27
* Create buffers.hSebastian Hahn2010-07-27
* Create router.hSebastian Hahn2010-07-27
* Update Tor Project copyright yearsNick Mathewson2010-02-27
* Don't leak memory if we get too many create cells•••Specifically, every time we get a create cell but we have so many already queued that we refuse it. Bugfix on 0.2.0.19-alpha; fixes bug 1034. Reported by BarkerJr. Roger Dingledine2009-07-27
* Update copyright to 2009.Karsten Loesing2009-05-04
* Add and use set/get_uint64 on onion tags. [bug 604; backportable]•••It seems that 64-bit Sparc Solaris demands 64-bit-aligned access to uint64_t, but does not 64-bit-align the stack-allocated char array we use for cpuworker tags. So this patch adds a set/get_uint64 pair, and uses them to access the conn_id field in the tag. svn:r18743 Nick Mathewson2009-03-02
* When a relay gets a create cell it can't decrypt (e.g. because it's•••using the wrong onion key), we were dropping it and letting the client time out. Now actually answer with a destroy cell. Bugfix on 0.0.2pre8. svn:r17970 Roger Dingledine2009-01-06
* Remove svn $Id$s from our source, and remove tor --version --version.•••The subversion $Id$ fields made every commit force a rebuild of whatever file got committed. They were not actually useful for telling the version of Tor files in the wild. svn:r17867 Nick Mathewson2009-01-04
* Switch global_identifier on connections to a 64-bit field and move it to conn...•••svn:r16558 Nick Mathewson2008-08-15
* r17641@31-33-44: nickm | 2008-08-05 16:07:53 -0400••• Initial conversion of uint32_t addr to tor_addr_t addr in connection_t and related types. Most of the Tor wire formats using these new types are in, but the code to generate and use it is not. This is a big patch. Let me know what it breaks for you. svn:r16435 Nick Mathewson2008-08-05
* r17322@aud-055: nickm | 2008-07-23 16:50:50 +0200••• Make circid_t and streamid_t get used instead of uint16_t; it is possible we will soon want to make circid_t change to uint32_t. svn:r16155 Nick Mathewson2008-07-23
* r14399@tombo: nickm | 2008-02-22 14:09:38 -0500••• More 64-to-32 fixes. Partial backport candidate. still not done. svn:r13680 Nick Mathewson2008-02-22
* Update some copyright notices: it is now 2008.•••svn:r13412 Nick Mathewson2008-02-07
* r17947@catbus: nickm | 2008-02-06 11:57:53 -0500••• Fix a bunch of DOCDOC items; document the --quiet flag; refactor a couple of XXXX020 items. svn:r13405 Nick Mathewson2008-02-06
* r17930@catbus: nickm | 2008-02-05 18:20:40 -0500••• Initial attempts to track down bug 600, and refactor possibly offending code. 1) complain early if circuit state is set to OPEN when an onionskin is pending. 2) refactor onionskin field into one only used when n_conn is pending, and a separate onionskin field waiting for attention by a cpuworker. This might even fix the bug. More likely, it will make it fail with a more useful core. svn:r13394 Nick Mathewson2008-02-05
* clean up copyrights, and assign 2007 copyrights to The Tor Project, Inc•••svn:r12786 Roger Dingledine2007-12-12
* 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