Test rig
Richard Kettlewell
rjk at greenend.org.uk
Fri Jul 10 15:23:58 UTC 2015
On 2015-07-05 21:51, Julien ÉLIE wrote:
> Hi Richard,
>
>>> https://github.com/ewxrjk/inntest
>
> That's a pretty useful work, thanks!
>
>
>> Now with HTML output, for example:
>>
>> http://www.greenend.org.uk/rjk/junk/news/innfeed.html
>
> Good to know that the outcome column is all OK.
> Regarding the response codes:
> - I think that's OK for 235 (article accepted) instead of 437 (rejected)
> for IHAVE commands in the examples you give (malformed From: and
> Expires: headers, and empty body) in order to be conservative in what
> has already been injected into Usenet.
>
> - Empty Followup-To: header with POST -> does the resulting article
> <4Dd2+P3h5tnpEkLjnDr9qhGr at test.terraraq.uk> contain that empty header?
> nnrpd normally removes it.
This is:
> - Malformed From: header with POST -> could you please tell what is the
> malformed header you tried? I think nnrpd should enforce a valid
> syntax, so this one is a real bug.
>
> - 435/438/439 instead of 501 to reject articles sent via
> IHAVE/CHECK/TAKETHIS is the right legacy behaviour. Doing otherwise
> would break backwards compatibility so it shouldn't be encouraged right
> now. Maybe in the future...
>
>
> Thanks again for your test rig!
>
More information about the inn-workers
mailing list