Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
salcock committed Jun 13, 2023
2 parents dd72844 + d120f30 commit 12f7d3c
Show file tree
Hide file tree
Showing 9 changed files with 28 additions and 9 deletions.
1 change: 1 addition & 0 deletions .github/workflows/deb-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ jobs:
- amd64
target:
- "debian:buster"
- "debian:bookworm"
- "debian:bullseye"
- "ubuntu:jammy"
- "ubuntu:bionic"
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/rpm-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ jobs:
- amd64
target:
- "centos:7"
- "fedora:35"
- "fedora:36"
- "rockylinux:8.6"
- "rockylinux:9.0"
- "fedora:37"
- "fedora:38"
- "rockylinux:8"
- "rockylinux:9"


steps:
Expand Down
6 changes: 6 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
Version 4.2.5
=============
* HTTP: disconnect readers that are idle (or very slow) for
60 seconds to avoid hanging waiting for data that is unlikely to
ever arrive.

Version 4.2.4
=============
* Debian packaging has been modernised (thanks to Perry Lorier)
Expand Down
2 changes: 1 addition & 1 deletion README
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
WANDIO 4.2.4
WANDIO 4.2.5

---------------------------------------------------------------------------
Copyright (c) 2007-2022 The University of Waikato, Hamilton, New Zealand.
Expand Down
4 changes: 2 additions & 2 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
# Now you only need to update the version number in two places - below,
# and in the README

AC_INIT([wandio],[4.2.4],[[email protected]],[wandio])
AC_INIT([wandio],[4.2.5],[[email protected]],[wandio])

WANDIO_MAJOR=4
WANDIO_MID=2
WANDIO_MINOR=4
WANDIO_MINOR=5

# OpenSolaris hides libraries like libncurses in /usr/gnu/lib, which is not
# searched by default - add it to LDFLAGS so we at least have a chance of
Expand Down
7 changes: 7 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
libwandio1 (4.2.5-1) unstable; urgency=medium

* HTTP: disconnect the reader from server and return an error
if (next to) no data is received for a minute.

-- Shane Alcock <[email protected]> Tue, 13 Jun 2023 16:19:40 +1300

libwandio1 (4.2.4-1) unstable; urgency=medium

* writing: fix bugs with compression method detection based on file
Expand Down
2 changes: 1 addition & 1 deletion lib/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -73,5 +73,5 @@ libwandio_la_SOURCES=wandio.c ior-peek.c ior-stdio.c ior-thread.c \

AM_CPPFLAGS = @ADD_INCLS@
libwandio_la_LIBADD = @LIBWANDIO_LIBS@
libwandio_la_LDFLAGS=-version-info 6:4:0 @ADD_LDFLAGS@
libwandio_la_LDFLAGS=-version-info 6:5:0 @ADD_LDFLAGS@

2 changes: 2 additions & 0 deletions lib/ior-http.c
Original file line number Diff line number Diff line change
Expand Up @@ -330,6 +330,8 @@ io_t *init_io(io_t *io) {
curl_easy_setopt(DATA(io)->curl, CURLOPT_FOLLOWLOCATION, 1L);
curl_easy_setopt(DATA(io)->curl, CURLOPT_FAILONERROR, 1L);
curl_easy_setopt(DATA(io)->curl, CURLOPT_TCP_KEEPALIVE, 1L);
curl_easy_setopt(DATA(io)->curl, CURLOPT_LOW_SPEED_TIME, 60L);
curl_easy_setopt(DATA(io)->curl, CURLOPT_LOW_SPEED_LIMIT, 100L);
curl_easy_setopt(DATA(io)->curl, CURLOPT_USERAGENT, "wandio/"PACKAGE_VERSION);

/* for remote files, the buffer set to 2*CURL_MAX_WRITE_SIZE */
Expand Down
5 changes: 4 additions & 1 deletion rpm/libwandio1.spec
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Name: libwandio1
Version: 4.2.4
Version: 4.2.5
Release: 1%{?dist}
Summary: C Multi-Threaded File Compression and Decompression Library

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

%changelog
* Tue Jun 13 2023 Shane Alcock <[email protected]> - 4.2.5-1
- New upstream release (4.2.5)

* Fri Oct 21 2022 Shane Alcock <[email protected]> - 4.2.4-1
- New upstream release (4.2.4)

Expand Down

0 comments on commit 12f7d3c

Please sign in to comment.