aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2018-11-14Move buffers.c out of lib/containers to resolve a circularity.Nick Mathewson
2018-11-14Make memarea use smartlist_core, not container.Nick Mathewson
2018-11-14Merge branch 'maint-0.3.5'Nick Mathewson
2018-11-14Merge branch 'ticket27750_034_01_squashed' into maint-0.3.5Nick Mathewson
2018-11-14conn: Close the read side of a closing connection when write limit is reachedDavid Goulet
In conn_close_if_marked(), we can decide to keep a connection open that still has data to flush on the wire if it is being rate limited on the write side. However, in this process, we were also looking at the read() side which can still have token in its bucket and thus not stop the reading. This lead to a BUG() introduced in 0.3.4.1-alpha that was expecting the read side to be closed due to the rate limit but which only applies on the write side. This commit removes any bandwidth check on the read side and simply stop the read side on the connection regardless of the bucket state. If we keep the connection open to flush it out before close, we should not read anything. Fixes #27750 Signed-off-by: David Goulet <dgoulet@torproject.org>
2018-11-14Merge branch 'maint-0.3.5'Nick Mathewson
2018-11-14Merge remote-tracking branch 'teor/bug28441-035' into maint-0.3.5Nick Mathewson
2018-11-14Merge branch 'maint-0.3.5'Nick Mathewson
2018-11-14Merge branch 'maint-0.3.4' into maint-0.3.5Nick Mathewson
2018-11-14Merge branch 'maint-0.3.3' into maint-0.3.4Nick Mathewson
2018-11-14Work around check-spaces.Nick Mathewson
2018-11-14libtorrunner: fix memory leak in child() error pathMartin Kepplinger
This avoids leaking memory in case libtorrunner's child() function fails.
2018-11-14Merge branch 'maint-0.3.5'Nick Mathewson
2018-11-14log: stop talking about the Named flag in log messagesteor
Clients have ignored the Named flag since 0.3.2. Fixes bug 28441; bugfix on 0.3.2.1-alpha.
2018-11-14comment: circuit_list_path_impl() does not check Named any moreteor
2018-11-14comment: Fix a typo in nodes_in_same_family()teor
2018-11-13Merge branch 'maint-0.3.5'Nick Mathewson
2018-11-13Merge branch 'bug28183_029' into maint-0.3.5Nick Mathewson
2018-11-13Merge branch 'tor-github/pr/501'David Goulet
2018-11-13Merge branch 'maint-0.3.5'David Goulet
2018-11-13Merge branch 'tor-github/pr/487' into maint-0.3.5David Goulet
2018-11-13Comment for rend_cache_failure in feature/rend/rendcache.c: "usuable" should ↵Neel Chauhan
be "usable"
2018-11-13Merge branch 'maint-0.3.3' into maint-0.3.4Nick Mathewson
2018-11-13Merge branch 'maint-0.3.5'Nick Mathewson
2018-11-13Merge branch 'maint-0.3.4' into maint-0.3.5Nick Mathewson
2018-11-13Merge branch 'maint-0.2.9' into maint-0.3.3Nick Mathewson
2018-11-12Fix a compiler warning in aes.c.Nick Mathewson
Apparently some freebsd compilers can't tell that 'c' will never be used uninitialized. Fixes bug 28413; bugfix on 0.2.9.3-alpha when we added support for longer AES keys to this function.
2018-11-12seccomp2: Add "shutdown" to the list of permitted system calls.Nick Mathewson
We don't use this syscall, but openssl apparently does. (This syscall puts a socket into a half-closed state. Don't worry: It doesn't shut down the system or anything.) Fixes bug 28183; bugfix on 0.2.5.1-alpha where the sandbox was introduced.
2018-11-11Merge branch 'maint-0.3.3' into maint-0.3.4Nick Mathewson
2018-11-11Merge branch 'maint-0.3.5'Nick Mathewson
2018-11-11Merge branch 'maint-0.3.4' into maint-0.3.5Nick Mathewson
2018-11-11Merge branch 'maint-0.2.9' into maint-0.3.3Nick Mathewson
2018-11-11Fix a bug in usage of SSL_set1_groups_list()Nick Mathewson
Apparently, even though the manpage says it returns an int, it can return a long instead and cause a warning. Bug not in any released Tor. Part of #28399
2018-11-11Merge branch 'maint-0.3.5'Nick Mathewson
2018-11-11Merge branch 'maint-0.3.3' into maint-0.3.4Nick Mathewson
2018-11-11Merge branch 'maint-0.3.4' into maint-0.3.5Nick Mathewson
2018-11-11Merge branch 'maint-0.2.9' into maint-0.3.3Nick Mathewson
2018-11-11Update geoip and geoip6 to the November 6 2018 database.Karsten Loesing
2018-11-09Annotate subsystem list with their levels.Nick Mathewson
2018-11-09Merge branch 'subsystems'Nick Mathewson
2018-11-09Log before performing a subsystem operationNick Mathewson
2018-11-09Add list of levels in subsystem_list.cNick Mathewson
2018-11-09Rename subsystem callback functions to make them consistentNick Mathewson
2018-11-09fixup! Make initialization for the "err" library into a subsystem.Nick Mathewson
Check for failure to install backtrace handler.
2018-11-09Document that subsystem callbacks are optional.Nick Mathewson
2018-11-09Explain that configuration should happen elsewhere, but not init.Nick Mathewson
2018-11-09Merge branch 'maint-0.3.5'Nick Mathewson
2018-11-09Merge branch 'maint-0.3.3' into maint-0.3.4Nick Mathewson
2018-11-09Merge branch 'maint-0.3.4' into maint-0.3.5Nick Mathewson
2018-11-09Merge branch 'maint-0.2.9' into maint-0.3.3Nick Mathewson