const char response1_partial[] = "HTTP/1.1 206 Partial Content\r\n";
const char response2[] =
"Accept-rANGES: bytes\r\n" /* See RHBZ#1837337 */
- "Connection: keep-alive\r\n"
+ "Connection: close\r\n"
"Content-Type: application/octet-stream\r\n";
char response3[64];
const char response4[] = "\r\n";
static char rr = '1'; /* round robin '1', '2', '3' */
/* Note we send 302 (temporary redirect), same as Fedora's mirrorservice. */
const char found[] = "HTTP/1.1 302 Found\r\nContent-Length: 0\r\n";
- char location[] = "Location: /mirrorX\r\n";
+ char location[] =
+ "Location: /mirrorX\r\n"
+ "Connection: close\r\n";
const char eol[] = "\r\n";
location[17] = rr;
const char response1_partial[] = "HTTP/1.1 206 Partial Content\r\n";
const char response2[] =
"Accept-rANGES: bytes\r\n" /* See RHBZ#1837337 */
- "Connection: keep-alive\r\n"
+ "Connection: close\r\n"
"Content-Type: application/octet-stream\r\n";
char response3[64];
const char response4[] = "\r\n";