aboutsummaryrefslogtreecommitdiff
path: root/src/or/main.c
Commit message (Expand)AuthorAge
* Be a little more abstract about which connection type use buffereventsNick Mathewson2010-09-27
* Make a function to mark a connection and set hold_open_until_flushed.Nick Mathewson2010-09-27
* Allow hold-open-until-flushed logic to work for bufferevents.Nick Mathewson2010-09-27
* Refactor users of buf_datalen to bufferevent-friendly version.Nick Mathewson2010-09-27
* Teach read_event/write_event manipulators about bufferevents.•••Add an --enable-bufferevents config switch. Nick Mathewson2010-09-27
* Rename has_completed_circuit to can_complete_circuit•••Also redocument it. Related to #1362. Nick Mathewson2010-09-22
* Merge remote branch 'origin/maint-0.2.1'Nick Mathewson2010-09-08
|\
| * Remove a needless keep_open_until_flushedNick Mathewson2010-09-08
| * Close a non-open OR connection *only* after KeepalivePeriod.•••When we introduced the code to close non-open OR connections after KeepalivePeriod had passed, we replaced some code that said if (!connection_is_open(conn)) { /* let it keep handshaking forever */ } else if (do other tests here) { ... with new code that said if (!connection_is_open(conn) && past_keepalive) { /* let it keep handshaking forever */ } else if (do other tests here) { ... This was a mistake, since it made all the other tests start applying to non-open connections, thus causing bug 1840, where non-open connections get closed way early. Fixes bug 1840. Bugfix on 0.2.1.26 (commit 67b38d50). Nick Mathewson2010-09-03
* | Allow enabling or disabling *Statistics while Tor is running.•••With this patch we stop scheduling when we should write statistics using a single timestamp in run_scheduled_events(). Instead, we remember when a statistics interval starts separately for each statistic type in geoip.c and rephist.c. Every time run_scheduled_events() tries to write stats to disk, it learns when it should schedule the next such attempt. This patch also enables all statistics to be stopped and restarted at a later time. This patch comes with a few refactorings, some of which were not easily doable without the patch. Karsten Loesing2010-08-05
* | Create routerparse.hSebastian Hahn2010-07-27
* | Create rephist.hSebastian Hahn2010-07-27
* | Create relay.hSebastian Hahn2010-07-27
* | Create policies.hSebastian Hahn2010-07-27
* | Create onion.hSebastian Hahn2010-07-27
* | Create ntmain.hSebastian Hahn2010-07-27
* | Create networkstatus.hSebastian Hahn2010-07-27
* | Create microdesc.hSebastian Hahn2010-07-27
* | Create main.hSebastian Hahn2010-07-27
* | Create hibernate.hSebastian Hahn2010-07-27
* | Create dns.hSebastian Hahn2010-07-27
* | Create dirvote.hSebastian Hahn2010-07-27
* | Create dirserv.hSebastian Hahn2010-07-27
* | Create directory.hSebastian Hahn2010-07-27
* | Create cpuworker.hSebastian Hahn2010-07-27
* | Create control.hSebastian Hahn2010-07-27
* | Create connection_or.hSebastian Hahn2010-07-27
* | Create connection_edge.hSebastian Hahn2010-07-27
* | Create connection.hSebastian Hahn2010-07-27
* | Create config.hSebastian Hahn2010-07-27
* | Create command.hSebastian Hahn2010-07-27
* | Create circuituse.hSebastian Hahn2010-07-27
* | Create circuitlist.hSebastian Hahn2010-07-27
* | Create circuitbuild.hSebastian Hahn2010-07-27
* | Create buffers.hSebastian Hahn2010-07-27
* | Create rendservice.hSebastian Hahn2010-07-27
* | Create rendclient.hSebastian Hahn2010-07-27
* | Create rendcommon.hSebastian Hahn2010-07-27
* | Create routerlist.hSebastian Hahn2010-07-27
* | Create router.hSebastian Hahn2010-07-27
* | Create geoip.hSebastian Hahn2010-07-27
* | Split headers for dnsserv.c functions out of or.h•••The next series of commits begins addressing the issue that we're currently including the complete or.h file in all of our source files. To change that, we're splitting function definitions into new header files (one header file per source file). Sebastian Hahn2010-07-27
* | Use Libevent 2.0's periodic timers where available.•••These timers behave better with non-monotonic clocks than our old ones, and also try harder to make once-per-second events get called one second apart, rather than one-plus-epsilon seconds apart. This fixes bug 943 for everybody using Libevent 2.0 or later. Nick Mathewson2010-06-25
* | moved wince related includes and defs to compat.h where possible, removed unu...valerino2010-05-24
* | Port Tor to work on Windows CE•••Most of the changes here are switches to use APIs available on Windows CE. The most pervasive change is that Windows CE only provides the wide-character ("FooW") variants of most of the windows function, and doesn't support the older ASCII verions at all. This patch will require use of the wcecompat library to get working versions of the posix-style fd-based file IO functions. [commit message by nickm] valerino2010-05-24
* | Merge branch 'maint-0.2.1'Roger Dingledine2010-04-23
|\|
| * close idle tls conns earlyRoger Dingledine2010-04-23
* | Merge branch 'maint-0.2.1'Roger Dingledine2010-04-23
|\|
| * finally get rid of "clique mode"Roger Dingledine2010-04-23
| * close idle dir-fetch circs earlyRoger Dingledine2010-04-23