Update upstream source from tag 'upstream/0.5.38'
Update to upstream version '0.5.38'
with Debian dir 4266265c366eea07b8c8239b738abd89b5591276
Sascha Steinbiss
2 years ago
|
0 |
0.5.38 (30 Jun 2021)
|
|
1 |
--------------------
|
|
2 |
|
|
3 |
- consume empty lines when parsing chunks to avoid quadratic complexity
|
|
4 |
|
|
5 |
- autotools fix for cygwin
|
|
6 |
|
0 | 7 |
0.5.37 (2 March 2021)
|
1 | 8 |
---------------------
|
2 | 9 |
|
0 | 0 |
# This file is intended to be sourced by sh
|
1 | |
PKG_VERSION=0.5.37
|
|
1 |
PKG_VERSION=0.5.38
|
153 | 153 |
sinclude(m4/lib-link.m4)
|
154 | 154 |
sinclude(m4/lib-prefix.m4)
|
155 | 155 |
AM_ICONV
|
|
156 |
AM_CONDITIONAL([CYGWIN], [test x${OS_CYGWIN} = xtrue])
|
156 | 157 |
|
157 | 158 |
# iconvctl is not standard, it is defined only in GNU libiconv
|
158 | 159 |
AC_MSG_CHECKING(for iconvctl)
|
28 | 28 |
libhtp_la_SOURCES =
|
29 | 29 |
libhtp_la_LIBADD = libhtp-c.la lzma/liblzma-c.la
|
30 | 30 |
libhtp_la_LDFLAGS = -version-info $(GENERIC_LIBRARY_VERSION)
|
|
31 |
if CYGWIN
|
|
32 |
libhtp_la_LIBADD += $(LIBICONV)
|
|
33 |
libhtp_la_LDFLAGS += -no-undefined
|
|
34 |
endif
|
417 | 417 |
connp->out_chunked_length = htp_parse_chunked_length(data, len);
|
418 | 418 |
|
419 | 419 |
// empty chunk length line, lets try to continue
|
420 | |
if (connp->out_chunked_length == -1004)
|
|
420 |
if (connp->out_chunked_length == -1004) {
|
|
421 |
connp->out_current_consume_offset = connp->out_current_read_offset;
|
421 | 422 |
continue;
|
|
423 |
}
|
422 | 424 |
if (connp->out_chunked_length < 0) {
|
423 | 425 |
// reset out_current_read_offset so htp_connp_RES_BODY_IDENTITY_STREAM_CLOSE
|
424 | 426 |
// doesn't miss the first bytes
|