On 4/21/20 6:02 PM, Joe Orton wrote:
> On Tue, Apr 21, 2020 at 03:13:47PM +0100, Joe Orton wrote:
>> On Tue, Apr 21, 2020 at 03:37:04PM +0200, Ruediger Pluem wrote:
>>> Shouldn't that be argc < 2?
>>
>> It is < 3 to make the second arg truly optional, so a proto default is
>
> No, you were rig
On Tue, Apr 21, 2020 at 03:13:47PM +0100, Joe Orton wrote:
> On Tue, Apr 21, 2020 at 03:37:04PM +0200, Ruediger Pluem wrote:
> > Shouldn't that be argc < 2?
>
> It is < 3 to make the second arg truly optional, so a proto default is
No, you were right the logic was borked.
Updated patch which fi
On Tue, Apr 21, 2020 at 4:13 PM Joe Orton wrote:
>
> If it is safe to assume "=" can never appear in a
> protocol name, we could catch any proto with "=" and make that a config
> error again.
Looks sensible to me, the proto is supposed to be a scheme (so ALNUM
or [.+-], IIRC).
On Tue, Apr 21, 2020 at 2:53 PM Joe Orton wrote:
>
> Opinions? Is there still consensus that extending Listen like this is a
> good idea?
+1, nice.
I also like that we can set reuseport without ListenCoresBucketsRatio
> 0, both are orthogonal I think.
On Tue, Apr 21, 2020 at 03:37:04PM +0200, Ruediger Pluem wrote:
> Looks good in general apart from the comment below.
>
> On 4/21/20 2:53 PM, Joe Orton wrote:
> > @@ -1058,7 +1104,24 @@ AP_DECLARE_NONSTD(const char *)
> > ap_set_listener(cmd_parms *cmd, void *dummy,
> > return "Port must
Looks good in general apart from the comment below.
On 4/21/20 2:53 PM, Joe Orton wrote:
> @@ -1058,7 +1104,24 @@ AP_DECLARE_NONSTD(const char *)
> ap_set_listener(cmd_parms *cmd, void *dummy,
> return "Port must be specified";
> }
>
> -if (argc != 2) {
> +if (argc == 3) {
On Tue, Apr 21, 2020 at 3:12 PM Eric Covener wrote:
>
> On Tue, Apr 21, 2020 at 8:53 AM Joe Orton wrote:
> >
> > A previous conversation [1] about optionally enabling socket options for
> > Listen seemed to gain consensus around adding an optional argument,
> > rather than multiple alternative Li
On Tue, Apr 21, 2020 at 8:53 AM Joe Orton wrote:
>
> A previous conversation [1] about optionally enabling socket options for
> Listen seemed to gain consensus around adding an optional argument,
> rather than multiple alternative Listen-like directives.
>
> I've attached a patch based on work by
A previous conversation [1] about optionally enabling socket options for
Listen seemed to gain consensus around adding an optional argument,
rather than multiple alternative Listen-like directives.
I've attached a patch based on work by both Jan Kaluza and Lubos
Uhliarik which implements this,
On Mon, Apr 20, 2020 at 8:51 AM Ruediger Pluem:
>
> On 4/19/20 5:26 PM, Yann Ylavic wrote:
> > +
> > +/* Validate Host/Expect headers and select vhost. */
> > if (!ap_check_request_header(r)) {
> > access_status = r->status;
> > -goto die_early;
> > +goto die_befor
10 matches
Mail list logo