aboutsummaryrefslogtreecommitdiff
path: root/src/or/connection.h
diff options
context:
space:
mode:
authorAndrea Shepard <andrea@torproject.org>2016-06-30 10:43:44 +0000
committerAndrea Shepard <andrea@torproject.org>2016-08-20 01:43:46 +0000
commit34d9d02150fc41107887c27900a62c4552578789 (patch)
tree27cc8a1e40cb98bb87d1488ea6a2bc92eb75190c /src/or/connection.h
parent1c0c0022d8199a9b998a0c4e13a85a382abf7fb0 (diff)
downloadtor-34d9d02150fc41107887c27900a62c4552578789.tar.gz
tor-34d9d02150fc41107887c27900a62c4552578789.zip
Stub out connection_handle_oos() and call it from places we can change the socket count or thresholds
Diffstat (limited to 'src/or/connection.h')
-rw-r--r--src/or/connection.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/connection.h b/src/or/connection.h
index f8e0f73246..4e8a740601 100644
--- a/src/or/connection.h
+++ b/src/or/connection.h
@@ -247,6 +247,8 @@ void clock_skew_warning(const connection_t *conn, long apparent_skew,
int trusted, log_domain_mask_t domain,
const char *received, const char *source);
+void connection_handle_oos(int n_socks, int failed);
+
#ifdef CONNECTION_PRIVATE
STATIC void connection_free_(connection_t *conn);