Skip to content

Commit 12f7d3c

Browse files
committed
Merge branch 'develop'
2 parents dd72844 + d120f30 commit 12f7d3c

File tree

9 files changed

+28
-9
lines changed

9 files changed

+28
-9
lines changed

.github/workflows/deb-build.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ jobs:
1717
- amd64
1818
target:
1919
- "debian:buster"
20+
- "debian:bookworm"
2021
- "debian:bullseye"
2122
- "ubuntu:jammy"
2223
- "ubuntu:bionic"

.github/workflows/rpm-build.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ jobs:
1717
- amd64
1818
target:
1919
- "centos:7"
20-
- "fedora:35"
21-
- "fedora:36"
22-
- "rockylinux:8.6"
23-
- "rockylinux:9.0"
20+
- "fedora:37"
21+
- "fedora:38"
22+
- "rockylinux:8"
23+
- "rockylinux:9"
2424

2525

2626
steps:

ChangeLog

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
Version 4.2.5
2+
=============
3+
* HTTP: disconnect readers that are idle (or very slow) for
4+
60 seconds to avoid hanging waiting for data that is unlikely to
5+
ever arrive.
6+
17
Version 4.2.4
28
=============
39
* Debian packaging has been modernised (thanks to Perry Lorier)

README

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
WANDIO 4.2.4
1+
WANDIO 4.2.5
22

33
---------------------------------------------------------------------------
44
Copyright (c) 2007-2022 The University of Waikato, Hamilton, New Zealand.

configure.ac

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
# Now you only need to update the version number in two places - below,
44
# and in the README
55

6-
AC_INIT([wandio],[4.2.4],[shane@alcock.co.nz],[wandio])
6+
AC_INIT([wandio],[4.2.5],[shane@alcock.co.nz],[wandio])
77

88
WANDIO_MAJOR=4
99
WANDIO_MID=2
10-
WANDIO_MINOR=4
10+
WANDIO_MINOR=5
1111

1212
# OpenSolaris hides libraries like libncurses in /usr/gnu/lib, which is not
1313
# searched by default - add it to LDFLAGS so we at least have a chance of

debian/changelog

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
libwandio1 (4.2.5-1) unstable; urgency=medium
2+
3+
* HTTP: disconnect the reader from server and return an error
4+
if (next to) no data is received for a minute.
5+
6+
-- Shane Alcock <shane@alcock.co.nz> Tue, 13 Jun 2023 16:19:40 +1300
7+
18
libwandio1 (4.2.4-1) unstable; urgency=medium
29

310
* writing: fix bugs with compression method detection based on file

lib/Makefile.am

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,5 +73,5 @@ libwandio_la_SOURCES=wandio.c ior-peek.c ior-stdio.c ior-thread.c \
7373

7474
AM_CPPFLAGS = @ADD_INCLS@
7575
libwandio_la_LIBADD = @LIBWANDIO_LIBS@
76-
libwandio_la_LDFLAGS=-version-info 6:4:0 @ADD_LDFLAGS@
76+
libwandio_la_LDFLAGS=-version-info 6:5:0 @ADD_LDFLAGS@
7777

lib/ior-http.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -330,6 +330,8 @@ io_t *init_io(io_t *io) {
330330
curl_easy_setopt(DATA(io)->curl, CURLOPT_FOLLOWLOCATION, 1L);
331331
curl_easy_setopt(DATA(io)->curl, CURLOPT_FAILONERROR, 1L);
332332
curl_easy_setopt(DATA(io)->curl, CURLOPT_TCP_KEEPALIVE, 1L);
333+
curl_easy_setopt(DATA(io)->curl, CURLOPT_LOW_SPEED_TIME, 60L);
334+
curl_easy_setopt(DATA(io)->curl, CURLOPT_LOW_SPEED_LIMIT, 100L);
333335
curl_easy_setopt(DATA(io)->curl, CURLOPT_USERAGENT, "wandio/"PACKAGE_VERSION);
334336

335337
/* for remote files, the buffer set to 2*CURL_MAX_WRITE_SIZE */

rpm/libwandio1.spec

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Name: libwandio1
2-
Version: 4.2.4
2+
Version: 4.2.5
33
Release: 1%{?dist}
44
Summary: C Multi-Threaded File Compression and Decompression Library
55

@@ -73,6 +73,9 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
7373
%{_bindir}/wandiocat
7474

7575
%changelog
76+
* Tue Jun 13 2023 Shane Alcock <shane@alcock.co.nz> - 4.2.5-1
77+
- New upstream release (4.2.5)
78+
7679
* Fri Oct 21 2022 Shane Alcock <shane@alcock.co.nz> - 4.2.4-1
7780
- New upstream release (4.2.4)
7881

0 commit comments

Comments
 (0)