1.52b: Fixed HTTP read loop after 1.48b.
This commit is contained in:
parent
9674a65163
commit
c4ad54fe2f
|
@ -1,3 +1,8 @@
|
|||
Version 1.52b:
|
||||
--------------
|
||||
|
||||
- Fixed HTTP read loop after 1.48b.
|
||||
|
||||
Version 1.51b:
|
||||
--------------
|
||||
|
||||
|
|
2
Makefile
2
Makefile
|
@ -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 \
|
||||
|
|
|
@ -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. */
|
||||
|
||||
|
|
Loading…
Reference in New Issue