1.86b: Auth header and time display fixes

- HTTP auth header value changed from "basic" to "Basic" to compensate for picky web frameworks.
- Minor fix to time display code.
This commit is contained in:
Steve Pinkham 2011-08-09 15:47:01 -04:00
parent 276ce8a5a8
commit 2b28b72176
3 changed files with 11 additions and 3 deletions

View File

@ -1,3 +1,11 @@
Version 1.86b:
--------------
- HTTP auth header value changed from "basic" to "Basic" to
compensate for picky web frameworks.
- Minor fix to time display code.
Version 1.85b:
--------------

View File

@ -20,7 +20,7 @@
#
PROGNAME = skipfish
VERSION = 1.85b
VERSION = 1.86b
OBJFILES = http_client.c database.c crawler.c analysis.c report.c
INCFILES = alloc-inl.h string-inl.h debug.h types.h http_client.h \

View File

@ -958,7 +958,7 @@ u8* build_request_data(struct http_request* req) {
lpb64 = b64_encode(lp, strlen((char*)lp));
ASD("Authorization: basic ");
ASD("Authorization: Basic ");
ASD(lpb64);
ASD("\r\n");
@ -2482,7 +2482,7 @@ void http_stats(u64 st_time) {
en_time = tv.tv_sec * 1000LL + tv.tv_usec / 1000;
SAY(cLBL "Scan statistics:\n\n"
cGRA " Scan time : " cNOR "%u:%02u:%02u.%04u\n"
cGRA " Scan time : " cNOR "%u:%02u:%02u.%03u\n"
cGRA " HTTP requests : " cNOR "%u (%.01f/s), %llu kB in, "
"%llu kB out (%.01f kB/s) \n"
cGRA " Compression : " cNOR "%llu kB in, %llu kB out "