aboutsummaryrefslogtreecommitdiff
path: root/src/or/connection.h
Commit message (Collapse)AuthorAge
* Use connection_mark_and_flush consistently.Nick Mathewson2010-10-13
|
* New function to grab a directory connection fetching a resourceNick Mathewson2010-09-27
| | | | | We need this to tell if a given consensus flavor is being downloaded or not.
* Convert bufferevents to use rate-limiting.Nick Mathewson2010-09-27
| | | | | | | | | | | This requires the latest Git version of Libevent as of 24 March 2010. In the future, we'll just say it requires Libevent 2.0.5-alpha or later. Since Libevent doesn't yet support hierarchical rate limit groups, there isn't yet support for tracking relayed-bytes separately when using the bufferevent system. If a future version does add support for hierarchical buckets, we can add that back in.
* Get SSL connections and linked connections working with bufferevents.Nick Mathewson2010-09-27
| | | | | Clients are now verified to work and build circuits correctly. There are still a few warnings given here and there that I need to look into.
* Add support for linked connections with bufferevent_pair.Nick Mathewson2010-09-27
| | | | | | Also, set directory connections (linked and otherwise) to use bufferevents. Also, stop using outbuf_flushlen anywhere except for OR connections.
* Fix more remaining users of inbuf/outbuf to handle bufferevents instead.Nick Mathewson2010-09-27
|
* 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
|
* Basic bufferevent callbacksNick Mathewson2010-09-27
| | | | | | These are based strongly on connection_handle_read and connection_handle_write, but hopefully without so much mixture of IO logic and Tor logic.
* Add a new connection_fetch_from_buf_line() that can handle buffereventsNick Mathewson2010-09-27
|
* Refactor users of buf_datalen to bufferevent-friendly version.Nick Mathewson2010-09-27
|
* Create connection.hSebastian Hahn2010-07-27