diff options
author | Roger Dingledine <arma@torproject.org> | 2006-10-23 05:51:46 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2006-10-23 05:51:46 +0000 |
commit | 2a1c2947172998278e38050f17ad4857079e17e7 (patch) | |
tree | a182e4ac1be32a0b553ba6a624b933ab20195343 /src/or/main.c | |
parent | c804eea39dd91cdbeacba5698adafc0295a949bb (diff) | |
download | tor-2a1c2947172998278e38050f17ad4857079e17e7.tar.gz tor-2a1c2947172998278e38050f17ad4857079e17e7.zip |
implement a few status events, so we can make sure they work,
and so vidalia can start handling them if it wants.
svn:r8802
Diffstat (limited to 'src/or/main.c')
-rw-r--r-- | src/or/main.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/main.c b/src/or/main.c index b51028ca80..87dd579b21 100644 --- a/src/or/main.c +++ b/src/or/main.c @@ -140,6 +140,8 @@ connection_add(connection_t *conn) if (n_conns >= get_options()->_ConnLimit-1) { log_warn(LD_NET,"Failing because we have %d connections already. Please " "raise your ulimit -n.", n_conns); + control_event_general_status(LOG_WARN, "TOO_MANY_CONNECTIONS CURRENT=%d", + n_conns); return -1; } |