Checkout
jerenkrantz
committed
on 29 Sep 04
Fix up nntp-like and content-length tests to pass.

* c-modules/nntp_like/mod_nntp_like.c: Add pre_connection hook so that the
timeout on … Show more
Fix up nntp-like and content-length tests to pass.

* c-modules/nntp_like/mod_nntp_like.c: Add pre_connection hook so that the

 timeout on the socket is set.  (NET_TIME which normally does this is a

 request filter); Minor style changes thrown in for good measure.

* t/protocol/nntp-like.t: Was t_cmp argument order swapped?  The debugging

 output makes no sense and leads me to believe they are reversed.

* t/apache/contentlength.t: Sending a blank C-L *should* generate a 413

 (not sure what I was thinking initially why a 200 is correct); flip t_cmp

 arguments and give a more descriptive error message.

Show less