On 10/2/07, Vasiljevic Zoran <[EMAIL PROTECTED]> wrote:
> hi Stephen,
>
> Begin forwarded message:
>
> > !     connPtr->responseLength = -1;  /* -1 == unknown (stream), 0
> > == zero bytes. */
>
>
> Allright. "-binary" option to ns_headers, no optional length arg.
> I can live with that.


The two aren't connected. -binary basically just says: don't munge the
mime-type (if given) with a charset declaration. ns_write happily
figures out your giving it binary data by itself.

You should never specify a length (it's there only for backwards compat.).


> Apropos new tests that use thread extension and thread::transfer
> command; this can be achieved with ns_chan command. Unless you took
> the former to test the latter, in which case I understand.


Oh. That's not a corner of the code I've really looked at.

Some one who uses the chan stuff should fix up those tests and add
some more to exercise ns_chan.

(hint hint...   :-)

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
naviserver-devel mailing list
naviserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/naviserver-devel

Reply via email to