summaryrefslogtreecommitdiff
path: root/src/or/connection.h
AgeCommit message (Collapse)Author
2011-01-03Merge remote branch 'origin/maint-0.2.2'Nick Mathewson
2011-01-03Bump copyright statements to 2011 (0.2.2)Nick Mathewson
2010-10-13Use connection_mark_and_flush consistently.Nick Mathewson
2010-09-27New function to grab a directory connection fetching a resourceNick Mathewson
We need this to tell if a given consensus flavor is being downloaded or not.
2010-09-27Convert bufferevents to use rate-limiting.Nick Mathewson
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.
2010-09-27Get SSL connections and linked connections working with bufferevents.Nick Mathewson
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.
2010-09-27Add support for linked connections with bufferevent_pair.Nick Mathewson
Also, set directory connections (linked and otherwise) to use bufferevents. Also, stop using outbuf_flushlen anywhere except for OR connections.
2010-09-27Fix more remaining users of inbuf/outbuf to handle bufferevents instead.Nick Mathewson
2010-09-27Be a little more abstract about which connection type use buffereventsNick Mathewson
2010-09-27Make a function to mark a connection and set hold_open_until_flushed.Nick Mathewson
2010-09-27Basic bufferevent callbacksNick Mathewson
These are based strongly on connection_handle_read and connection_handle_write, but hopefully without so much mixture of IO logic and Tor logic.
2010-09-27Add a new connection_fetch_from_buf_line() that can handle buffereventsNick Mathewson
2010-09-27Refactor users of buf_datalen to bufferevent-friendly version.Nick Mathewson
2010-07-27Create connection.hSebastian Hahn