aboutsummaryrefslogtreecommitdiff
path: root/src/or/connection.c
Commit message (Expand)AuthorAge
* reenable the part of the code that tries to flush as soon as an OR outbuf•••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 Roger Dingledine2005-06-08
* i screwed up the dirport reachability testing when we don't yet•••have a cached version of the directory. hopefully now fixed. svn:r4284 Roger Dingledine2005-05-23
* If a socks connection ends because read fails, don't warn that you're•••not sending a socks reply back. (bug reported by Warren Barrow) svn:r4277 Roger Dingledine2005-05-21
* add HttpProxyAuthenticator config option too•••svn:r4272 Roger Dingledine2005-05-20
* doxygeny goodness from tyranix•••svn:r4262 Roger Dingledine2005-05-17
* Make Tor compile with no warnings with gcc4.0 on OSX•••svn:r4184 Nick Mathewson2005-05-07
* first iteration of scrubbing sensitive strings from logs.•••also generally clean up log messages. svn:r4174 Roger Dingledine2005-05-03
* Change buffer shrinking strategy: only try to shrink once every 3 minutes. D...•••svn:r4165 Nick Mathewson2005-05-02
* Re-do fragmented control message handling to work with new buf_t system.•••svn:r4144 Nick Mathewson2005-04-27
* Clean/renormalize whitespace•••svn:r4122 Nick Mathewson2005-04-26
* clean up this TOR_FRAGILE business•••svn:r4116 Roger Dingledine2005-04-26
* Add kludgy function to force controllers to flush EVENT_ERR_MSG events.•••svn:r4057 Nick Mathewson2005-04-08
* Move a quote, fix a log.•••svn:r4056 Nick Mathewson2005-04-08
* fix format bug•••svn:r4051 Roger Dingledine2005-04-07
* Improve conn_*_to_string; add circuit_state_to_string; make skewed-descriptor...•••svn:r4047 Nick Mathewson2005-04-07
* Change conn_(type|state)_to_string from const arrays to switch functions so w...•••svn:r4045 Nick Mathewson2005-04-07
* oh, and accept() into the right place, too.•••svn:r4029 Roger Dingledine2005-04-06
* Forward-port the checking of•••sin_addr.s_addr == 0 || sin->sin_port == 0. This just happened on moria2, so I guess it happens rarely on Linux as well as OS X. We can't afford to accept OR conns from 0.0.0.0:0, since we send created cells back to the first addr:port that matches, and we'd better not send them to the wrong place. So, let's drop them all for now, and see if we can find a pattern later. svn:r4028 Roger Dingledine2005-04-06
* fix an assert trigger: when we have the rare case of accepting•••a conn on 0.0.0.0:0, then when we look through the connection array, we'll find any of the workers. this is no good. svn:r4027 Roger Dingledine2005-04-06
* Rename circuit_get_by_stream to circuit_get_by_edge_conn, and actually start ...•••svn:r4026 Nick Mathewson2005-04-06
* update conn-type-state-strings to handle https states for ORs•••svn:r4018 Roger Dingledine2005-04-06
* Fix Tor for no-threading compilation: move connection_unregister from _connec...•••svn:r4013 Nick Mathewson2005-04-06
* Move most of *_mark_for_close out of macros.•••svn:r3992 Nick Mathewson2005-04-03
* update copyright notices.•••svn:r3982 Nick Mathewson2005-04-01
* redo the state descriptors now that we have a controller-wait state•••svn:r3934 Roger Dingledine2005-03-31
* stop most cases of hanging up on a socks connection without sending•••the socks reject. audit for remaining ones. also make things more uniform so we always remember to hold-open-until-flushed, etc. svn:r3891 Roger Dingledine2005-03-27
* make it clearer to the human that his server is testing•••its reachability. tell him when it succeeds, or when 20 minutes pass and it hasn't succeeded yet. svn:r3882 Roger Dingledine2005-03-26
* fix another case where we need to send a socks reply (reject)•••back before we close the conn. svn:r3876 Roger Dingledine2005-03-25
* don't mark a router down just because your httpsproxy is unreachable•••svn:r3874 Roger Dingledine2005-03-25
* Note where connection that hasnt sent end was marked.•••svn:r3872 Nick Mathewson2005-03-25
* REUSEADDR on normal places means you can rebind to the port•••right after somebody else has let it go. But REUSEADDR on win32 means to let you bind to the port _even when somebody else already has it bound_. So, don't do that on Win32. svn:r3867 Roger Dingledine2005-03-24
* fix an assert -- we're not allowed to write onto a conn after we've•••connection_unregistered it. there's still more work to be done here, since we need to make sure to send back the socks-reply as soon as we know what it will be -- we can't just wait until connection-about-to-close to deal with it. svn:r3847 Roger Dingledine2005-03-23
* fix an over-eager assert, to make httpsproxy get a little farther•••svn:r3846 Roger Dingledine2005-03-23
* forward-port the commenting out of the assert that glenn fink was•••triggering. we still don't know why he was triggering it. svn:r3841 Roger Dingledine2005-03-23
* fix assert triggers (bugs 109 and 96), and put in some•••debugging logs to notice future repeat bugs. svn:r3826 Roger Dingledine2005-03-23
* make httpsproxy more likely to work•••(don't let OR conns do tls until they've finished connecting and doing the proxy dance.) svn:r3824 Roger Dingledine2005-03-22
* Commit fixes for several pending tor core tasks: document all DOCDOCed functi...•••svn:r3769 Nick Mathewson2005-03-17
* Renormalize whitespace•••svn:r3757 Nick Mathewson2005-03-14
* Implement the common case of ATTACHSTREAM.•••svn:r3751 Nick Mathewson2005-03-12
* Revise all calls to connection_edge_end to avoid sending MISC, and to take er...•••svn:r3720 Nick Mathewson2005-03-01
* Forward-port new reasons; clean up code more; add code to convert new reasons...•••svn:r3719 Nick Mathewson2005-03-01
* make control interface stream IDs monotonically increasing to prevent possibl...•••svn:r3715 Nick Mathewson2005-03-01
* Try a little harder to avoid openssl SSL* double-free reports.•••svn:r3710 Nick Mathewson2005-02-28
* Check returns from libevent calls better; stop poking at internals of events ...•••svn:r3691 Nick Mathewson2005-02-25
* Insert missing ! in assert_connection_ok; test was accidentally reversed in r...•••svn:r3685 Nick Mathewson2005-02-24
* Clarify comment. Use CONN_IS_EDGE more. Try to be more zealous about calling ...•••svn:r3671 Nick Mathewson2005-02-23
* Change from inet_ntoa to a threadproof tor_inet_ntoa.•••svn:r3656 Nick Mathewson2005-02-22
* After we successfully connect, try handling pending stuff immediately, rather...•••svn:r3647 Nick Mathewson2005-02-22
* forward-port some fixes•••svn:r3631 Roger Dingledine2005-02-17
* when a client asks us for a dir mirror and we don't have one,•••launch an attempt to get a fresh one. svn:r3609 Roger Dingledine2005-02-10