[or-cvs] Oops. Headers work better when named right.
Nick Mathewson
nickm at seul.org
Sat Jul 1 21:51:25 UTC 2006
Update of /home/or/cvsroot/tor/src/or
In directory moria:/tmp/cvs-serv31231/src/or
Modified Files:
directory.c
Log Message:
Oops. Headers work better when named right.
Index: directory.c
===================================================================
RCS file: /home/or/cvsroot/tor/src/or/directory.c,v
retrieving revision 1.386
retrieving revision 1.387
diff -u -p -d -r1.386 -r1.387
--- directory.c 30 Jun 2006 10:50:43 -0000 1.386
+++ directory.c 1 Jul 2006 21:51:21 -0000 1.387
@@ -1282,7 +1282,7 @@ write_http_response_header(connection_t
}
if (length >= 0) {
tor_snprintf(cp, sizeof(tmp)-(cp-tmp),
- "Content-Encoding: %ld\r\n", (long)length);
+ "Content-Length: %ld\r\n", (long)length);
cp += strlen(cp);
}
if (sizeof(tmp)-(cp-tmp) > 3)
More information about the tor-commits
mailing list