Re: [PATCH] http: fix v1 protocol tests with apache httpd < 2.4
- From
Todd Zullinger <tmz@pobox.com>
- Date
- Jan 3, 2018, 00:39 UTC
- Message-ID
- <20180103003946.GC12108@zaya.teonanacatl.net>
- In-Reply-To
- <20180103002145.GA242551@google.com>
Brandon Williams wrote:
> Seems good to me. I think I was just being overly cautious when i was > implementing those patches. Thanks!
Cool, thanks for taking a look.
In this case, the test isn't dependent on apache > 2.4, but before I checked that I wondered if we had any way to run a test only if the apache version was greater or lesser than some release. Luckily, I didn't have to work out such a method. :)
I don't know if there's a clean way to do that automatically, short of parsing the output of 'httpd -v' should we ever need to add such a prereq.
--
Todd
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Sometimes you get the blues because your baby leaves you. Sometimes
you get'em 'cause she comes back.
-- B.B. King