summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2004-04-17 00:46:05 +0000
committerRoger Dingledine <arma@torproject.org>2004-04-17 00:46:05 +0000
commit8d62a36256972063dfe0454833a8a4d12d56e169 (patch)
treeade21948156f001ce9aad1e52e852f9ca6c09804 /src
parentf36d7b8fea2b6b5dfb94c8d5ca85bccbac09a7a1 (diff)
downloadtor-8d62a36256972063dfe0454833a8a4d12d56e169.tar.gz
tor-8d62a36256972063dfe0454833a8a4d12d56e169.zip
bugfix: when you sleep your hidden-service laptop, as soon
as it wakes up it tries to upload a service descriptor, but socketpair fails for some reason (localhost not up yet?) now we simply give up on that upload, and we'll try again later. svn:r1646
Diffstat (limited to 'src')
-rw-r--r--src/or/connection_edge.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/connection_edge.c b/src/or/connection_edge.c
index 43bf6d52e8..2b8ab08ea2 100644
--- a/src/or/connection_edge.c
+++ b/src/or/connection_edge.c
@@ -1043,8 +1043,8 @@ int connection_ap_make_bridge(char *address, uint16_t port) {
log_fn(LOG_INFO,"Making AP bridge to %s:%d ...",address,port);
if(tor_socketpair(AF_UNIX, SOCK_STREAM, 0, fd) < 0) {
- log(LOG_ERR, "Couldn't construct socketpair: %s", strerror(errno));
- exit(1);
+ log(LOG_WARN, "Couldn't construct socketpair (we're still working on this bug): %s", strerror(errno));
+ return -1;
}
set_socket_nonblocking(fd[0]);