On Wed, Apr 14, 2010 at 07:14:50PM +0200, Hervé COMMOWICK wrote: > Hi HAProxy user's, > > On 04/13/2010 09:17 PM, Cyril Bonté wrote: > >This changes were introduced in 1.3.16 with this commit : > >http://haproxy.1wt.eu/git?p=haproxy-1.3.git;a=commit;h=55a8d0e1bb1507c7c80e812dff6e516e29f3c507 > >where a test on "PR_O_FORCE_CLO" was moved in session.c > Good find ! > > > >Maybe "option forceclose" should be automatically disabled in tcp mode, as > >it is done for "option httplog" and others since 1.3.23 (or maybe someone > >might also want it in tcp mode). > I don't think people want to use this in tcp mode as it is *only* http > related.
Indeed, but it can happen due to defaults sections. In 1.4.4, you'd get a warning and the option would be disabled anyway. I'll check in 1.3 if it's worth adding such tests, but I don't want to discourage 1.3 users from updating their version due to invasive warnings, and I will not release a version with just that. So maybe we'll add a few silent ignores in the config parser if it happens to be worth it. Regards, Willy

