Am 04.03.2018 um 20:33 schrieb Yann Ylavic:
On Sun, Mar 4, 2018 at 8:27 PM, li...@rhsoft.net <li...@rhsoft.net> wrote:

that patchfile is unuseable for rpmbuild

+ echo 'Patch #4 (httpd-2.4.x-ab-nonblock_length.patch):'
Patch #4 (httpd-2.4.x-ab-nonblock_length.patch):
+ /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0
can't find file to patch at input line 5

It requires -p0 (instead of -p1).
Nevermind, does the attached one work?

confirmed, thanks

[root@testserver:~]$ rpm -q httpd
httpd-2.4.31-2.0.fc27.20180304.rh.sandybridge.x86_64

[root@testserver:~]$ ab -c 1 -n 10 https://www.google.com/
This is ApacheBench, Version 2.3 <$Revision: 1814468 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/

Benchmarking www.google.com (be patient).....done


Server Software:
Server Hostname:        www.google.com
Server Port:            443
SSL/TLS Protocol:       TLSv1.2,ECDHE-ECDSA-CHACHA20-POLY1305,256,256
TLS Server Name:        www.google.com

Document Path:          /
Document Length:        269 bytes

Concurrency Level:      1
Time taken for tests:   1.202 seconds
Complete requests:      10
Failed requests:        0
Non-2xx responses:      10
Total transferred:      6700 bytes
HTML transferred:       2690 bytes
Requests per second:    8.32 [#/sec] (mean)
Time per request:       120.213 [ms] (mean)
Time per request:       120.213 [ms] (mean, across all concurrent requests)
Transfer rate:          5.44 [Kbytes/sec] received

Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:       81   95  13.5     90     119
Processing:    19   25   7.1     21      40
Waiting:       19   24   7.2     21      40
Total:        103  120  17.0    114     159

Percentage of the requests served within a certain time (ms)
  50%    114
  66%    119
  75%    126
  80%    137
  90%    159
  95%    159
  98%    159
  99%    159
 100%    159 (longest request)

Reply via email to