aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* r6979@Kushana: nickm | 2006-07-31 13:16:58 -0400Nick Mathewson2006-07-31
| | | | | | | Add assert_ok functions for strmap and digestmap; use them in unit test code. svn:r6958
* r6978@Kushana: nickm | 2006-07-31 13:16:14 -0400Nick Mathewson2006-07-31
| | | | | | | Add isupper and islower wrappers to compat.h svn:r6957
* r6977@Kushana: nickm | 2006-07-31 13:01:28 -0400Nick Mathewson2006-07-31
| | | | | | | Solve timing-out pending connections. Add pending resolves to expiry queue; when we find an answer, change the pending resolve to "done" and stick the actual answer in the expiry queue as a new entry. This uses a little more memory, but makes the code simpler than other solutions. svn:r6956
* svn:r6955Nick Mathewson2006-07-31
|
* r6959@Kushana: nickm | 2006-07-29 22:33:18 -0400Nick Mathewson2006-07-31
| | | | | | | start restructuring dns to use priority queues for expiring entries. svn:r6954
* r6958@Kushana: nickm | 2006-07-29 18:54:15 -0400Nick Mathewson2006-07-31
| | | | | | | Looks like we might need a priority queue. svn:r6953
* r6952@Kushana: nickm | 2006-07-28 11:09:37 -0400Nick Mathewson2006-07-31
| | | | | | | Add completely untested find-my-nameservers code for win32. svn:r6952
* fix assert found by DreadWingKnight: now that rendezvous streamsRoger Dingledine2006-07-30
| | | | | | | | are attached to p_streams, the p_streams list can consist of both AP and EXIT conns. svn:r6945
* defense in depthRoger Dingledine2006-07-30
| | | | svn:r6939
* a bit more debugging for phobosRoger Dingledine2006-07-30
| | | | svn:r6937
* r6950@Kushana: nickm | 2006-07-28 10:32:08 -0400Nick Mathewson2006-07-28
| | | | | | | Document split fields better. Now, I think we can take a break from type splitting for a bit. svn:r6935
* r6949@Kushana: nickm | 2006-07-28 10:17:38 -0400Nick Mathewson2006-07-28
| | | | | | | Shave another 8 bytes from connection_t: turn inbuf_reached_eof into a bit, and lower timestamp_lastempty to or_connection_t svn:r6934
* r6948@Kushana: nickm | 2006-07-28 10:10:35 -0400Nick Mathewson2006-07-28
| | | | | | | Identify some likely target fields for lowering; lower global_identifier (since we only use it for AP streams and origin circs). svn:r6933
* resolve typoRoger Dingledine2006-07-27
| | | | svn:r6927
* More asserts in dns.c Nick Mathewson2006-07-27
| | | | svn:r6926
* Fix a bug in HT_REMOVE.Nick Mathewson2006-07-27
| | | | svn:r6925
* Get better numbers out of HT_REP_OKNick Mathewson2006-07-27
| | | | svn:r6924
* Add more asserts in dns_found_answer. This may confirm my theory that ↵Nick Mathewson2006-07-27
| | | | | | dns_purge_resolve is the culprit. svn:r6922
* r6922@Kushana: nickm | 2006-07-26 16:32:24 -0400Nick Mathewson2006-07-27
| | | | | | | Rename some fields, compress a bitfield, and document some structs and fields svn:r6919
* Fix comments that implied that only dir connections had a purpose field, and ↵Nick Mathewson2006-07-27
| | | | | | the code that believed in those comments. svn:r6918
* r6918@Kushana: nickm | 2006-07-26 15:22:28 -0400Nick Mathewson2006-07-26
| | | | | | | Fix compilation for eventdns dns.c with split structs. svn:r6908
* r6909@Kushana: nickm | 2006-07-26 13:05:58 -0400Nick Mathewson2006-07-26
| | | | | | | Clean up wide lines from last patch. svn:r6907
* r6908@Kushana: nickm | 2006-07-26 12:38:52 -0400Nick Mathewson2006-07-26
| | | | | | | 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
* r6907@Kushana: nickm | 2006-07-25 19:03:43 -0400Nick Mathewson2006-07-26
| | | | | | | Realign circuit structs to avoid wasted space. svn:r6905
* r6903@Kushana: nickm | 2006-07-25 18:22:48 -0400Nick Mathewson2006-07-26
| | | | | | | 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
* r6902@Kushana: nickm | 2006-07-25 17:30:27 -0400Nick Mathewson2006-07-26
| | | | | | | Move rend_query to origin_circuit_t where it belongs; save another 17 bytes per OR circuit. svn:r6903
* Remove code to special-case "-cvs" ending, since it has not actually ↵Nick Mathewson2006-07-25
| | | | | | mattered since 0.0.9. Perhaps we can special-case even more... svn:r6898
* Remove .cvsignore files from trunkPeter Palfrader2006-07-25
| | | | svn:r6891
* publish a new descriptor after we hup. this is important if ourRoger Dingledine2006-07-23
| | | | | | | | config has changed such that we'll want to start advertising our dirport now, etc. svn:r6819
* Fix another segfault in assert_circuit_ok.Nick Mathewson2006-07-23
| | | | svn:r6818
* Don't tell anybody, but we're going OO here. This patch splitsNick Mathewson2006-07-23
| | | | | | | | | | | | | | | 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
* Whitespace fixNick Mathewson2006-07-23
| | | | svn:r6816
* rewrite conn->address for GET commands as well as POST commands.Roger Dingledine2006-07-23
| | | | svn:r6815
* use tor_mem_is_zero() in more places.Roger Dingledine2006-07-23
| | | | svn:r6814
* Delete trailing whitespace in eventdns.cNick Mathewson2006-07-23
| | | | svn:r6813
* Add (void) lines for unused parameters in eventdns.cNick Mathewson2006-07-23
| | | | svn:r6812
* Remove STRUCT_OFFSET from config.cNick Mathewson2006-07-23
| | | | svn:r6811
* Add a mem_is_zero function (I think we will need this) and a STRUCT_OFFSET ↵Nick Mathewson2006-07-23
| | | | | | macro (we already need this). svn:r6810
* whitespace and docsRoger Dingledine2006-07-23
| | | | svn:r6808
* think harder about my logicRoger Dingledine2006-07-22
| | | | svn:r6806
* i lied, that won't work at all. maybe this will.Roger Dingledine2006-07-22
| | | | svn:r6805
* more bulletproof reachability testingRoger Dingledine2006-07-22
| | | | svn:r6804
* These asserts will either cause spurious crashes or help debug the ↵Nick Mathewson2006-07-21
| | | | | | pend->conn->s == -1 issue. svn:r6803
* Another MSVC6 fix. Grnk.Nick Mathewson2006-07-21
| | | | svn:r6802
* bugfix: if you find yourself reachable, then don't ever make any clientRoger Dingledine2006-07-21
| | | | | | | | | 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
* tweakRoger Dingledine2006-07-21
| | | | svn:r6799
* an entry guard that is "unlisted", as well as not known to be "down", isRoger Dingledine2006-07-21
| | | | | | | not therefore "up". svn:r6798
* tweakRoger Dingledine2006-07-20
| | | | svn:r6796
* tweakRoger Dingledine2006-07-20
| | | | svn:r6795
* don't squeal if the first few retries fail.Roger Dingledine2006-07-18
| | | | svn:r6791