Update slowhttptest to 1.8.2, and remove patch which was merged upstream.
This commit is contained in:
parent
d2a7d3c89a
commit
2e158eebad
@ -1,11 +1,10 @@
|
||||
# $OpenBSD: Makefile,v 1.17 2020/03/06 15:26:18 espie Exp $
|
||||
# $OpenBSD: Makefile,v 1.18 2020/08/26 21:06:42 fcambus Exp $
|
||||
|
||||
COMMENT= test tool for slow HTTP reads/posts
|
||||
|
||||
GH_ACCOUNT= shekyan
|
||||
GH_PROJECT= slowhttptest
|
||||
GH_TAGNAME= v1.8.1
|
||||
REVISION= 0
|
||||
GH_TAGNAME= v1.8.2
|
||||
|
||||
CATEGORIES= www security
|
||||
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (slowhttptest-1.8.1.tar.gz) = lfQ6GO+9+qCIrPDi1s4PxPT8M6dIbNU20yemunHeMOc=
|
||||
SIZE (slowhttptest-1.8.1.tar.gz) = 130942
|
||||
SHA256 (slowhttptest-1.8.2.tar.gz) = +qg9xF5VwoqI08ylPSkE1AWf5G2G7Kn95+6QYfN8DYA=
|
||||
SIZE (slowhttptest-1.8.2.tar.gz) = 131160
|
||||
|
@ -1,18 +0,0 @@
|
||||
$OpenBSD: patch-src_slowhttptest_cc,v 1.3 2019/11/08 15:59:28 fcambus Exp $
|
||||
|
||||
Check that the argument passed to freeaddrinfo(3) is not NULL.
|
||||
|
||||
Index: src/slowhttptest.cc
|
||||
--- src/slowhttptest.cc.orig
|
||||
+++ src/slowhttptest.cc
|
||||
@@ -152,7 +152,9 @@ SlowHTTPTest::SlowHTTPTest(int delay, int duration,
|
||||
}
|
||||
|
||||
SlowHTTPTest::~SlowHTTPTest() {
|
||||
- freeaddrinfo(addr_);
|
||||
+ if (addr_) {
|
||||
+ freeaddrinfo(addr_);
|
||||
+ }
|
||||
|
||||
for(std::vector<StatsDumper*>::iterator i = dumpers_.begin();
|
||||
i != dumpers_.end(); ++i) {
|
Loading…
x
Reference in New Issue
Block a user