Mercurial > urweb
comparison src/c/http.c @ 2073:1839df6ed755
uw_remoteSock()
author | Adam Chlipala <adam@chlipala.net> |
---|---|
date | Sun, 16 Nov 2014 13:39:18 -0500 |
parents | 739172204214 |
children | 3b4a5604ed97 |
comparison
equal
deleted
inserted
replaced
2072:d77b0665ba7c | 2073:1839df6ed755 |
---|---|
86 while (1) { | 86 while (1) { |
87 if (sock == 0) { | 87 if (sock == 0) { |
88 back = buf; | 88 back = buf; |
89 sock = uw_dequeue(); | 89 sock = uw_dequeue(); |
90 } | 90 } |
91 | |
92 uw_set_remoteSock(ctx, sock); | |
91 | 93 |
92 qprintf("Handling connection with thread #%d.\n", me); | 94 qprintf("Handling connection with thread #%d.\n", me); |
93 | 95 |
94 while (1) { | 96 while (1) { |
95 int r; | 97 int r; |