summaryrefslogtreecommitdiff
path: root/src/c/http.c
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adam@chlipala.net>2014-11-16 13:39:18 -0500
committerGravatar Adam Chlipala <adam@chlipala.net>2014-11-16 13:39:18 -0500
commitb3f6f1c94a001205dd77ac2e5074e6cc4c300ffd (patch)
treec7199464ea21621f3a504c88a6725e69d3ed2aee /src/c/http.c
parenta167f651f6a12eab4772ab3cb16b63633e8c77ae (diff)
uw_remoteSock()
Diffstat (limited to 'src/c/http.c')
-rw-r--r--src/c/http.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/c/http.c b/src/c/http.c
index 9651a216..e6c7b1af 100644
--- a/src/c/http.c
+++ b/src/c/http.c
@@ -89,6 +89,8 @@ static void *worker(void *data) {
sock = uw_dequeue();
}
+ uw_set_remoteSock(ctx, sock);
+
qprintf("Handling connection with thread #%d.\n", me);
while (1) {