156 |
"X-Bar: foo\r\n" |
"X-Bar: foo\r\n" |
157 |
"\r\n"; |
"\r\n"; |
158 |
} |
} |
159 |
else if (strcmp(url, "http://127.0.0.1:8000/overflow") == 0) { |
else if (strcmp(url, "http://127.0.0.1:8000/overflow") == 0 || strcmp(url, "/overflow") == 0) { |
160 |
message = "HTTP/1.1 200 OK\r\n" |
message = "HTTP/1.1 200 OK\r\n" |
161 |
"Connection: close\r\n" |
"Connection: close\r\n" |
162 |
"Content-type: text/html\r\n" |
"Content-type: text/html\r\n" |
169 |
"0\r\n" |
"0\r\n" |
170 |
"\r\n"; |
"\r\n"; |
171 |
} |
} |
172 |
else if (strcmp(url, "http://127.0.0.1:8000/multiple") == 0) { |
else if (strcmp(url, "http://127.0.0.1:8000/multiple") == 0 || strcmp(url, "/multiple") == 0) { |
173 |
message = "HTTP/1.1 200 OK\r\n" |
message = "HTTP/1.1 200 OK\r\n" |
174 |
"Connection: close\r\n" |
"Connection: close\r\n" |
175 |
"Content-type: text/html\r\n" |
"Content-type: text/html\r\n" |