aboutsummaryrefslogtreecommitdiff
path: root/src/or/connection.c
Commit message (Collapse)AuthorAge
...
* Do round-robin writes of at most 16 kB per write. This mightRoger Dingledine2005-10-29
| | | | | | | | be more fair on loaded Tor servers, and it might resolve our Windows crash bug. It might also slow things down. svn:r5332
* Remove last vestiges of old logging interface.Nick Mathewson2005-10-25
| | | | svn:r5317
* Convert circuituse, command, config, connection, relay, router, test to new ↵Nick Mathewson2005-10-25
| | | | | | logging interface svn:r5308
* Downgrade a few INFO level logs to DEBUG again. Also add two or three newPeter Palfrader2005-10-17
| | | | | | | | logs in cases where a calling function's log was downgraded and we wouldn't get any log message otherwise. svn:r5263
* start calling it *ListenAddress rather than *BindAddress,Roger Dingledine2005-10-17
| | | | | | | since none of our users know what it means to bind an address or port. svn:r5260
* Make a few INFO log lines into DEBUGPeter Palfrader2005-10-17
| | | | svn:r5257
* more log unclutteringRoger Dingledine2005-10-17
| | | | svn:r5254
* fix a malformed warning entryRoger Dingledine2005-10-07
| | | | svn:r5219
* Print address too when we say we cannot bind/listenPeter Palfrader2005-10-07
| | | | svn:r5213
* Using RAND_pseudo_bytes instead of RAND_bytes is an accident waiting to ↵Nick Mathewson2005-10-06
| | | | | | happen, and does not really speed us up much when we do it. So stop doing it. svn:r5210
* Downgrade too-frequent "nothing happened" message from info to debugNick Mathewson2005-10-05
| | | | svn:r5200
* and another leak.Nick Mathewson2005-09-30
| | | | svn:r5175
* by convention, addr is a uint32_t and address is a string.Roger Dingledine2005-09-30
| | | | | | | that's why we hadn't caught that leak. svn:r5174
* Fix a leak when launching listeners.Nick Mathewson2005-09-30
| | | | svn:r5173
* Reformat inconsistent function declarations.Nick Mathewson2005-09-30
| | | | svn:r5160
* Add a bunch more warnings to out warning suite; resolve them; pack structs a ↵Nick Mathewson2005-09-29
| | | | | | little better. svn:r5150
* Add new config.c function to set options that can fail, and roll back if ↵Nick Mathewson2005-09-14
| | | | | | they do. This should solve the setconf-an-impossible-port bug. svn:r5046
* be more thorough about noticing when a directory request has failed:Roger Dingledine2005-09-12
| | | | | | | | it has failed not only when the connection attempt fails, but also if the conn reaches eof before we get a response that we're happy with. svn:r5013
* Numerous changes to move towards client-side v2 directories.Nick Mathewson2005-09-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | connection.c: - Add some more connection accessor functions to make directory download redundancy checking work. directory.c, or.h, router.c, routerlist.c: - Start on logic to note when networkstatus downloads fail. dirserv.c, routerlist.c, routerparse.c: - Start maintaining an is_named field in routerstatus_t. Don't actually look at it yet. dirserv.c, routerlist.c: - Remove expired networkstatus objects. or.h: - Make some booleans into bitfields - Add prototypes routerlist.c: - Sort networkstatus list by publication time - Function to remove old (older than 10 days) networkstatus objects. - Function to set a list of routerinfo_ts' status info from the current set of networkstatus objects. - Function to tell which routerinfos we need to download based no the current set of networkstatus objects. - Do not launch a networkstatus download if a redundant one is in progress. routerparse.c: - Keep router entries in networkstatus sorted by digest. svn:r5012
* add conn->requested_resource to connection_t checks.Nick Mathewson2005-09-08
| | | | svn:r4951
* Only caches download network-status for now, and they use a different ↵Nick Mathewson2005-09-08
| | | | | | strategy. Add an element to connection_t to remember what we are downloading, and a function to recognize our own fingerprint. svn:r4944
* Make a new AssumeReachable config option that will publish anyway.Roger Dingledine2005-08-26
| | | | | | | | Also, let authdirservers start without setting their Address field. Something is still not working though. Will fix in morning. svn:r4839
* Also set event_mask=0 in connection_free_all, and dont send events to marked ↵Nick Mathewson2005-08-07
| | | | | | control conns (for good measure) svn:r4729
* incomplete patch for matt's info controller signal term bugRoger Dingledine2005-08-07
| | | | svn:r4728
* Fix idiot bug. The "free the IP history" code belons in ↵Nick Mathewson2005-08-04
| | | | | | connection_free_all(), not in connection_free(). You can all mock me now. svn:r4691
* Make clients regenerate their keys when their IP address changes.Nick Mathewson2005-08-03
| | | | svn:r4688
* Be consistent about preferring foo* to struct foo*Nick Mathewson2005-07-22
| | | | svn:r4637
* Initial, somewhat dodgy implementation of helper nodes. It has too many ↵Nick Mathewson2005-07-22
| | | | | | XXXXs, it logs too verbosely, and it doesnt do persistence. svn:r4633
* missed oneRoger Dingledine2005-07-14
| | | | svn:r4567
* tell us what kind of listener it is, tooRoger Dingledine2005-07-14
| | | | svn:r4566
* fix opening listener log msgNick Mathewson2005-07-14
| | | | svn:r4565
* Populate address field of listeners with an actually sane value.Nick Mathewson2005-07-14
| | | | svn:r4564
* trivial changes on nick's rendezvous commitRoger Dingledine2005-07-14
| | | | svn:r4553
* Macro-fu to get DEBUG events working.Nick Mathewson2005-07-13
| | | | svn:r4539
* Change retry_listeners: when force is false, close and re-open a minimal set ↵Nick Mathewson2005-07-11
| | | | | | of listeners (i.e., those that do not match the configuration). This fixes a possible bug on some windowses. Maybe. svn:r4528
* Start implementing framework for revised control spec.Nick Mathewson2005-06-17
| | | | svn:r4447
* Remove code that has been #if-0ed for a long time.Nick Mathewson2005-06-15
| | | | svn:r4435
* Docment or add DOCDOC comments to undocumented functions in src/or. Make ↵Nick Mathewson2005-06-11
| | | | | | function definition format uniform. svn:r4411
* move more docs into our codeRoger Dingledine2005-06-11
| | | | svn:r4406
* Change end-of-file NLNL convention. It turns out arma I and I agree.Nick Mathewson2005-06-09
| | | | svn:r4382
* pay more attention to the ClientOnly config optionRoger Dingledine2005-06-09
| | | | svn:r4367
* reenable the part of the code that tries to flush as soon as an OR outbufRoger Dingledine2005-06-08
| | | | | | | | has a full tls record available. perhaps this will make OR outbufs not grow as huge except in rare cases, thus saving lots of cpu time plus memory. svn:r4343
* i screwed up the dirport reachability testing when we don't yetRoger Dingledine2005-05-23
| | | | | | | have a cached version of the directory. hopefully now fixed. svn:r4284
* If a socks connection ends because read fails, don't warn that you'reRoger Dingledine2005-05-21
| | | | | | | not sending a socks reply back. (bug reported by Warren Barrow) svn:r4277
* add HttpProxyAuthenticator config option tooRoger Dingledine2005-05-20
| | | | svn:r4272
* doxygeny goodness from tyranixRoger Dingledine2005-05-17
| | | | svn:r4262
* Make Tor compile with no warnings with gcc4.0 on OSXNick Mathewson2005-05-07
| | | | svn:r4184
* first iteration of scrubbing sensitive strings from logs.Roger Dingledine2005-05-03
| | | | | | | also generally clean up log messages. svn:r4174
* Change buffer shrinking strategy: only try to shrink once every 3 minutes. ↵Nick Mathewson2005-05-02
| | | | | | Do not try to read over buffer size unless buffer is nearly empty. svn:r4165
* Re-do fragmented control message handling to work with new buf_t system.Nick Mathewson2005-04-27
| | | | svn:r4144