Commit d213c950 authored by Michael Graff's avatar Michael Graff
Browse files

Fetch an URL that exists

parent 3467456a
......@@ -184,7 +184,7 @@ my_connect(isc_task_t *task, isc_event_t *event)
* Send a GET string, and set up to receive (and just display)
* the result.
*/
strcpy(buf, "GET /foo HTTP/1.1\r\nHost: www.flame.org\r\nConnection: Close\r\n\r\n");
strcpy(buf, "GET / HTTP/1.1\r\nHost: www.flame.org\r\nConnection: Close\r\n\r\n");
region.base = isc_mem_get(mctx, strlen(buf) + 1);
region.length = strlen(buf) + 1;
strcpy((char *)region.base, buf); /* strcpy is safe */
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment