Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-06-20 | Run rectify_include_paths.py | Nick Mathewson | |
2018-06-20 | Update copyrights to 2018. | Nick Mathewson | |
2018-06-15 | Extract connection_t into its own header. | Nick Mathewson | |
Now the entire connection_t hierarchy is extracted from or.h | |||
2018-06-15 | Split listener_connection_t into its own header | Nick Mathewson | |
For once, it's a type that is used almost nowhere else besides the logical place. | |||
2018-06-15 | Split dir_connection_t into its own header | Nick Mathewson | |
2018-05-08 | Make clock_skew_warning() mockable | Taylor Yu | |
2018-04-17 | Rename connection_bucket_refill to connection_bucket_refill_all | Nick Mathewson | |
Also document its actual behavior | |||
2018-04-17 | Refactor the "block the connection on bandwidth" logic | Nick Mathewson | |
Right now, this patch just introduces and exposes some new functions. Later, these functions will get a little more complexity. | |||
2018-04-13 | Ensure that global buckets are updated on configuration change | Nick Mathewson | |
2018-04-13 | Replace the global buckets with token_bucket_t | Nick Mathewson | |
2018-04-13 | Refactor or_connection token buckets to use token_bucket_t | Nick Mathewson | |
2018-04-10 | Remove TestingEnableTbEmptyEvent | Nick Mathewson | |
This option was used for shadow testing previously, but is no longer used for anything. It interferes with refactoring our token buckets. | |||
2017-12-08 | Fix wide lines introduced by previous patch. | Nick Mathewson | |
2017-12-08 | Replace all FREE_AND_NULL* uses to take a type and a free function. | Nick Mathewson | |
This commit was made mechanically by this perl script: \#!/usr/bin/perl -w -i -p next if /^#define FREE_AND_NULL/; s/\bFREE_AND_NULL\((\w+),/FREE_AND_NULL\(${1}_t, ${1}_free_,/; s/\bFREE_AND_NULL_UNMATCHED\(/FREE_AND_NULL\(/; | |||
2017-12-08 | Convert connection_free to a nulling macro. | Nick Mathewson | |
2017-12-08 | Rename connection_free_ to connection_free_minimal. | Nick Mathewson | |
2017-11-14 | Remove remove_file_if_very_old() -- nothing calls it. | Nick Mathewson | |
2017-11-02 | Merge branch 'buf_for_stringbuffer_squashed' | Nick Mathewson | |
2017-11-02 | Refactor connection_write_to_buf_impl_(); add one that takes a buf_t | Nick Mathewson | |
2017-10-18 | Expose connection_init_accepted_conn. | Nick Mathewson | |
2017-09-15 | Run our #else/#endif annotator on our source code. | Nick Mathewson | |
2017-09-08 | Merge remote-tracking branch 'dgoulet/ticket23355_032_01' | Nick Mathewson | |
2017-09-05 | Repair buffer API so everything starts with buf_. | Nick Mathewson | |
Our convention is that functions which manipulate a type T should be named T_foo. But the buffer functions were super old, and followed all kinds of conventions. Now they're uniform. Here's the perl I used to do this: \#!/usr/bin/perl -w -i -p s/read_to_buf\(/buf_read_from_socket\(/; s/flush_buf\(/buf_flush_to_socket\(/; s/read_to_buf_tls\(/buf_read_from_tls\(/; s/flush_buf_tls\(/buf_flush_to_tls\(/; s/write_to_buf\(/buf_add\(/; s/write_to_buf_compress\(/buf_add_compress\(/; s/move_buf_to_buf\(/buf_move_to_buf\(/; s/peek_from_buf\(/buf_peek\(/; s/fetch_from_buf\(/buf_get_bytes\(/; s/fetch_from_buf_line\(/buf_get_line\(/; s/fetch_from_buf_line\(/buf_get_line\(/; s/buf_remove_from_front\(/buf_drain\(/; s/peek_buf_startswith\(/buf_peek_startswith\(/; s/assert_buf_ok\(/buf_assert_ok\(/; | |||
2017-08-30 | prop224: Purge client state on NEWNYM | David Goulet | |
Closes #23355 Signed-off-by: David Goulet <dgoulet@torproject.org> | |||
2017-08-24 | conn: Add a function to return a list of connection by state | David Goulet | |
This will be useful to the hidden service subsystem that needs to go over all connections of a certain state to attach them to a hidden service circuit. Signed-off-by: David Goulet <dgoulet@torproject.org> | |||
2017-04-18 | Rename `write_to_buf_zlib()` to `write_to_buf_compress()`. | Alexander Færøy | |
See https://bugs.torproject.org/21663 | |||
2017-03-15 | Run the copyright update script. | Nick Mathewson | |
2016-08-20 | Add connection_is_moribund() inline | Andrea Shepard | |
2016-08-20 | s/connection_handle_oos/connection_check_oos/g per code review | Andrea Shepard | |
2016-08-20 | Unit test for kill_conn_list_for_oos() | Andrea Shepard | |
2016-08-20 | Unit test for connection_handle_oos() | Andrea Shepard | |
2016-08-20 | Stub out connection_handle_oos() and call it from places we can change the ↵ | Andrea Shepard | |
socket count or thresholds | |||
2016-08-12 | Merge remote-tracking branch 'public/Fix_19450' | Nick Mathewson | |
2016-08-02 | Search for remaining references to 'bufferevent'. | Nick Mathewson | |
Remove or adjust as appropriate. | |||
2016-08-02 | Bufferevent removal: remove HAS_BUFFEREVENT macros and usage | Nick Mathewson | |
This is another way that we had bufferevents-only code marked. | |||
2016-07-28 | Fix all -Wshadow warnings on Linux | Nick Mathewson | |
This is a partial fix for 18902. | |||
2016-07-14 | Remove bufferevents dead code | U+039b | |
Signed-off-by: U+039b <*@0x39b.fr> | |||
2016-05-09 | remove some more unused code | Roger Dingledine | |
2016-02-27 | Update the copyright year. | Nick Mathewson | |
2016-01-29 | Choose directory servers by IPv4/IPv6 preferences | teor (Tim Wilson-Brown) | |
Add unit tests, refactor pick_directory functions. | |||
2015-12-15 | Fix a few compilation warnings and errors | Nick Mathewson | |
2015-12-15 | Merge remote-tracking branch 'teor/feature4483-v10-squashed' | Nick Mathewson | |
2015-12-16 | Prop210: Refactor connection_get_* to produce lists and counts | teor (Tim Wilson-Brown) | |
2015-12-15 | Replace usage of INLINE with inline | cypherpunks | |
This patch was generated using; sed -i -e "s/\bINLINE\b/inline/" src/*/*.[ch] src/*/*/*.[ch] | |||
2015-12-10 | Refactor clock skew warning code to avoid duplication | Arlo Breault | |
2015-08-23 | Unit test dns_resolve(), dns_clip_ttl(), dns_get_expiry_ttl(). | rl1987 | |
2015-01-29 | Restrict unix: addresses to control and socks for now | Nick Mathewson | |
2015-01-28 | Support connection_exit_connect() to AF_UNIX sockets | Andrea Shepard | |
2015-01-02 | Bump copyright dates to 2015, in case someday this matters. | Nick Mathewson | |
2014-10-30 | Silence spurious clang warnings | teor | |
Silence clang warnings under --enable-expensive-hardening, including: + implicit truncation of 64 bit values to 32 bit; + const char assignment to self; + tautological compare; and + additional parentheses around equality tests. (gcc uses these to silence assignment, so clang warns when they're present in an equality test. But we need to use extra parentheses in macros to isolate them from other code). |