aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2006-07-30fix assert found by DreadWingKnight: now that rendezvous streamsRoger Dingledine
are attached to p_streams, the p_streams list can consist of both AP and EXIT conns. svn:r6945
2006-07-30defense in depthRoger Dingledine
svn:r6939
2006-07-30a bit more debugging for phobosRoger Dingledine
svn:r6937
2006-07-28 r6950@Kushana: nickm | 2006-07-28 10:32:08 -0400Nick Mathewson
Document split fields better. Now, I think we can take a break from type splitting for a bit. svn:r6935
2006-07-28 r6949@Kushana: nickm | 2006-07-28 10:17:38 -0400Nick Mathewson
Shave another 8 bytes from connection_t: turn inbuf_reached_eof into a bit, and lower timestamp_lastempty to or_connection_t svn:r6934
2006-07-28 r6948@Kushana: nickm | 2006-07-28 10:10:35 -0400Nick Mathewson
Identify some likely target fields for lowering; lower global_identifier (since we only use it for AP streams and origin circs). svn:r6933
2006-07-27resolve typoRoger Dingledine
svn:r6927
2006-07-27More asserts in dns.c Nick Mathewson
svn:r6926
2006-07-27Fix a bug in HT_REMOVE.Nick Mathewson
svn:r6925
2006-07-27Get better numbers out of HT_REP_OKNick Mathewson
svn:r6924
2006-07-27Add more asserts in dns_found_answer. This may confirm my theory that ↵Nick Mathewson
dns_purge_resolve is the culprit. svn:r6922
2006-07-27 r6922@Kushana: nickm | 2006-07-26 16:32:24 -0400Nick Mathewson
Rename some fields, compress a bitfield, and document some structs and fields svn:r6919
2006-07-27Fix comments that implied that only dir connections had a purpose field, and ↵Nick Mathewson
the code that believed in those comments. svn:r6918
2006-07-26 r6918@Kushana: nickm | 2006-07-26 15:22:28 -0400Nick Mathewson
Fix compilation for eventdns dns.c with split structs. svn:r6908
2006-07-26 r6909@Kushana: nickm | 2006-07-26 13:05:58 -0400Nick Mathewson
Clean up wide lines from last patch. svn:r6907
2006-07-26 r6908@Kushana: nickm | 2006-07-26 12:38:52 -0400Nick Mathewson
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
2006-07-26 r6907@Kushana: nickm | 2006-07-25 19:03:43 -0400Nick Mathewson
Realign circuit structs to avoid wasted space. svn:r6905
2006-07-26 r6903@Kushana: nickm | 2006-07-25 18:22:48 -0400Nick Mathewson
No circuit can be both an intro point and a rend point, so we can merge both the cookie and the pk digest into one "rend_token" field for or circuits. This saves another 20 bytes per or circuit. svn:r6904
2006-07-26 r6902@Kushana: nickm | 2006-07-25 17:30:27 -0400Nick Mathewson
Move rend_query to origin_circuit_t where it belongs; save another 17 bytes per OR circuit. svn:r6903
2006-07-25Remove code to special-case "-cvs" ending, since it has not actually ↵Nick Mathewson
mattered since 0.0.9. Perhaps we can special-case even more... svn:r6898
2006-07-25Remove .cvsignore files from trunkPeter Palfrader
svn:r6891
2006-07-23publish a new descriptor after we hup. this is important if ourRoger Dingledine
config has changed such that we'll want to start advertising our dirport now, etc. svn:r6819
2006-07-23Fix another segfault in assert_circuit_ok.Nick Mathewson
svn:r6818
2006-07-23Don't tell anybody, but we're going OO here. This patch splitsNick Mathewson
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
2006-07-23Whitespace fixNick Mathewson
svn:r6816
2006-07-23rewrite conn->address for GET commands as well as POST commands.Roger Dingledine
svn:r6815
2006-07-23use tor_mem_is_zero() in more places.Roger Dingledine
svn:r6814
2006-07-23Delete trailing whitespace in eventdns.cNick Mathewson
svn:r6813
2006-07-23Add (void) lines for unused parameters in eventdns.cNick Mathewson
svn:r6812
2006-07-23Remove STRUCT_OFFSET from config.cNick Mathewson
svn:r6811
2006-07-23Add a mem_is_zero function (I think we will need this) and a STRUCT_OFFSET ↵Nick Mathewson
macro (we already need this). svn:r6810
2006-07-23whitespace and docsRoger Dingledine
svn:r6808
2006-07-22think harder about my logicRoger Dingledine
svn:r6806
2006-07-22i lied, that won't work at all. maybe this will.Roger Dingledine
svn:r6805
2006-07-22more bulletproof reachability testingRoger Dingledine
svn:r6804
2006-07-21These asserts will either cause spurious crashes or help debug the ↵Nick Mathewson
pend->conn->s == -1 issue. svn:r6803
2006-07-21Another MSVC6 fix. Grnk.Nick Mathewson
svn:r6802
2006-07-21bugfix: if you find yourself reachable, then don't ever make any clientRoger Dingledine
requests (so you stop predicting circuits), then hup, then later your IP changes, you won't think circuits are working so you won't try to test reachability, so you won't publish. svn:r6800
2006-07-21tweakRoger Dingledine
svn:r6799
2006-07-21an entry guard that is "unlisted", as well as not known to be "down", isRoger Dingledine
not therefore "up". svn:r6798
2006-07-20tweakRoger Dingledine
svn:r6796
2006-07-20tweakRoger Dingledine
svn:r6795
2006-07-18don't squeal if the first few retries fail.Roger Dingledine
svn:r6791
2006-07-18Define a schedule for how long to wait between retryingRoger Dingledine
application connections. Rather than waiting a fixed amount of time between each retry, we wait only 5 seconds for the first, 10 seconds for the second, and 15 seconds for each retry after that. Hopefully this will improve the expected experience. Addresses bug 297. svn:r6790
2006-07-18when we find our dirport to be reachable, mark our descriptorRoger Dingledine
dirty so we'll tell the world. (fixes bug 306 reported by pnx) svn:r6787
2006-07-18Start publishing one minute or so after we find our ORPortRoger Dingledine
to be reachable. This will help reduce the number of descriptors we have for ourselves floating around, since it's quite likely other things (e.g. DirPort) will change during that minute too. svn:r6786
2006-07-18Oh. And apparently, msvc6 doesnt think very much of doing u64-and-double ↵Nick Mathewson
arithmetic either. svn:r6785
2006-07-18Hm. We probably should define INT64_MAX if we really want it. (Especially ↵Nick Mathewson
since we only want it on one platform, where, coincidentally, it is not defined.) svn:r6784
2006-07-18If we are using an exit enclave and we can't connect, e.g. becauseRoger Dingledine
its webserver is misconfigured to not listen on localhost, then back off and try connecting from somewhere else before we fail. svn:r6783
2006-07-18pick a log domain; resolve an xxxxRoger Dingledine
svn:r6782