1.52b: Fixed HTTP read loop after 1.48b.

This commit is contained in:
Steve Pinkham 2010-07-27 11:17:52 -04:00
parent 9674a65163
commit c4ad54fe2f
3 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,8 @@
Version 1.52b:
--------------
- Fixed HTTP read loop after 1.48b.
Version 1.51b:
--------------

View File

@ -20,7 +20,7 @@
#
PROGNAME = skipfish
VERSION = 1.51b
VERSION = 1.52b
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

@ -2059,7 +2059,8 @@ SSL_read_more:
/* Retry reading until SSL_ERROR_WANT_READ. */
if (read_res && c->read_len < size_limit) goto SSL_read_more;
if (c->proto == PROTO_HTTPS &&
read_res && c->read_len < size_limit) goto SSL_read_more;
c->read_buf[c->read_len] = 0; /* NUL-terminate for sanity. */