comparison src/c/http.c @ 1415:e65082d76d26

Only announce URI serving in standalone HTTP server (grandfathered into release!)
author Adam Chlipala <adam@chlipala.net>
date Sun, 23 Jan 2011 15:34:06 -0500
parents add5ae41969e
children 6365d10cd326
comparison
equal deleted inserted replaced
1414:8c017e9e410e 1415:e65082d76d26
190 s += 2; 190 s += 2;
191 } 191 }
192 192
193 uw_set_headers(ctx, get_header, headers); 193 uw_set_headers(ctx, get_header, headers);
194 194
195 printf("Serving URI %s....\n", path);
195 rr = uw_request(rc, ctx, method, path, query_string, body, back - body, 196 rr = uw_request(rc, ctx, method, path, query_string, body, back - body,
196 on_success, on_failure, 197 on_success, on_failure,
197 NULL, log_error, log_debug, 198 NULL, log_error, log_debug,
198 sock, uw_really_send, close); 199 sock, uw_really_send, close);
199 uw_send(ctx, sock); 200 uw_send(ctx, sock);